Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001618/0.001618, 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.00175/0.00175, allocations: 211.2 kB / 24.55 MB, free: 3.746 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.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2219/0.2219, allocations: 46.97 MB / 361.7 MB, free: 4.02 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.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.457e-05, allocations: 2.281 kB / 0.4974 GB, free: 7.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.2755/0.2756, allocations: 26.24 MB / 0.523 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02005/0.2956, allocations: 15.14 MB / 0.5378 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006253/0.2962, allocations: 27.81 kB / 0.5378 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.297, allocations: 239.1 kB / 0.5381 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01446/0.3115, allocations: 4.556 MB / 0.5425 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005573/0.3171, allocations: 1.865 MB / 0.5443 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001651/0.3187, allocations: 1.29 MB / 0.5456 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.3192, allocations: 343 kB / 0.5459 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3203, allocations: 0.65 MB / 0.5466 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/0.3241, allocations: 1.891 MB / 0.5484 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3242, allocations: 38.22 kB / 0.5484 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/0.3363, allocations: 6.659 MB / 0.5549 GB, free: 3.965 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.0009482/0.3373, allocations: 1.013 MB / 0.5559 GB, free: 3.266 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002961/0.3376, allocations: 0.6271 MB / 0.5565 GB, free: 2.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.51e-05/0.3377, allocations: 45.62 kB / 0.5566 GB, free: 2.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001236/0.3378, allocations: 20.58 kB / 0.5566 GB, free: 2.824 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.001974/0.3398, allocations: 2.601 MB / 0.5591 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002241/0.34, allocations: 282.6 kB / 0.5594 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.0021/0.3421, allocations: 2.201 MB / 0.5616 GB, free: 15.12 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0004587/0.3426, allocations: 292.2 kB / 0.5618 GB, free: 14.9 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.002187/0.3447, allocations: 1.512 MB / 0.5633 GB, free: 13.3 MB / 398.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0003949/0.3451, allocations: 270.8 kB / 0.5636 GB, free: 13 MB / 398.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001913/0.3453, allocations: 172.2 kB / 0.5637 GB, free: 12.8 MB / 398.1 MB Notification: Performance of [SIM] Detect States: time 0.0004199/0.3457, allocations: 395.1 kB / 0.5641 GB, free: 12.36 MB / 398.1 MB Notification: Performance of [SIM] Events: time 0.0003698/0.3461, allocations: 232.9 kB / 0.5643 GB, free: 12.15 MB / 398.1 MB Notification: Performance of [SIM] Partitioning: time 0.000825/0.3469, allocations: 0.6812 MB / 0.565 GB, free: 11.41 MB / 398.1 MB Notification: Performance of [SIM] Causalize: time 0.002012/0.349, allocations: 1.397 MB / 0.5664 GB, free: 9.953 MB / 398.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00174/0.3507, allocations: 1.604 MB / 0.5679 GB, free: 8.348 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.001026/0.3517, allocations: 0.6584 MB / 0.5686 GB, free: 7.621 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.002071/0.3538, allocations: 1.961 MB / 0.5705 GB, free: 5.656 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 7.467e-05/0.3539, allocations: 43.97 kB / 0.5705 GB, free: 5.605 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0003752/0.3542, allocations: 403.6 kB / 0.5709 GB, free: 5.207 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.004549/0.3588, allocations: 3.388 MB / 0.5742 GB, free: 1.793 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 6.47e-05/0.3589, allocations: 95.94 kB / 0.5743 GB, free: 1.699 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 8.41e-07/0.3589, allocations: 0 / 0.5743 GB, free: 1.699 MB / 398.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.000679/0.3595, allocations: 480.8 kB / 0.5748 GB, free: 1.211 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.077e-05/0.3595, allocations: 4.5 kB / 0.5748 GB, free: 1.203 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 5.045e-05/0.3596, allocations: 71.94 kB / 0.5749 GB, free: 1.133 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.108e-05/0.3596, allocations: 7.984 kB / 0.5749 GB, free: 1.125 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.002645/0.3623, allocations: 1.943 MB / 0.5768 GB, free: 15.2 MB / 414.1 MB Notification: Performance of [SIM] Jacobian: time 0.0009288/0.3632, allocations: 1.208 MB / 0.5779 GB, free: 13.79 MB / 414.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.0001712/0.3634, allocations: 66.59 kB / 0.578 GB, free: 13.74 MB / 414.1 MB Notification: Performance of SimCode: time 0.02319/0.3865, allocations: 9.563 MB / 0.5873 GB, free: 4.094 MB / 414.1 MB Notification: Performance of Templates: time 0.05816/0.4447, allocations: 37.57 MB / 0.624 GB, free: 14.51 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.454901285003871] 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.45314475503982976 0.46697401800000005 0.126091442 Calling exit ...