Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001575/0.001575, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001657/0.001657, allocations: 211 kB / 24.55 MB, free: 3.824 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.208/0.208, allocations: 44.94 MB / 359.7 MB, free: 6.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.655e-05, allocations: 4.812 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.03393/0.03395, allocations: 25.9 MB / 0.5196 GB, free: 48 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2725/0.3064, allocations: 11.77 MB / 0.5311 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004305/0.3068, allocations: 14.34 kB / 0.5311 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008885/0.3077, allocations: 223.1 kB / 0.5313 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.3201, allocations: 3.655 MB / 0.5349 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00685/0.327, allocations: 2.344 MB / 0.5372 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.3287, allocations: 1.178 MB / 0.5383 GB, free: 13.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005163/0.3293, allocations: 300.4 kB / 0.5386 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.3303, allocations: 0.5832 MB / 0.5392 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004244/0.3308, allocations: 290 kB / 0.5395 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.999e-05/0.3308, allocations: 34.47 kB / 0.5395 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01392/0.3447, allocations: 6.409 MB / 0.5458 GB, free: 11.07 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.00148/0.3462, allocations: 0.8685 MB / 0.5466 GB, free: 10.52 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004722/0.3467, allocations: 0.5498 MB / 0.5472 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.3468, allocations: 45.12 kB / 0.5472 GB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001546/0.347, allocations: 20.12 kB / 0.5472 GB, free: 10.16 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.002569/0.3496, allocations: 2.355 MB / 0.5495 GB, free: 8.574 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001749/0.3497, allocations: 233.1 kB / 0.5497 GB, free: 8.391 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001726/0.3515, allocations: 1.987 MB / 0.5517 GB, free: 7.012 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002841/0.3517, allocations: 248.6 kB / 0.5519 GB, free: 6.824 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001484/0.3532, allocations: 1.373 MB / 0.5533 GB, free: 5.727 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002685/0.3535, allocations: 252.9 kB / 0.5535 GB, free: 5.543 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000127/0.3536, allocations: 154.4 kB / 0.5536 GB, free: 5.402 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002455/0.3539, allocations: 362.6 kB / 0.554 GB, free: 5.062 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002814/0.3542, allocations: 237.6 kB / 0.5542 GB, free: 4.914 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005669/0.3547, allocations: 0.6346 MB / 0.5548 GB, free: 4.461 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001468/0.3562, allocations: 1.277 MB / 0.5561 GB, free: 3.949 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001103/0.3573, allocations: 1.477 MB / 0.5575 GB, free: 2.918 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0007568/0.358, allocations: 0.5862 MB / 0.5581 GB, free: 2.48 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.001317/0.3594, allocations: 1.748 MB / 0.5598 GB, free: 1.195 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 5.234e-05/0.3594, allocations: 36.58 kB / 0.5598 GB, free: 1.168 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0001737/0.3596, allocations: 246.9 kB / 0.5601 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.001638/0.3612, allocations: 1.475 MB / 0.5615 GB, free: 15.84 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 3.995e-05/0.3613, allocations: 44 kB / 0.5616 GB, free: 15.8 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 1.834e-06/0.3613, allocations: 4 kB / 0.5616 GB, free: 15.79 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006347/0.3619, allocations: 452.8 kB / 0.562 GB, free: 15.33 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.979e-06/0.3619, allocations: 4.5 kB / 0.562 GB, free: 15.32 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 4.199e-05/0.362, allocations: 63.94 kB / 0.5621 GB, free: 15.26 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.407e-05/0.362, allocations: 4 kB / 0.5621 GB, free: 15.25 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.002146/0.3641, allocations: 1.608 MB / 0.5636 GB, free: 13.68 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009688/0.3651, allocations: 1.331 MB / 0.5649 GB, free: 12.11 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.0001582/0.3653, allocations: 52.66 kB / 0.565 GB, free: 12.06 MB / 398.1 MB Notification: Performance of SimCode: time 0.02235/0.3876, allocations: 8.923 MB / 0.5737 GB, free: 3.066 MB / 398.1 MB Notification: Performance of Templates: time 0.05212/0.4397, allocations: 35.08 MB / 0.608 GB, free: 15.98 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.139155370998196] 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.44837381900288165 0.462768922 0.11222056000000001 Calling exit ...