Echo diagnostic messages to stdout when in cosimulation mode.