Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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.001323/0.001323, 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.001515/0.001515, allocations: 211.2 kB / 24.55 MB, free: 3.723 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2154/0.2154, allocations: 44.93 MB / 359.7 MB, free: 6.039 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.TestValveCoefficients,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|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,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|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.104e-05, allocations: 2.281 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.3047/0.3047, allocations: 75.3 MB / 0.5679 GB, free: 7.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03696/0.3416, allocations: 25.73 MB / 0.593 GB, free: 192 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002787/0.3444, allocations: 63.31 kB / 0.593 GB, free: 128 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.3474, allocations: 0.8925 MB / 0.5939 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01754/0.3649, allocations: 5.131 MB / 0.5989 GB, free: 10.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01635/0.3813, allocations: 5.603 MB / 0.6044 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006394/0.3877, allocations: 4.922 MB / 0.6092 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.3898, allocations: 1.258 MB / 0.6104 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.3935, allocations: 2.107 MB / 0.6125 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.3953, allocations: 1.14 MB / 0.6136 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002709/0.3956, allocations: 140 kB / 0.6137 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01472/0.4103, allocations: 7.605 MB / 0.6212 GB, free: 3.289 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.003951/0.4143, allocations: 3.488 MB / 0.6246 GB, free: 15.77 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.001783/0.4161, allocations: 2.178 MB / 0.6267 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004124/0.4165, allocations: 184 kB / 0.6269 GB, free: 13.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.00034/0.4168, allocations: 67.72 kB / 0.6269 GB, free: 13.32 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 (269) * Number of variables: 301 (301) Notification: Performance of [SIM] Bindings: time 0.009239/0.426, allocations: 8.676 MB / 0.6354 GB, free: 4.344 MB / 462.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001015/0.4271, allocations: 0.866 MB / 0.6363 GB, free: 3.457 MB / 462.1 MB Notification: Performance of [SIM] Early Inline: time 0.00993/0.437, allocations: 8.331 MB / 0.6444 GB, free: 11.05 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001615/0.4386, allocations: 0.815 MB / 0.6452 GB, free: 10.14 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.007374/0.446, allocations: 5.523 MB / 0.6506 GB, free: 4.066 MB / 478.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001246/0.4472, allocations: 0.7758 MB / 0.6513 GB, free: 3.246 MB / 478.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006342/0.4479, allocations: 0.5194 MB / 0.6518 GB, free: 2.688 MB / 478.1 MB Notification: Performance of [SIM] Detect States: time 0.001251/0.4491, allocations: 1.25 MB / 0.6531 GB, free: 1.375 MB / 478.1 MB Notification: Performance of [SIM] Events: time 0.00143/0.4505, allocations: 1.107 MB / 0.6541 GB, free: 240 kB / 478.1 MB Notification: Performance of [SIM] Partitioning: time 0.003061/0.4536, allocations: 2.829 MB / 0.6569 GB, free: 13.03 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.007467/0.4611, allocations: 5.339 MB / 0.6621 GB, free: 7.309 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.006815/0.4679, allocations: 6.112 MB / 0.6681 GB, free: 1.191 MB / 494.1 MB Notification: Performance of [INI] Simplify: time 0.004024/0.4719, allocations: 2.323 MB / 0.6704 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.007653/0.4796, allocations: 7.478 MB / 0.6777 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0002927/0.4799, allocations: 119.8 kB / 0.6778 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.001656/0.4815, allocations: 1.504 MB / 0.6792 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.01798/0.4995, allocations: 12.56 MB / 0.6915 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.000267/0.4998, allocations: 368 kB / 0.6919 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.442e-06/0.4998, allocations: 0 / 0.6919 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.00266/0.5024, allocations: 1.979 MB / 0.6938 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 2.409e-05/0.5024, allocations: 17.88 kB / 0.6938 GB, free: 6 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.0001706/0.5026, allocations: 259.7 kB / 0.6941 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 7.678e-05/0.5027, allocations: 23.86 kB / 0.6941 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.01042/0.5131, allocations: 7.556 MB / 0.7015 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.004746/0.5179, allocations: 7.333 MB / 0.7086 GB, free: 5.582 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 20 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 28 * 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: ................. 88 (88) {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, SourceP4.medium.state.phase, SourceP4.medium.phase, V4.state_a.phase, V4.state_b.phase, SinkP4.medium.state.phase, SinkP4.medium.phase, $SEV_63, $SEV_62, $SEV_61, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $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} * 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: ........... 272 (scalar:272, 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: ........... 368 (scalar:360, array:8, 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: ........... 368 (scalar:360, array:8, 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.0002376/0.5181, allocations: 191.7 kB / 0.7088 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of SimCode: time 0.03282/0.5509, allocations: 16.85 MB / 0.7253 GB, free: 4.336 MB / 0.545 GB Notification: Performance of Templates: time 0.3379/0.8888, allocations: 67.2 MB / 0.7909 GB, free: 69.87 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.875713219982572] 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', 'SourceP4.ports[1].m_flow', 'SourceP4.ports[1].p', 'SourceP4.ports[1].h_outflow', 'V4.port_b.m_flow', 'V4.port_b.p', 'V4.port_b.h_outflow', 'V4.minLimiter.y', 'SinkP4.ports[1].m_flow', 'SinkP4.ports[1].p', 'SinkP4.ports[1].h_outflow'] 0.8966584639856592 0.904539107 0.48535671 Calling exit ...