Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.001532/0.001532, allocations: 99.64 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.001928/0.001928, 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.394/1.394, allocations: 230.7 MB / 258.4 MB, free: 7.719 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.2284/0.2284, allocations: 44.94 MB / 359.7 MB, free: 6.016 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.TestValveIncompressible,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|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,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|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/2.904e-05, allocations: 6.219 kB / 0.4943 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.2444/0.2444, allocations: 58.95 MB / 0.5519 GB, free: 3.246 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02855/0.2729, allocations: 22.2 MB / 0.5736 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.2742, allocations: 57.66 kB / 0.5736 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.2761, allocations: 0.6647 MB / 0.5743 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.288, allocations: 4.7 MB / 0.5789 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01273/0.3007, allocations: 4.586 MB / 0.5833 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005328/0.306, allocations: 3.713 MB / 0.587 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.3075, allocations: 0.962 MB / 0.5879 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.3106, allocations: 1.605 MB / 0.5895 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001522/0.3121, allocations: 0.8559 MB / 0.5903 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.3123, allocations: 108 kB / 0.5904 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01437/0.3267, allocations: 7.246 MB / 0.5975 GB, free: 11.6 MB / 430.1 MB Notification: Performance of combineBinaries: time 0.002757/0.3294, allocations: 2.66 MB / 0.6001 GB, free: 8.914 MB / 430.1 MB Notification: Performance of replaceArrayConstructors: time 0.001293/0.3307, allocations: 1.668 MB / 0.6017 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002908/0.331, allocations: 132 kB / 0.6018 GB, free: 7.098 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0002566/0.3313, allocations: 55.72 kB / 0.6019 GB, free: 7.043 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 (202) * Number of variables: 226 (226) Notification: Performance of [SIM] Bindings: time 0.006645/0.3379, allocations: 6.61 MB / 0.6084 GB, free: 228 kB / 430.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006924/0.3386, allocations: 0.6594 MB / 0.609 GB, free: 15.54 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.007412/0.346, allocations: 6.314 MB / 0.6152 GB, free: 9.18 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001076/0.3471, allocations: 0.6047 MB / 0.6158 GB, free: 8.516 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.005733/0.3528, allocations: 4.174 MB / 0.6198 GB, free: 3.93 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009667/0.3538, allocations: 0.6184 MB / 0.6204 GB, free: 3.258 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004933/0.3543, allocations: 431.9 kB / 0.6209 GB, free: 2.797 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.001028/0.3553, allocations: 0.9775 MB / 0.6218 GB, free: 1.758 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.0009698/0.3563, allocations: 0.7014 MB / 0.6225 GB, free: 1.078 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.00237/0.3586, allocations: 2.131 MB / 0.6246 GB, free: 14.7 MB / 462.1 MB Notification: Performance of [SIM] Causalize: time 0.005497/0.3641, allocations: 4.042 MB / 0.6285 GB, free: 10.38 MB / 462.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004747/0.3689, allocations: 4.701 MB / 0.6331 GB, free: 5.68 MB / 462.1 MB Notification: Performance of [INI] Simplify: time 0.002834/0.3717, allocations: 1.751 MB / 0.6348 GB, free: 3.723 MB / 462.1 MB Notification: Performance of [INI] Inline: time 0.005781/0.3775, allocations: 5.687 MB / 0.6404 GB, free: 14.02 MB / 478.1 MB Notification: Performance of [INI] Partitioning: time 0.0002136/0.3777, allocations: 92.62 kB / 0.6405 GB, free: 13.89 MB / 478.1 MB Notification: Performance of [INI] Cleanup: time 0.001194/0.3789, allocations: 1.152 MB / 0.6416 GB, free: 12.73 MB / 478.1 MB Notification: Performance of [INI] Causalize: time 0.01419/0.3931, allocations: 9.558 MB / 0.6509 GB, free: 2.848 MB / 478.1 MB Notification: Performance of [INI] Tearing: time 0.0002162/0.3933, allocations: 275.9 kB / 0.6512 GB, free: 2.578 MB / 478.1 MB Notification: Performance of [SIM] Initialization: time 2.614e-06/0.3933, allocations: 4 kB / 0.6512 GB, free: 2.574 MB / 478.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.002208/0.3955, allocations: 1.468 MB / 0.6526 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.91e-05/0.3956, allocations: 9.938 kB / 0.6526 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of [SIM] Tearing: time 0.0001389/0.3957, allocations: 195.8 kB / 0.6528 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of [SIM] Categorize: time 5.476e-05/0.3958, allocations: 15.94 kB / 0.6528 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of [SIM] Solve: time 0.007882/0.4036, allocations: 5.661 MB / 0.6584 GB, free: 11.12 MB / 494.1 MB Notification: Performance of [SIM] Jacobian: time 0.003189/0.4068, allocations: 4.687 MB / 0.6629 GB, free: 5.605 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 12 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 19 * 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: ................. 69 (69) {SourceP1.medium.state.phase, SourceP1.medium.phase, V1.state_a.phase, V1.state_b.phase, SinkP1.medium.state.phase, SinkP1.medium.phase, SourceP2.medium.state.phase, SourceP2.medium.phase, V2.state_a.phase, V2.state_b.phase, SinkP2.medium.state.phase, SinkP2.medium.phase, SourceP3.medium.state.phase, SourceP3.medium.phase, V3.state_a.phase, V3.state_b.phase, SinkP3.medium.state.phase, SinkP3.medium.phase, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $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: ........... 210 (scalar:210, 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: ........... 270 (scalar:264, array:6, 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: ........... 270 (scalar:264, array:6, 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.0001913/0.407, allocations: 143.2 kB / 0.6631 GB, free: 5.473 MB / 494.1 MB Notification: Performance of SimCode: time 0.02684/0.4338, allocations: 14.26 MB / 0.677 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of Templates: time 0.3289/0.7627, allocations: 57.44 MB / 0.7331 GB, free: 123.6 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.33978990803007] 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', 'Opening.y', 'SourceP2.ports[1].m_flow', 'SourceP2.ports[1].p', 'SourceP2.ports[1].h_outflow', 'V2.port_b.m_flow', 'V2.port_b.p', 'V2.port_b.h_outflow', 'V2.minLimiter.y', 'SinkP2.ports[1].m_flow', 'SinkP2.ports[1].p', 'SinkP2.ports[1].h_outflow', 'SourceP3.ports[1].m_flow', 'SourceP3.ports[1].p', 'SourceP3.ports[1].h_outflow', 'V3.port_b.m_flow', 'V3.port_b.p', 'V3.port_b.h_outflow', 'V3.minLimiter.y', 'SinkP3.ports[1].m_flow', 'SinkP3.ports[1].p', 'SinkP3.ports[1].h_outflow'] 0.7718133560265414 0.784047327 0.450026568 Calling exit ...