One of my sims felt the need to eat spoiled food called "disgusting food" by the moodlet. I love how it is called disgusting food. Now back on topic: she got the lovely nauseated moodlet. Toward the end of the 2 hours. I directed this sim to stand by the toilet to throw up in. Instead of vomiting in the toilet less than 1 meter from her, she ran downstairs went to the elevator (high rise apartment) ran just outside the lobby door, did some kind of angry rage thing, and then the vomit interaction disappeared without actually vomiting.
If my sims are too dumb to avoid food with green fumes coming from it, then I give up. Let them eat disgusting food.