[sim] add while to interactive_until