Looks like you're advancing to time 9, then time 2. You can't go backwards in time, so all the remaining advance! calls are noops.