Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.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.001321/0.001321, 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.001716/0.001716, allocations: 204.7 kB / 24.55 MB, free: 3.73 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2106/0.2106, allocations: 44.94 MB / 359.7 MB, free: 6.035 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.TestCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.787e-05, allocations: 5.234 kB / 0.4943 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2391/0.2391, allocations: 26.25 MB / 0.52 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01863/0.2577, allocations: 15.14 MB / 0.5347 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000554/0.2583, allocations: 17.91 kB / 0.5348 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007861/0.2591, allocations: 236.8 kB / 0.535 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01557/0.2746, allocations: 4.562 MB / 0.5394 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005835/0.2805, allocations: 1.856 MB / 0.5413 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.2821, allocations: 1.287 MB / 0.5425 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.2826, allocations: 351.3 kB / 0.5429 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.2837, allocations: 0.6418 MB / 0.5435 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.2874, allocations: 1.897 MB / 0.5453 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.785e-05/0.2875, allocations: 37.25 kB / 0.5454 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.2997, allocations: 6.661 MB / 0.5519 GB, free: 7.391 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0008284/0.3005, allocations: 1.011 MB / 0.5529 GB, free: 6.691 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002839/0.3008, allocations: 0.6128 MB / 0.5535 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3009, allocations: 51.56 kB / 0.5535 GB, free: 6.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001182/0.301, allocations: 23.16 kB / 0.5535 GB, free: 6.254 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: 78 (70) * Number of variables: 78 (78) Notification: Performance of [SIM] Bindings: time 0.001898/0.3029, allocations: 2.597 MB / 0.5561 GB, free: 4.41 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002107/0.3031, allocations: 278.3 kB / 0.5563 GB, free: 4.184 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.001724/0.3048, allocations: 2.212 MB / 0.5585 GB, free: 2.566 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003422/0.3052, allocations: 286.9 kB / 0.5588 GB, free: 2.348 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001524/0.3067, allocations: 1.519 MB / 0.5602 GB, free: 1.125 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002884/0.307, allocations: 276 kB / 0.5605 GB, free: 0.918 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001306/0.3071, allocations: 165.6 kB / 0.5607 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002588/0.3074, allocations: 391.2 kB / 0.561 GB, free: 400 kB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002639/0.3076, allocations: 235.7 kB / 0.5613 GB, free: 236 kB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007218/0.3084, allocations: 0.6735 MB / 0.5619 GB, free: 15.57 MB / 398.1 MB Notification: Performance of [SIM] Causalize: time 0.002043/0.3104, allocations: 1.401 MB / 0.5633 GB, free: 14.11 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001882/0.3123, allocations: 1.612 MB / 0.5649 GB, free: 12.49 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.00115/0.3134, allocations: 0.6646 MB / 0.5655 GB, free: 11.76 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.002218/0.3156, allocations: 1.965 MB / 0.5674 GB, free: 9.785 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 6.806e-05/0.3157, allocations: 32 kB / 0.5675 GB, free: 9.746 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0004228/0.3161, allocations: 403.6 kB / 0.5678 GB, free: 9.348 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.004668/0.3208, allocations: 3.385 MB / 0.5712 GB, free: 5.945 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 8.738e-05/0.3209, allocations: 103.9 kB / 0.5713 GB, free: 5.844 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 1.263e-06/0.3209, allocations: 0 / 0.5713 GB, free: 5.844 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0007202/0.3216, allocations: 487.3 kB / 0.5717 GB, free: 5.348 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 8.476e-06/0.3216, allocations: 0.5 kB / 0.5717 GB, free: 5.344 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 4.26e-05/0.3217, allocations: 71.88 kB / 0.5718 GB, free: 5.273 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.005e-05/0.3217, allocations: 8 kB / 0.5718 GB, free: 5.266 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.002634/0.3243, allocations: 1.94 MB / 0.5737 GB, free: 3.348 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009487/0.3253, allocations: 1.2 MB / 0.5749 GB, free: 1.949 MB / 398.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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_12, $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_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: ........... 70 (scalar:70, 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: ........... 91 (scalar:89, 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: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 91 (scalar:89, 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.0001594/0.3254, allocations: 71.45 kB / 0.5749 GB, free: 1.891 MB / 398.1 MB Notification: Performance of SimCode: time 0.02168/0.3471, allocations: 9.571 MB / 0.5843 GB, free: 8.25 MB / 414.1 MB Notification: Performance of Templates: time 0.05287/0.4, allocations: 37.56 MB / 0.621 GB, free: 2.668 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.268280074989889] 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', 'V1.minLimiter.y', 'SinkP1.ports[1].m_flow', 'SinkP1.ports[1].p', 'SinkP1.ports[1].h_outflow', 'downstreamPressure.y', 'const.y'] 0.4084421209990978 0.42234747300000003 0.11825482600000001 Calling exit ...