Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 104.3 kB / 19.76 MB, free: 1.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 217.8 kB / 23.07 MB, free: 4.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.7 MB / 256.9 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.8407/0.8407, allocations: 94.63 MB / 407.9 MB, free: 8.828 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleEngine") translateModel(ThermofluidStream.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleEngine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.242e-05, allocations: 2.281 kB / 0.5562 GB, free: 38.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.6646/0.6647, allocations: 224.4 MB / 0.7754 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06922/0.7339, allocations: 49.87 MB / 0.8241 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006742/0.7406, allocations: 109.9 kB / 0.8242 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01073/0.7513, allocations: 2.611 MB / 0.8268 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.03125/0.7826, allocations: 7.258 MB / 0.8338 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0248/0.8074, allocations: 6.453 MB / 0.8401 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01489/0.8223, allocations: 7.928 MB / 0.8479 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.8257, allocations: 1.048 MB / 0.8489 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02206/0.8478, allocations: 8.206 MB / 0.8569 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00696/0.8547, allocations: 2.532 MB / 0.8594 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.8567, allocations: 0.489 MB / 0.8599 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03151/0.8882, allocations: 10.15 MB / 0.8698 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of combineBinaries: time 0.01504/0.9033, allocations: 9.507 MB / 0.8791 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.008106/0.9114, allocations: 5.917 MB / 0.8848 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003311/0.9147, allocations: 476 kB / 0.8853 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.001352/0.916, allocations: 184.3 kB / 0.8855 GB, free: 8.414 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 (851) * Number of variables: 1040 (968) Notification: Performance of [SIM] Bindings: time 0.04711/0.9632, allocations: 27.71 MB / 0.9125 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of [SIM] FunctionAlias: time 0.007339/0.9705, allocations: 3.107 MB / 0.9156 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of [SIM] Early Inline: time 0.03514/1.006, allocations: 17.32 MB / 0.9325 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of [SIM] Simplify 1: time 0.006816/1.012, allocations: 1.92 MB / 0.9344 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of [SIM] Alias: time 0.02932/1.042, allocations: 14.38 MB / 0.9484 GB, free: 8.836 MB / 0.67 GB Notification: Performance of [SIM] Simplify 2: time 0.00508/1.047, allocations: 1.708 MB / 0.9501 GB, free: 7.023 MB / 0.67 GB Notification: Performance of [SIM] Remove Stream: time 0.002823/1.05, allocations: 1.251 MB / 0.9513 GB, free: 5.711 MB / 0.67 GB Notification: Performance of [SIM] Detect States: time 0.00634/1.056, allocations: 3.365 MB / 0.9546 GB, free: 2.305 MB / 0.67 GB Notification: Performance of [SIM] Events: time 0.002315/1.058, allocations: 0.9866 MB / 0.9555 GB, free: 1.355 MB / 0.67 GB Notification: Performance of [SIM] Partitioning: time 0.01426/1.073, allocations: 5.74 MB / 0.9611 GB, free: 11.49 MB / 0.6856 GB Error: Internal error NBDifferentiate.differentiateComponentRef failed for: switchConnector1.connectRearOutlet.outlet.state " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.729013532982208] Failed to read output from testmodel.py, exit status != 0: 1.1160127749899402 1.1347304409999999 0.21306146099999995 Calling exit ...