Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001629/0.001629, 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.001548/0.001548, allocations: 218.3 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.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 7.723 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.2305/0.2305, allocations: 46.95 MB / 361.6 MB, free: 3.871 MB / 286.1 MB " [Timeout remaining time 180] 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.TestValveLinear,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.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,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.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.898e-05/2.898e-05, allocations: 4.672 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2869/0.2869, allocations: 25.89 MB / 0.5227 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.3021, allocations: 11.79 MB / 0.5342 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.3026, allocations: 13.31 kB / 0.5342 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.3034, allocations: 222 kB / 0.5344 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.3153, allocations: 3.666 MB / 0.538 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007213/0.3225, allocations: 2.347 MB / 0.5403 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.3243, allocations: 1.174 MB / 0.5415 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005238/0.3248, allocations: 307.4 kB / 0.5418 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.3259, allocations: 0.5826 MB / 0.5423 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.3262, allocations: 296.2 kB / 0.5426 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.63e-05/0.3263, allocations: 33.66 kB / 0.5426 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01336/0.3397, allocations: 6.407 MB / 0.5489 GB, free: 7.887 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001149/0.3408, allocations: 0.8836 MB / 0.5498 GB, free: 7.281 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004677/0.3413, allocations: 0.5632 MB / 0.5503 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.3414, allocations: 47.16 kB / 0.5504 GB, free: 6.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.000162/0.3416, allocations: 9.188 kB / 0.5504 GB, free: 6.891 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.002285/0.3439, allocations: 2.381 MB / 0.5527 GB, free: 5.188 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001849/0.3441, allocations: 228.2 kB / 0.5529 GB, free: 4.992 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001935/0.346, allocations: 2.009 MB / 0.5549 GB, free: 3.516 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003549/0.3463, allocations: 262.3 kB / 0.5551 GB, free: 3.309 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001563/0.3479, allocations: 1.379 MB / 0.5565 GB, free: 2.176 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002858/0.3482, allocations: 264.2 kB / 0.5567 GB, free: 1.973 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001191/0.3483, allocations: 154.7 kB / 0.5569 GB, free: 1.828 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002386/0.3486, allocations: 359.8 kB / 0.5572 GB, free: 1.477 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.00029/0.3488, allocations: 238.8 kB / 0.5574 GB, free: 1.316 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005733/0.3494, allocations: 0.6533 MB / 0.5581 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001442/0.3509, allocations: 1.27 MB / 0.5593 GB, free: 324 kB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001665/0.3525, allocations: 1.484 MB / 0.5608 GB, free: 15.25 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.0009661/0.3535, allocations: 0.5878 MB / 0.5613 GB, free: 14.79 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.00198/0.3555, allocations: 1.783 MB / 0.5631 GB, free: 13.04 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 6.62e-05/0.3555, allocations: 32 kB / 0.5631 GB, free: 13 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0002616/0.3558, allocations: 247.8 kB / 0.5633 GB, free: 12.75 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.002214/0.358, allocations: 1.473 MB / 0.5648 GB, free: 11.27 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 3.828e-05/0.3581, allocations: 40 kB / 0.5648 GB, free: 11.23 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 4.8e-07/0.3581, allocations: 0 / 0.5648 GB, free: 11.23 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0006853/0.3587, allocations: 481.5 kB / 0.5653 GB, free: 10.72 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.125e-05/0.3587, allocations: 0.5 kB / 0.5653 GB, free: 10.72 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 4.725e-05/0.3588, allocations: 59.94 kB / 0.5653 GB, free: 10.66 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.155e-05/0.3588, allocations: 4 kB / 0.5653 GB, free: 10.66 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.002263/0.3611, allocations: 1.643 MB / 0.5669 GB, free: 9.035 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.001077/0.3622, allocations: 1.335 MB / 0.5682 GB, free: 7.469 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: ................. 21 (21) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $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.0001827/0.3623, allocations: 47.36 kB / 0.5683 GB, free: 7.426 MB / 398.1 MB Notification: Performance of SimCode: time 0.0279/0.3902, allocations: 8.948 MB / 0.577 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Templates: time 0.05335/0.4436, allocations: 35.14 MB / 0.6113 GB, free: 11.24 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.505918401002418] 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.4526382049662061 0.47067092 0.124711925 Calling exit ...