Don't print a huge number if backgroundTimeRemaining is large.
It looks like the sim returns DBL_MAX.