Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.002013/0.002013, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 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.002051/0.002051, allocations: 221.1 kB / 24.5 MB, free: 3.922 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.675/1.675, 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.2731/0.2731, allocations: 46.96 MB / 361.6 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.358e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete): time 0.3072/0.3072, allocations: 25.88 MB / 0.5226 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.3252, allocations: 11.78 MB / 0.5341 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.3258, allocations: 14.12 kB / 0.5341 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009592/0.3267, allocations: 230.1 kB / 0.5343 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01728/0.344, allocations: 3.655 MB / 0.5379 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01096/0.355, allocations: 2.344 MB / 0.5401 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.3577, allocations: 1.182 MB / 0.5413 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.3585, allocations: 304.1 kB / 0.5416 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.3601, allocations: 0.5752 MB / 0.5422 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.3605, allocations: 306.1 kB / 0.5424 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.156e-05/0.3605, allocations: 34 kB / 0.5425 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.017/0.3775, allocations: 6.678 MB / 0.549 GB, free: 7.898 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001188/0.3787, allocations: 0.8836 MB / 0.5499 GB, free: 7.289 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003571/0.3791, allocations: 0.5464 MB / 0.5504 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.3792, allocations: 44.88 kB / 0.5504 GB, free: 6.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001409/0.3794, allocations: 19.03 kB / 0.5505 GB, free: 6.906 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.002189/0.3815, allocations: 2.317 MB / 0.5527 GB, free: 5.234 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001905/0.3817, allocations: 227 kB / 0.5529 GB, free: 5.043 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.0017/0.3834, allocations: 1.678 MB / 0.5546 GB, free: 3.789 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0003527/0.3838, allocations: 278.6 kB / 0.5548 GB, free: 3.562 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.001648/0.3854, allocations: 1.304 MB / 0.5561 GB, free: 2.469 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002562/0.3857, allocations: 252.2 kB / 0.5564 GB, free: 2.258 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001186/0.3858, allocations: 149.6 kB / 0.5565 GB, free: 2.117 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0002458/0.3861, allocations: 330.8 kB / 0.5568 GB, free: 1.789 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002799/0.3863, allocations: 227.3 kB / 0.557 GB, free: 1.641 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0005448/0.3869, allocations: 0.5928 MB / 0.5576 GB, free: 1.207 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001516/0.3884, allocations: 1.269 MB / 0.5588 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001186/0.3896, allocations: 1.28 MB / 0.5601 GB, free: 15.72 MB / 398.1 MB Notification: Performance of [INI] Simplify: time 0.00104/0.3906, allocations: 0.6147 MB / 0.5607 GB, free: 15.23 MB / 398.1 MB Notification: Performance of [INI] Inline: time 0.00239/0.393, allocations: 2.073 MB / 0.5627 GB, free: 13.54 MB / 398.1 MB Notification: Performance of [INI] Partitioning: time 6.895e-05/0.3931, allocations: 39.92 kB / 0.5628 GB, free: 13.5 MB / 398.1 MB Notification: Performance of [INI] Cleanup: time 0.0002836/0.3934, allocations: 275.8 kB / 0.563 GB, free: 13.23 MB / 398.1 MB Notification: Performance of [INI] Causalize: time 0.002306/0.3957, allocations: 1.512 MB / 0.5645 GB, free: 11.7 MB / 398.1 MB Notification: Performance of [INI] Tearing: time 4.139e-05/0.3957, allocations: 44 kB / 0.5645 GB, free: 11.66 MB / 398.1 MB Notification: Performance of [SIM] Initialization: time 8.11e-07/0.3957, allocations: 0 / 0.5645 GB, free: 11.66 MB / 398.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.429e-05/0.3957, allocations: 4.5 kB / 0.5645 GB, free: 11.65 MB / 398.1 MB Notification: Performance of [SIM] Tearing: time 2.529e-05/0.3958, allocations: 32 kB / 0.5646 GB, free: 11.62 MB / 398.1 MB Notification: Performance of [SIM] Categorize: time 2.531e-05/0.3958, allocations: 15.94 kB / 0.5646 GB, free: 11.61 MB / 398.1 MB Notification: Performance of [SIM] Solve: time 0.001321/0.3971, allocations: 0.8964 MB / 0.5655 GB, free: 10.71 MB / 398.1 MB Notification: Performance of [SIM] Jacobian: time 1.434e-05/0.3971, allocations: 4 kB / 0.5655 GB, free: 10.71 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.000154/0.3973, allocations: 49.39 kB / 0.5655 GB, free: 10.67 MB / 398.1 MB Notification: Performance of SimCode: time 0.02297/0.4202, allocations: 8.342 MB / 0.5737 GB, free: 2.297 MB / 398.1 MB Notification: Performance of Templates: time 0.05271/0.4729, allocations: 34.12 MB / 0.607 GB, free: 160 kB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.690550221130252] 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.482200619764626 0.498209614 0.11532310500000001 Calling exit ...