Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 214.5 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.5 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.94 MB / 361.6 MB, free: 3.914 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.72e-05, allocations: 6.219 kB / 0.4974 GB, free: 7.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.3951/0.3951, allocations: 75.29 MB / 0.571 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03943/0.4346, allocations: 25.72 MB / 0.5961 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.4375, allocations: 71.25 kB / 0.5961 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003533/0.441, allocations: 0.8886 MB / 0.597 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01882/0.4598, allocations: 5.131 MB / 0.602 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01834/0.4782, allocations: 5.603 MB / 0.6075 GB, free: 116 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008168/0.4863, allocations: 4.922 MB / 0.6123 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/0.4892, allocations: 1.258 MB / 0.6135 GB, free: 9.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004978/0.4942, allocations: 2.099 MB / 0.6156 GB, free: 7.801 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.4974, allocations: 1.136 MB / 0.6167 GB, free: 6.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000489/0.4979, allocations: 144 kB / 0.6168 GB, free: 6.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01866/0.5165, allocations: 7.605 MB / 0.6242 GB, free: 14.91 MB / 462.1 MB Notification: Performance of combineBinaries: time 0.004616/0.5211, allocations: 3.496 MB / 0.6277 GB, free: 11.38 MB / 462.1 MB Notification: Performance of replaceArrayConstructors: time 0.00235/0.5235, allocations: 2.183 MB / 0.6298 GB, free: 9.172 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005518/0.524, allocations: 176 kB / 0.63 GB, free: 9 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.0004091/0.5244, allocations: 67.66 kB / 0.63 GB, free: 8.934 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.01262/0.5371, allocations: 8.686 MB / 0.6385 GB, free: 15.94 MB / 478.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001204/0.5383, allocations: 0.8622 MB / 0.6393 GB, free: 15.07 MB / 478.1 MB Notification: Performance of [SIM] Early Inline: time 0.01067/0.5489, allocations: 8.329 MB / 0.6475 GB, free: 6.668 MB / 478.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00196/0.5509, allocations: 0.818 MB / 0.6483 GB, free: 5.746 MB / 478.1 MB Notification: Performance of [SIM] Alias: time 0.00819/0.5591, allocations: 5.52 MB / 0.6537 GB, free: 15.68 MB / 494.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001357/0.5605, allocations: 0.7749 MB / 0.6544 GB, free: 14.85 MB / 494.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006461/0.5611, allocations: 0.5233 MB / 0.6549 GB, free: 14.29 MB / 494.1 MB Notification: Performance of [SIM] Detect States: time 0.001282/0.5624, allocations: 1.26 MB / 0.6562 GB, free: 12.97 MB / 494.1 MB Notification: Performance of [SIM] Events: time 0.001532/0.5639, allocations: 1.1 MB / 0.6572 GB, free: 11.82 MB / 494.1 MB Notification: Performance of [SIM] Partitioning: time 0.003375/0.5673, allocations: 2.829 MB / 0.66 GB, free: 8.613 MB / 494.1 MB Notification: Performance of [SIM] Causalize: time 0.007558/0.5748, allocations: 5.335 MB / 0.6652 GB, free: 2.895 MB / 494.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.007116/0.582, allocations: 6.112 MB / 0.6712 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of [INI] Simplify: time 0.005164/0.5871, allocations: 2.321 MB / 0.6735 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of [INI] Inline: time 0.008772/0.5959, allocations: 7.478 MB / 0.6808 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of [INI] Partitioning: time 0.0004302/0.5963, allocations: 119.8 kB / 0.6809 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of [INI] Cleanup: time 0.002153/0.5985, allocations: 1.508 MB / 0.6823 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of [INI] Causalize: time 0.02056/0.619, allocations: 12.56 MB / 0.6946 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of [INI] Tearing: time 0.0002877/0.6193, allocations: 371.9 kB / 0.695 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of [SIM] Initialization: time 1.763e-06/0.6193, allocations: 3.938 kB / 0.695 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of [SIM] DAE-Mode: time 0.002903/0.6222, allocations: 1.97 MB / 0.6969 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of [SIM] Remove Dummies: time 3.306e-05/0.6223, allocations: 17.88 kB / 0.6969 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of [SIM] Tearing: time 0.000188/0.6225, allocations: 263.8 kB / 0.6972 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of [SIM] Categorize: time 9.867e-05/0.6226, allocations: 23.86 kB / 0.6972 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of [SIM] Solve: time 0.01271/0.6353, allocations: 7.55 MB / 0.7046 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.006071/0.6413, allocations: 7.328 MB / 0.7117 GB, free: 1.172 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.0003484/0.6417, allocations: 190.2 kB / 0.7119 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of SimCode: time 0.3285/0.9702, allocations: 16.83 MB / 0.7283 GB, free: 89.7 MB / 0.545 GB Notification: Performance of Templates: time 0.08336/1.054, allocations: 67.22 MB / 0.794 GB, free: 61.72 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.406424226006493] 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'] 1.062424744013697 1.07191665 0.5445372580000001 Calling exit ...