Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.001672/0.001672, allocations: 104.3 kB / 19.77 MB, free: 2.043 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.001859/0.001859, allocations: 218.7 kB / 23.07 MB, free: 4.852 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.536/1.536, allocations: 230.7 MB / 256.9 MB, free: 7.723 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.8795/0.8795, allocations: 94.63 MB / 407.9 MB, free: 8.809 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.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_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_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.71e-05/2.71e-05, allocations: 4.797 kB / 0.5562 GB, free: 37.97 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.0498/0.04982, allocations: 49.09 MB / 0.6042 GB, free: 5.199 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0274/0.07723, allocations: 19.74 MB / 0.6234 GB, free: 3.758 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.0803, allocations: 103 kB / 0.6235 GB, free: 3.656 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00314/0.08344, allocations: 0.7875 MB / 0.6243 GB, free: 2.863 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00772/0.09116, allocations: 1.704 MB / 0.626 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00573/0.09689, allocations: 1.339 MB / 0.6273 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00687/0.1038, allocations: 3.215 MB / 0.6304 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.1049, allocations: 283.1 kB / 0.6307 GB, free: 12.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.1083, allocations: 1.323 MB / 0.632 GB, free: 10.95 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.1107, allocations: 0.874 MB / 0.6328 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003266/0.111, allocations: 128 kB / 0.633 GB, free: 9.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004877/0.1159, allocations: 1.244 MB / 0.6342 GB, free: 8.695 MB / 478.1 MB Notification: Performance of combineBinaries: time 0.004745/0.1206, allocations: 3.973 MB / 0.6381 GB, free: 4.68 MB / 478.1 MB Notification: Performance of replaceArrayConstructors: time 0.003045/0.1236, allocations: 2.667 MB / 0.6407 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.1243, allocations: 172 kB / 0.6408 GB, free: 1.812 MB / 478.1 MB Notification: Performance of FrontEnd: time 0.0006464/0.1249, allocations: 163.4 kB / 0.641 GB, free: 1.652 MB / 478.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.01121/0.1361, allocations: 8.581 MB / 0.6494 GB, free: 8.75 MB / 494.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001198/0.1373, allocations: 0.7802 MB / 0.6501 GB, free: 7.941 MB / 494.1 MB Notification: Performance of [SIM] Early Inline: time 0.004978/0.1423, allocations: 3.556 MB / 0.6536 GB, free: 4.32 MB / 494.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001301/0.1436, allocations: 0.5803 MB / 0.6542 GB, free: 3.633 MB / 494.1 MB Notification: Performance of [SIM] Alias: time 0.008781/0.1524, allocations: 5.268 MB / 0.6593 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of [SIM] Simplify 2: time 0.0009118/0.1533, allocations: 430.4 kB / 0.6597 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of [SIM] Remove Stream: time 0.0003483/0.1537, allocations: 268.1 kB / 0.66 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of [SIM] Detect States: time 0.0009106/0.1546, allocations: 0.5606 MB / 0.6605 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of [SIM] Events: time 0.0002512/0.1548, allocations: 108.3 kB / 0.6606 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of [SIM] Partitioning: time 0.001444/0.1563, allocations: 1.005 MB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of [SIM] Causalize: time 0.004001/0.1603, allocations: 2.415 MB / 0.664 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002007/0.1623, allocations: 1.707 MB / 0.6656 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.003807/0.1661, allocations: 1.892 MB / 0.6675 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.004055/0.1701, allocations: 3.444 MB / 0.6708 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0002261/0.1704, allocations: 76.05 kB / 0.6709 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.0006175/0.171, allocations: 0.4917 MB / 0.6714 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.007006/0.178, allocations: 3.788 MB / 0.6751 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0003587/0.1783, allocations: 235.2 kB / 0.6753 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.943e-06/0.1783, allocations: 0 / 0.6753 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.001732/0.1801, allocations: 0.9348 MB / 0.6762 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 1.975e-05/0.1801, allocations: 5.312 kB / 0.6762 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0002705/0.1804, allocations: 278.4 kB / 0.6765 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 3.311e-05/0.1804, allocations: 8 kB / 0.6765 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.004738/0.1851, allocations: 2.86 MB / 0.6793 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of [SIM] Jacobian: time 0.005691/0.1908, allocations: 4.722 MB / 0.6839 GB, free: 3.535 MB / 0.5137 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.0001811/0.191, allocations: 73 kB / 0.684 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01697/0.208, allocations: 7.91 MB / 0.6917 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of Templates: time 0.04516/0.2531, allocations: 23.28 MB / 0.7144 GB, free: 4.137 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] [Calling os._exit(0), Time elapsed: 7.052202127990313] Failed to read output from testmodel.py, exit status != 0: 0.2623491929844022 0.27829050099999997 0.149725942 Calling exit ...