Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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: 77.69 kB / 20.52 MB, free: 1.211 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.001534/0.001534, allocations: 165.4 kB / 23.78 MB, free: 4.219 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.467/1.467, allocations: 177.2 MB / 204.1 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1421/0.1421, allocations: 19.7 MB / 280.3 MB, free: 13.05 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 70.25 kB / 416.9 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2754, allocations: 60.46 MB / 477.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05327/0.3286, allocations: 46.67 MB / 0.5117 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02064/0.3493, allocations: 15.35 MB / 0.5267 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003636/0.3496, allocations: 11.88 kB / 0.5267 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.3504, allocations: 262.4 kB / 0.5269 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006494/0.3569, allocations: 2.369 MB / 0.5293 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008987/0.3659, allocations: 3.208 MB / 0.5324 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.367, allocations: 0.8561 MB / 0.5332 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.3674, allocations: 245 kB / 0.5335 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006045/0.368, allocations: 486.5 kB / 0.5339 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005028/0.3685, allocations: 366.5 kB / 0.5343 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.401e-05/0.3686, allocations: 32 kB / 0.5343 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01403/0.3826, allocations: 7.149 MB / 0.5413 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.3828, allocations: 95.61 kB / 0.5414 GB, free: 5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.3831, allocations: 215 kB / 0.5416 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.3936, allocations: 4.599 MB / 0.5461 GB, free: 184 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3936, allocations: 0 / 0.5461 GB, free: 184 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3936, allocations: 4 kB / 0.5461 GB, free: 180 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.3936, allocations: 3.938 kB / 0.5461 GB, free: 176 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003035/0.3966, allocations: 1.327 MB / 0.5474 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3967, allocations: 8.031 kB / 0.5474 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009656/0.3976, allocations: 160.4 kB / 0.5475 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.3982, allocations: 300.6 kB / 0.5478 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.3983, allocations: 25.03 kB / 0.5478 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.3983, allocations: 36.38 kB / 0.5479 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009895/0.3993, allocations: 0.5586 MB / 0.5484 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3993, allocations: 0 / 0.5484 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.912e-05/0.3994, allocations: 20 kB / 0.5484 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.3994, allocations: 8 kB / 0.5485 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.4001, allocations: 369.6 kB / 0.5488 GB, free: 13.23 MB / 462.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.002476/0.4026, allocations: 1.668 MB / 0.5504 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.4032, allocations: 322.1 kB / 0.5507 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.4035, allocations: 208.1 kB / 0.5509 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06312/0.4666, allocations: 17.62 MB / 0.5681 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007446/0.4674, allocations: 373.9 kB / 0.5685 GB, free: 8.895 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/0.4674, allocations: 0 / 0.5685 GB, free: 8.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.00411/0.4715, allocations: 1.707 MB / 0.5702 GB, free: 7.082 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4716, allocations: 144.5 kB / 0.5703 GB, free: 6.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.472, allocations: 349.6 kB / 0.5706 GB, free: 6.562 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.4721, allocations: 33.7 kB / 0.5707 GB, free: 6.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.4723, allocations: 248.6 kB / 0.5709 GB, free: 6.273 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4724, allocations: 115.1 kB / 0.571 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.4725, allocations: 81.97 kB / 0.5711 GB, free: 6.074 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4727, allocations: 358.7 kB / 0.5714 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.473, allocations: 200.2 kB / 0.5716 GB, free: 5.508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.4733, allocations: 305.2 kB / 0.5719 GB, free: 5.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006471/0.474, allocations: 482.1 kB / 0.5724 GB, free: 4.641 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.474, allocations: 0 / 0.5724 GB, free: 4.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001195/0.4752, allocations: 0.6847 MB / 0.5731 GB, free: 3.918 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.016e-05/0.4753, allocations: 71.39 kB / 0.5731 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.4753, allocations: 4 kB / 0.5731 GB, free: 3.832 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.4766, allocations: 165.7 kB / 0.5733 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.4768, allocations: 59.91 kB / 0.5733 GB, free: 3.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.4779, allocations: 1.124 MB / 0.5744 GB, free: 2.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.4782, allocations: 28.12 kB / 0.5745 GB, free: 2.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.4782, allocations: 16 kB / 0.5745 GB, free: 2.387 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * 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,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000298/0.4785, allocations: 253.1 kB / 0.5747 GB, free: 2.117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.4786, allocations: 43.77 kB / 0.5748 GB, free: 2.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.4809, allocations: 1.695 MB / 0.5764 GB, free: 356 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.049e-05/0.4809, allocations: 15.98 kB / 0.5764 GB, free: 340 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4809, allocations: 11.92 kB / 0.5764 GB, free: 328 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4809, allocations: 3.938 kB / 0.5764 GB, free: 324 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007433/0.4817, allocations: 0.592 MB / 0.577 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4817, allocations: 0 / 0.577 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.4819, allocations: 35.98 kB / 0.5771 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006311/0.4825, allocations: 266.4 kB / 0.5773 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.4826, allocations: 12 kB / 0.5773 GB, free: 15.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.4837, allocations: 1.351 MB / 0.5786 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4837, allocations: 4.031 kB / 0.5786 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002454/0.4862, allocations: 1.867 MB / 0.5805 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/0.4864, allocations: 111.4 kB / 0.5806 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.4864, allocations: 12 kB / 0.5806 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.4866, allocations: 12 kB / 0.5806 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.4867, allocations: 23.95 kB / 0.5806 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.4867, allocations: 16 kB / 0.5806 GB, free: 11.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.487, allocations: 251.1 kB / 0.5809 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.487, allocations: 0 / 0.5809 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003095/0.4901, allocations: 1.127 MB / 0.582 GB, free: 10.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * 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,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004211/0.4943, allocations: 1.335 MB / 0.5833 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.4957, allocations: 0.821 MB / 0.5841 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4957, allocations: 0 / 0.5841 GB, free: 8.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007922/0.4965, allocations: 0.564 MB / 0.5846 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008578/0.4974, allocations: 164.1 kB / 0.5848 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.4997, allocations: 1.548 MB / 0.5863 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.5001, allocations: 313.5 kB / 0.5866 GB, free: 5.605 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002216/0.5003, allocations: 97.62 kB / 0.5867 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.5004, allocations: 28.5 kB / 0.5867 GB, free: 5.48 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5004, allocations: 0 / 0.5867 GB, free: 5.48 MB / 494.1 MB Notification: Performance of Templates: time 0.06187/0.5622, allocations: 39.98 MB / 0.6258 GB, free: 13.57 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.645414423197508] Failed to read output from testmodel.py, exit status != 0: 0.5715955067425966 0.773245132 0.189787734 Calling exit ...