Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.001633/0.001633, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.002094/0.002094, allocations: 210.8 kB / 24.49 MB, free: 3.965 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.506/1.506, 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.2294/0.2294, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 63.89 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 66.04 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.02378/0.3431, allocations: 19.52 MB / 0.5809 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.3561, allocations: 7.601 MB / 0.5883 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.3572, allocations: 35.62 kB / 0.5884 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3582, allocations: 341.6 kB / 0.5887 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003049/0.3612, allocations: 1.119 MB / 0.5898 GB, free: 7.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.3638, allocations: 1.008 MB / 0.5908 GB, free: 6.434 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.3661, allocations: 1.789 MB / 0.5925 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008493/0.3669, allocations: 0.5556 MB / 0.593 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.3682, allocations: 0.7708 MB / 0.5938 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3693, allocations: 0.6966 MB / 0.5945 GB, free: 2.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001516/0.3694, allocations: 76 kB / 0.5945 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.3708, allocations: 0.6513 MB / 0.5952 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.3711, allocations: 239.1 kB / 0.5954 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.3715, allocations: 394.3 kB / 0.5958 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.3736, allocations: 1.505 MB / 0.5973 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3736, allocations: 0 / 0.5973 GB, free: 15.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3736, allocations: 4 kB / 0.5973 GB, free: 15.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.3737, allocations: 0 / 0.5973 GB, free: 15.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.00283/0.3765, allocations: 1.15 MB / 0.5984 GB, free: 14.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3765, allocations: 12.03 kB / 0.5984 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.3769, allocations: 104.4 kB / 0.5985 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.378, allocations: 0.5356 MB / 0.599 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.3781, allocations: 45.44 kB / 0.5991 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.3782, allocations: 48 kB / 0.5991 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.38, allocations: 1.1 MB / 0.6002 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.3801, allocations: 4 kB / 0.6002 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.3801, allocations: 20 kB / 0.6002 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.3802, allocations: 36.92 kB / 0.6002 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/0.3818, allocations: 0.7767 MB / 0.601 GB, free: 11.74 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.3861, allocations: 2.706 MB / 0.6036 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3872, allocations: 442.2 kB / 0.6041 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007197/0.388, allocations: 293.4 kB / 0.6043 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.3882, allocations: 44.34 kB / 0.6044 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.3882, allocations: 46.94 kB / 0.6044 GB, free: 8.129 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005449/0.3887, allocations: 103.6 kB / 0.6045 GB, free: 8.027 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 5.791e-06/0.3887, allocations: 0 / 0.6045 GB, free: 8.027 MB / 446.1 MB Notification: Performance of matching and sorting (n=71): time 0.0428/0.4315, allocations: 6.934 MB / 0.6113 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.4316, allocations: 111.5 kB / 0.6114 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007447/0.4324, allocations: 0.5703 MB / 0.612 GB, free: 232 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.4325, allocations: 37.7 kB / 0.612 GB, free: 188 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.4328, allocations: 368.7 kB / 0.6124 GB, free: 15.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.433, allocations: 257.7 kB / 0.6126 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/0.4334, allocations: 198.5 kB / 0.6128 GB, free: 15.36 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.4336, allocations: 378.8 kB / 0.6131 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.435, allocations: 492.5 kB / 0.6136 GB, free: 14.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001644/0.4366, allocations: 0.7178 MB / 0.6143 GB, free: 13.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/0.4398, allocations: 1.145 MB / 0.6154 GB, free: 12.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.4398, allocations: 4 kB / 0.6154 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004089/0.4439, allocations: 1.459 MB / 0.6169 GB, free: 10.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4439, allocations: 8.406 kB / 0.6169 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.4439, allocations: 11.94 kB / 0.6169 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008009/0.4519, allocations: 1.281 MB / 0.6181 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.453, allocations: 215.7 kB / 0.6183 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002963/0.456, allocations: 1.677 MB / 0.62 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.4571, allocations: 83.95 kB / 0.6201 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.4573, allocations: 59.94 kB / 0.6201 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001641/0.4589, allocations: 0.6111 MB / 0.6207 GB, free: 6.992 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001578/0.4605, allocations: 0.6944 MB / 0.6214 GB, free: 6.211 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003/0.4635, allocations: 1.109 MB / 0.6225 GB, free: 5.035 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.4635, allocations: 0 / 0.6225 GB, free: 5.035 MB / 462.1 MB Notification: Performance of matching and sorting (n=101) (initialization_lambda0): time 0.004317/0.4678, allocations: 1.447 MB / 0.6239 GB, free: 3.574 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.4678, allocations: 4 kB / 0.6239 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4678, allocations: 8 kB / 0.6239 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.4704, allocations: 461.3 kB / 0.6243 GB, free: 3.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4716, allocations: 251.5 kB / 0.6246 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004798/0.4764, allocations: 2.993 MB / 0.6275 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.4774, allocations: 84.03 kB / 0.6276 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.4776, allocations: 59.94 kB / 0.6276 GB, free: 15.56 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003427/0.4779, allocations: 224.1 kB / 0.6279 GB, free: 15.33 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.4781, allocations: 83.42 kB / 0.6279 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004643/0.4828, allocations: 1.714 MB / 0.6296 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.4828, allocations: 11.97 kB / 0.6296 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4828, allocations: 3.938 kB / 0.6296 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.4832, allocations: 191.2 kB / 0.6298 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.4834, allocations: 19.94 kB / 0.6298 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/0.4843, allocations: 83.83 kB / 0.6299 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.4844, allocations: 68.88 kB / 0.63 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006018/0.4905, allocations: 1.615 MB / 0.6315 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004711/0.4952, allocations: 1.853 MB / 0.6334 GB, free: 9.66 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001371/0.4965, allocations: 455.6 kB / 0.6338 GB, free: 9.215 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005271/0.4971, allocations: 399 kB / 0.6342 GB, free: 8.832 MB / 478.1 MB Notification: Performance of Backend: time 3.61e-07/0.4971, allocations: 0 / 0.6342 GB, free: 8.832 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00706/0.5041, allocations: 1.872 MB / 0.636 GB, free: 6.945 MB / 478.1 MB Notification: Performance of SimCode: time 0.003646/0.5078, allocations: 2.391 MB / 0.6383 GB, free: 4.516 MB / 478.1 MB Notification: Performance of Templates: time 0.05159/0.5594, allocations: 33.52 MB / 0.6711 GB, free: 3.266 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.237075251003262] Failed to read output from testmodel.py, exit status != 0: ['time', 'pump.medium.T', 'N_pump.y', 'Source.ports[1].m_flow', 'Source.ports[1].p', 'Source.ports[1].h_outflow', 'Sink.ports[1].m_flow', 'Sink.ports[1].p', 'Sink.ports[1].h_outflow', 'pump.port_b.m_flow', 'pump.port_b.p', 'pump.port_b.h_outflow', 'V1.port_b.m_flow', 'V1.port_b.p', 'V1.port_b.h_outflow', 'V1.minLimiter.y', 'V2.port_b.m_flow', 'V2.port_b.p', 'V2.port_b.h_outflow', 'V2.minLimiter.y', 'V1_Opening.y', 'V2_Opening.y'] 0.5685496639925987 0.5822175070000001 0.20542542200000002 Calling exit ...