Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001666/0.001666, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001838/0.001838, allocations: 213.2 kB / 23.07 MB, free: 4.844 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.545/1.545, allocations: 230.7 MB / 256.9 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.937/0.937, allocations: 100.9 MB / 414.2 MB, free: 2.863 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.226e-05, allocations: 2.281 kB / 0.5654 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.05961/0.05963, allocations: 49.1 MB / 0.6133 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.09018, allocations: 19.73 MB / 0.6326 GB, free: 11.65 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/0.0937, allocations: 99.06 kB / 0.6327 GB, free: 11.55 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003094/0.09679, allocations: 0.7952 MB / 0.6334 GB, free: 10.75 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006915/0.1037, allocations: 1.7 MB / 0.6351 GB, free: 9.043 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.1086, allocations: 1.343 MB / 0.6364 GB, free: 7.695 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005741/0.1143, allocations: 3.211 MB / 0.6396 GB, free: 4.473 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009301/0.1153, allocations: 287.1 kB / 0.6398 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.1183, allocations: 1.327 MB / 0.6411 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.1198, allocations: 0.8701 MB / 0.642 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.12, allocations: 132 kB / 0.6421 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/0.124, allocations: 1.248 MB / 0.6433 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.003877/0.1279, allocations: 3.973 MB / 0.6472 GB, free: 12.55 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.002546/0.1304, allocations: 2.663 MB / 0.6498 GB, free: 9.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005789/0.131, allocations: 168 kB / 0.65 GB, free: 9.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 0.0006207/0.1316, allocations: 167.3 kB / 0.6501 GB, free: 9.531 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 (272) * Number of variables: 290 (290) Notification: Performance of [SIM] Bindings: time 0.009493/0.1411, allocations: 8.586 MB / 0.6585 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001047/0.1422, allocations: 0.7725 MB / 0.6593 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of [SIM] Early Inline: time 0.00419/0.1464, allocations: 3.563 MB / 0.6627 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 1: time 0.001121/0.1475, allocations: 0.5648 MB / 0.6633 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of [SIM] Alias: time 0.007892/0.1554, allocations: 5.277 MB / 0.6684 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.0007893/0.1562, allocations: 430.4 kB / 0.6689 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.0003312/0.1565, allocations: 268 kB / 0.6691 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of [SIM] Detect States: time 0.0006954/0.1572, allocations: 0.5684 MB / 0.6697 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of [SIM] Events: time 0.0002232/0.1574, allocations: 111.7 kB / 0.6698 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.001243/0.1587, allocations: 1.009 MB / 0.6708 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of [SIM] Causalize: time 0.00387/0.1625, allocations: 2.409 MB / 0.6731 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002133/0.1647, allocations: 1.71 MB / 0.6748 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of [INI] Simplify: time 0.004167/0.1688, allocations: 1.881 MB / 0.6766 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of [INI] Inline: time 0.004006/0.1728, allocations: 3.448 MB / 0.68 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of [INI] Partitioning: time 0.0001751/0.173, allocations: 72.06 kB / 0.6801 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of [INI] Cleanup: time 0.0005291/0.1735, allocations: 0.4995 MB / 0.6805 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of [INI] Causalize: time 0.00576/0.1793, allocations: 3.792 MB / 0.6842 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002637/0.1796, allocations: 224.9 kB / 0.6845 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.483e-06/0.1796, allocations: 0 / 0.6845 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.001412/0.181, allocations: 0.9461 MB / 0.6854 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 1.264e-05/0.181, allocations: 5.312 kB / 0.6854 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0002365/0.1812, allocations: 270.2 kB / 0.6856 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 2.836e-05/0.1813, allocations: 15.92 kB / 0.6857 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.0041/0.1854, allocations: 2.854 MB / 0.6884 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of [SIM] Jacobian: time 0.004973/0.1903, allocations: 4.721 MB / 0.6931 GB, free: 11.41 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 6 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {valveLinear.m_flow, valveParabolic.m_flow, valveEqualPercentage.m_flow} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 6 (6) {$FUN_1, $FUN_2, $FUN_3, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 136 (scalar:136, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:6) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 221 (scalar:221, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:6) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 3 (linear: 3, nonlinear:0) Notification: Performance of backend: time 0.0001221/0.1905, allocations: 73.12 kB / 0.6931 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01415/0.2046, allocations: 7.91 MB / 0.7009 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of Templates: time 0.04302/0.2476, allocations: 23.28 MB / 0.7236 GB, free: 12.01 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 7.012703867978416] Failed to read output from testmodel.py, exit status != 0: 0.25740774295991287 0.273664767 0.13841332799999995 Calling exit ...