add print trace stack before timeout
PartJobShop modified in order not to run optimization