Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.001435/0.001435, allocations: 104.3 kB / 20.52 MB, free: 1.293 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.001675/0.001675, allocations: 218.6 kB / 23.82 MB, free: 4.441 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 207.7 MB / 234.7 MB, free: 9.762 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2223/0.2223, allocations: 44.26 MB / 331.2 MB, free: 9.266 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.442e-05, allocations: 5.656 kB / 468.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.0337/0.03372, allocations: 25.77 MB / 494.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.05169, allocations: 11.77 MB / 0.4945 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003911/0.05208, allocations: 15.88 kB / 0.4945 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008488/0.05293, allocations: 234.5 kB / 0.4947 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.06537, allocations: 3.624 MB / 0.4983 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007335/0.0727, allocations: 2.348 MB / 0.5006 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.07444, allocations: 1.161 MB / 0.5017 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.07499, allocations: 297.3 kB / 0.502 GB, free: 6.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.07608, allocations: 0.5878 MB / 0.5026 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.0765, allocations: 282.8 kB / 0.5028 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.356e-05/0.07657, allocations: 39.98 kB / 0.5029 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/0.09033, allocations: 6.4 MB / 0.5091 GB, free: 15.18 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.001152/0.09148, allocations: 0.8671 MB / 0.51 GB, free: 14.3 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005619/0.09204, allocations: 0.5545 MB / 0.5105 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.09217, allocations: 48 kB / 0.5105 GB, free: 13.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.000137/0.0923, allocations: 15.88 kB / 0.5106 GB, free: 13.68 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 (65) * Number of variables: 73 (73) Notification: Performance of [SIM] Bindings: time 0.002922/0.09522, allocations: 2.337 MB / 0.5128 GB, free: 11.21 MB / 398.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002636/0.09549, allocations: 231.5 kB / 0.5131 GB, free: 10.97 MB / 398.1 MB Notification: Performance of [SIM] Early Inline: time 0.002737/0.09822, allocations: 1.991 MB / 0.515 GB, free: 8.953 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004155/0.09864, allocations: 247.6 kB / 0.5152 GB, free: 8.664 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.002485/0.1011, allocations: 1.383 MB / 0.5166 GB, free: 7.121 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003916/0.1015, allocations: 251.5 kB / 0.5168 GB, free: 6.824 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000191/0.1017, allocations: 144.3 kB / 0.517 GB, free: 6.656 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.0004274/0.1021, allocations: 359.2 kB / 0.5173 GB, free: 6.254 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.0003903/0.1025, allocations: 233.5 kB / 0.5175 GB, free: 6.027 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.0008577/0.1034, allocations: 0.6471 MB / 0.5182 GB, free: 5.316 MB / 398.1 MB Notification: Performance of [SIM] Causalize: time 0.001979/0.1054, allocations: 1.268 MB / 0.5194 GB, free: 3.977 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001789/0.1072, allocations: 1.479 MB / 0.5209 GB, free: 2.496 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.001032/0.1082, allocations: 0.5818 MB / 0.5214 GB, free: 1.844 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.001951/0.1101, allocations: 1.743 MB / 0.5231 GB, free: 100 kB / 398.1 MB Notification: Performance of [INI] Partitioning: time 6.132e-05/0.1102, allocations: 32 kB / 0.5232 GB, free: 60 kB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0002553/0.1104, allocations: 251.7 kB / 0.5234 GB, free: 15.81 MB / 414.1 MB Notification: Performance of [INI] Causalize: time 0.002289/0.1127, allocations: 1.469 MB / 0.5248 GB, free: 14.32 MB / 414.1 MB Notification: Performance of [INI] Tearing: time 3.879e-05/0.1128, allocations: 36 kB / 0.5249 GB, free: 14.29 MB / 414.1 MB Notification: Performance of [SIM] Initialization: time 8.606e-06/0.1128, allocations: 7.984 kB / 0.5249 GB, free: 14.28 MB / 414.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006564/0.1134, allocations: 465.5 kB / 0.5253 GB, free: 13.79 MB / 414.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.498e-06/0.1135, allocations: 4.5 kB / 0.5253 GB, free: 13.78 MB / 414.1 MB Notification: Performance of [SIM] Tearing: time 4.738e-05/0.1135, allocations: 63.94 kB / 0.5254 GB, free: 13.72 MB / 414.1 MB Notification: Performance of [SIM] Categorize: time 2.615e-05/0.1135, allocations: 4 kB / 0.5254 GB, free: 13.71 MB / 414.1 MB Notification: Performance of [SIM] Solve: time 0.002281/0.1158, allocations: 1.598 MB / 0.5269 GB, free: 12.12 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.001149/0.117, allocations: 1.351 MB / 0.5283 GB, free: 10.54 MB / 414.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 6 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 22 (22) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, Opening.y, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_2, $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: ........... 68 (scalar:68, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 82 (scalar:80, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.216e-05/0.117, allocations: 43.66 kB / 0.5283 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 0.024/0.141, allocations: 8.901 MB / 0.537 GB, free: 1.504 MB / 414.1 MB Notification: Performance of Templates: time 0.3403/0.4814, allocations: 35.01 MB / 0.5712 GB, free: 29.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.584168455039617] Failed to read output from testmodel.py, exit status != 0: ['time', 'SourceP1.ports[1].m_flow', 'SourceP1.ports[1].p', 'SourceP1.ports[1].h_outflow', 'V1.port_b.m_flow', 'V1.port_b.p', 'V1.port_b.h_outflow', 'SinkP1.ports[1].m_flow', 'SinkP1.ports[1].p', 'SinkP1.ports[1].h_outflow', 'Opening.y', 'downstreamPressure.y'] 0.4899173580342904 0.5004028150000001 0.405549021 Calling exit ...