Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001342/0.001342, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.001658/0.001658, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.445/1.445, allocations: 230.7 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 46.98 MB / 361.7 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.237e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.3024/0.3024, allocations: 25.88 MB / 0.5227 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.3182, allocations: 11.79 MB / 0.5342 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005373/0.3187, allocations: 13.56 kB / 0.5342 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008792/0.3196, allocations: 228.7 kB / 0.5344 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01262/0.3322, allocations: 3.648 MB / 0.538 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007829/0.34, allocations: 2.35 MB / 0.5403 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.342, allocations: 1.177 MB / 0.5414 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009245/0.3429, allocations: 303.4 kB / 0.5417 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.3445, allocations: 0.5775 MB / 0.5423 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.3452, allocations: 292.9 kB / 0.5426 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.689e-05/0.3453, allocations: 34.03 kB / 0.5426 GB, free: 11.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.3593, allocations: 6.408 MB / 0.5488 GB, free: 8.156 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001689/0.361, allocations: 0.876 MB / 0.5497 GB, free: 7.555 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000589/0.3616, allocations: 0.5512 MB / 0.5502 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.3619, allocations: 44.91 kB / 0.5503 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001286/0.362, allocations: 14.97 kB / 0.5503 GB, free: 7.172 MB / 382.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.002576/0.3646, allocations: 2.358 MB / 0.5526 GB, free: 5.484 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002579/0.3648, allocations: 228.5 kB / 0.5528 GB, free: 5.289 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.002157/0.367, allocations: 1.985 MB / 0.5548 GB, free: 3.828 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002943/0.3673, allocations: 260.5 kB / 0.555 GB, free: 3.625 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001554/0.3688, allocations: 1.374 MB / 0.5563 GB, free: 2.492 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002538/0.3691, allocations: 254.4 kB / 0.5566 GB, free: 2.293 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001157/0.3692, allocations: 151.8 kB / 0.5567 GB, free: 2.152 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002397/0.3694, allocations: 358.6 kB / 0.5571 GB, free: 1.801 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002662/0.3697, allocations: 235.5 kB / 0.5573 GB, free: 1.645 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005242/0.3702, allocations: 0.6336 MB / 0.5579 GB, free: 1.176 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001374/0.3716, allocations: 1.277 MB / 0.5592 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001314/0.3729, allocations: 1.472 MB / 0.5606 GB, free: 15.59 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.0009663/0.3739, allocations: 0.5933 MB / 0.5612 GB, free: 15.13 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.001812/0.3757, allocations: 1.749 MB / 0.5629 GB, free: 13.47 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 6.073e-05/0.3758, allocations: 32 kB / 0.5629 GB, free: 13.43 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0002406/0.376, allocations: 251.8 kB / 0.5632 GB, free: 13.19 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.002082/0.3781, allocations: 1.469 MB / 0.5646 GB, free: 11.71 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 4.36e-05/0.3781, allocations: 48 kB / 0.5646 GB, free: 11.66 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 6.01e-07/0.3781, allocations: 0 / 0.5646 GB, free: 11.66 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005883/0.3787, allocations: 437.6 kB / 0.5651 GB, free: 11.2 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.508e-05/0.3787, allocations: 8.438 kB / 0.5651 GB, free: 11.19 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 4.107e-05/0.3788, allocations: 56 kB / 0.5651 GB, free: 11.13 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.034e-05/0.3788, allocations: 7.938 kB / 0.5651 GB, free: 11.12 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.002114/0.3809, allocations: 1.613 MB / 0.5667 GB, free: 9.535 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.00103/0.3819, allocations: 1.342 MB / 0.568 GB, free: 7.961 MB / 398.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 0.0001666/0.3821, allocations: 40.78 kB / 0.5681 GB, free: 7.918 MB / 398.1 MB Notification: Performance of SimCode: time 0.02273/0.4048, allocations: 8.936 MB / 0.5768 GB, free: 14.9 MB / 414.1 MB Notification: Performance of Templates: time 0.05411/0.4589, allocations: 35.07 MB / 0.611 GB, free: 11.8 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.374946372001432] 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.46767353400355205 0.48156667300000006 0.116389167 Calling exit ...