Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.001316/0.001316, 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.001537/0.001537, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.449/1.449, allocations: 230.6 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.2209/0.2209, allocations: 46.97 MB / 361.7 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.242e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.238 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2724/0.2724, allocations: 25.9 MB / 0.5227 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.2868, allocations: 11.79 MB / 0.5342 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.2872, allocations: 17.59 kB / 0.5342 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007424/0.2879, allocations: 220.8 kB / 0.5344 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.2986, allocations: 3.662 MB / 0.538 GB, free: 12.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006488/0.3051, allocations: 2.349 MB / 0.5403 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001645/0.3067, allocations: 1.175 MB / 0.5414 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004825/0.3072, allocations: 306.2 kB / 0.5417 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009265/0.3081, allocations: 0.5773 MB / 0.5423 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.3085, allocations: 295.2 kB / 0.5426 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.3086, allocations: 35.28 kB / 0.5426 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.3196, allocations: 6.41 MB / 0.5489 GB, free: 8.148 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0007553/0.3203, allocations: 0.8799 MB / 0.5497 GB, free: 7.547 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002694/0.3206, allocations: 0.5671 MB / 0.5503 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.529e-05/0.3207, allocations: 44.81 kB / 0.5503 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.649e-05/0.3208, allocations: 11.5 kB / 0.5503 GB, free: 7.152 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.001782/0.3226, allocations: 2.378 MB / 0.5527 GB, free: 5.453 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001531/0.3227, allocations: 236.6 kB / 0.5529 GB, free: 5.25 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001554/0.3243, allocations: 2.006 MB / 0.5548 GB, free: 3.777 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002672/0.3246, allocations: 259.3 kB / 0.5551 GB, free: 3.57 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001341/0.3259, allocations: 1.376 MB / 0.5564 GB, free: 2.441 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00025/0.3262, allocations: 264.8 kB / 0.5567 GB, free: 2.238 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001117/0.3263, allocations: 148.5 kB / 0.5568 GB, free: 2.102 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002308/0.3265, allocations: 365.4 kB / 0.5572 GB, free: 1.742 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002665/0.3268, allocations: 238.6 kB / 0.5574 GB, free: 1.59 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004921/0.3273, allocations: 0.6507 MB / 0.558 GB, free: 1.105 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001267/0.3285, allocations: 1.266 MB / 0.5593 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001222/0.3297, allocations: 1.497 MB / 0.5607 GB, free: 15.51 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.0008733/0.3306, allocations: 0.5864 MB / 0.5613 GB, free: 15.05 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.001839/0.3325, allocations: 1.783 MB / 0.5631 GB, free: 13.34 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 5.98e-05/0.3325, allocations: 32 kB / 0.5631 GB, free: 13.3 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0002344/0.3327, allocations: 247.8 kB / 0.5633 GB, free: 13.05 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.002009/0.3348, allocations: 1.473 MB / 0.5648 GB, free: 11.57 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 3.539e-05/0.3348, allocations: 44 kB / 0.5648 GB, free: 11.53 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 6.41e-07/0.3348, allocations: 0 / 0.5648 GB, free: 11.53 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0005891/0.3354, allocations: 466 kB / 0.5652 GB, free: 11.04 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.347e-06/0.3354, allocations: 4.5 kB / 0.5653 GB, free: 11.04 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 4.046e-05/0.3354, allocations: 59.94 kB / 0.5653 GB, free: 10.98 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 1.632e-05/0.3354, allocations: 4 kB / 0.5653 GB, free: 10.97 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.002135/0.3376, allocations: 1.644 MB / 0.5669 GB, free: 9.352 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.001001/0.3386, allocations: 1.342 MB / 0.5682 GB, free: 7.777 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.000146/0.3387, allocations: 44.84 kB / 0.5683 GB, free: 7.73 MB / 398.1 MB Notification: Performance of SimCode: time 0.0204/0.3591, allocations: 8.952 MB / 0.577 GB, free: 14.7 MB / 414.1 MB Notification: Performance of Templates: time 0.04869/0.4078, allocations: 35.13 MB / 0.6113 GB, free: 11.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.353683732973877] 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.4164010910317302 0.42952801799999996 0.10583153000000001 Calling exit ...