print return value from read on bluesim trace