Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 107.6 kB / 21.25 MB, free: 0.5625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 219.1 kB / 24.55 MB, free: 3.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 230.5 MB / 258.2 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2695/0.2695, allocations: 46.94 MB / 361.6 MB, free: 3.895 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.074e-05/2.074e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.2824/0.2824, allocations: 25.89 MB / 0.5227 GB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.2976, allocations: 11.78 MB / 0.5342 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004066/0.298, allocations: 21.91 kB / 0.5342 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007489/0.2987, allocations: 225.7 kB / 0.5344 GB, free: 13.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.3103, allocations: 3.657 MB / 0.538 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00703/0.3173, allocations: 2.34 MB / 0.5403 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.3193, allocations: 1.175 MB / 0.5414 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006413/0.3199, allocations: 303.5 kB / 0.5417 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.3212, allocations: 0.5863 MB / 0.5423 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004578/0.3217, allocations: 282.9 kB / 0.5426 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.3218, allocations: 38.31 kB / 0.5426 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.3351, allocations: 6.411 MB / 0.5489 GB, free: 7.941 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001294/0.3364, allocations: 0.8718 MB / 0.5497 GB, free: 7.344 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.000329/0.3367, allocations: 0.5551 MB / 0.5503 GB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.3368, allocations: 45.69 kB / 0.5503 GB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001169/0.337, allocations: 11.44 kB / 0.5503 GB, free: 6.961 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.002062/0.339, allocations: 2.363 MB / 0.5526 GB, free: 5.27 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002208/0.3392, allocations: 222.5 kB / 0.5528 GB, free: 5.078 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001956/0.3412, allocations: 1.984 MB / 0.5548 GB, free: 3.617 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003055/0.3415, allocations: 257.6 kB / 0.555 GB, free: 3.414 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001512/0.343, allocations: 1.373 MB / 0.5564 GB, free: 2.285 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003122/0.3433, allocations: 262.5 kB / 0.5566 GB, free: 2.082 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001324/0.3435, allocations: 153.1 kB / 0.5568 GB, free: 1.938 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.000272/0.3437, allocations: 354.5 kB / 0.5571 GB, free: 1.59 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002821/0.344, allocations: 238.2 kB / 0.5573 GB, free: 1.43 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005805/0.3446, allocations: 0.6423 MB / 0.5579 GB, free: 0.957 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001655/0.3462, allocations: 1.277 MB / 0.5592 GB, free: 444 kB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001448/0.3477, allocations: 1.461 MB / 0.5606 GB, free: 15.38 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.000999/0.3487, allocations: 0.5898 MB / 0.5612 GB, free: 14.92 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.002104/0.3508, allocations: 1.749 MB / 0.5629 GB, free: 13.23 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 7.87e-05/0.3509, allocations: 36 kB / 0.5629 GB, free: 13.19 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0003209/0.3512, allocations: 247.8 kB / 0.5632 GB, free: 12.95 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.002294/0.3535, allocations: 1.469 MB / 0.5646 GB, free: 11.46 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 3.744e-05/0.3535, allocations: 44 kB / 0.5647 GB, free: 11.42 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 8.52e-07/0.3535, allocations: 7.938 kB / 0.5647 GB, free: 11.41 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006845/0.3542, allocations: 451.5 kB / 0.5651 GB, free: 10.94 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.898e-06/0.3542, allocations: 0.5 kB / 0.5651 GB, free: 10.93 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 4.688e-05/0.3543, allocations: 67.94 kB / 0.5652 GB, free: 10.87 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.416e-05/0.3543, allocations: 7.938 kB / 0.5652 GB, free: 10.86 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.002288/0.3566, allocations: 1.592 MB / 0.5667 GB, free: 9.285 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.001156/0.3577, allocations: 1.335 MB / 0.568 GB, free: 7.719 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.0001585/0.3579, allocations: 42.72 kB / 0.5681 GB, free: 7.68 MB / 398.1 MB Notification: Performance of SimCode: time 0.02377/0.3817, allocations: 8.935 MB / 0.5768 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Templates: time 0.056/0.4377, allocations: 35.09 MB / 0.6111 GB, free: 11.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.5501088440069] 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.44648214598419145 0.46187895300000004 0.121625567 Calling exit ...