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.001371/0.001371, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.001521/0.001521, allocations: 214 kB / 23.74 MB, free: 4.688 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.421/1.421, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.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.1578/0.1578, allocations: 26.83 MB / 340.7 MB, free: 8.195 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.0021/0.0021, allocations: 71.88 kB / 477.3 MB, free: 3.176 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3266, allocations: 60.48 MB / 0.5252 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05807/0.3846, allocations: 51.92 MB / 0.5759 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02219/0.4068, allocations: 17.32 MB / 0.5928 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.4073, allocations: 7.938 kB / 0.5928 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007835/0.4081, allocations: 266.4 kB / 0.5931 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008554/0.4166, allocations: 2.393 MB / 0.5954 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009976/0.4266, allocations: 3.264 MB / 0.5986 GB, free: 9.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00165/0.4282, allocations: 0.8598 MB / 0.5994 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006705/0.4289, allocations: 241.1 kB / 0.5997 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007516/0.4297, allocations: 354.7 kB / 0.6 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000844/0.4305, allocations: 390.5 kB / 0.6004 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.149e-05/0.4306, allocations: 32 kB / 0.6004 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01661/0.4472, allocations: 7.574 MB / 0.6078 GB, free: 236 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.4474, allocations: 107.5 kB / 0.6079 GB, free: 128 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.4479, allocations: 246.8 kB / 0.6081 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.4612, allocations: 4.641 MB / 0.6127 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4612, allocations: 0 / 0.6127 GB, free: 11.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.699e-06/0.4612, allocations: 4 kB / 0.6127 GB, free: 11.22 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.4612, allocations: 0 / 0.6127 GB, free: 11.22 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003503/0.4647, allocations: 1.319 MB / 0.614 GB, free: 9.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.4648, allocations: 12.03 kB / 0.614 GB, free: 9.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/0.4658, allocations: 156.5 kB / 0.6141 GB, free: 9.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.4664, allocations: 312.4 kB / 0.6144 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.4664, allocations: 33.03 kB / 0.6145 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.348e-05/0.4665, allocations: 32.38 kB / 0.6145 GB, free: 9.297 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.4674, allocations: 483 kB / 0.615 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4675, allocations: 0 / 0.615 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.895e-05/0.4675, allocations: 20 kB / 0.615 GB, free: 8.762 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.4675, allocations: 8 kB / 0.615 GB, free: 8.754 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.4682, allocations: 306.3 kB / 0.6153 GB, free: 8.453 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.002714/0.471, allocations: 2.464 MB / 0.6177 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.4715, allocations: 254.5 kB / 0.6179 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.4717, allocations: 128.8 kB / 0.618 GB, free: 5.355 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06028/0.532, allocations: 17.56 MB / 0.6352 GB, free: 3.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008055/0.5328, allocations: 295.3 kB / 0.6355 GB, free: 3.457 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.715e-06/0.5328, allocations: 0 / 0.6355 GB, free: 3.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.004204/0.537, allocations: 1.582 MB / 0.637 GB, free: 1.793 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.5371, allocations: 140.5 kB / 0.6372 GB, free: 1.625 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.5376, allocations: 401.9 kB / 0.6375 GB, free: 1.219 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.5377, allocations: 33.7 kB / 0.6376 GB, free: 1.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.5379, allocations: 244.5 kB / 0.6378 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.538, allocations: 115 kB / 0.6379 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.5381, allocations: 77.97 kB / 0.638 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.5383, allocations: 358.8 kB / 0.6383 GB, free: 392 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.5385, allocations: 132.7 kB / 0.6385 GB, free: 260 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/0.5388, allocations: 215.8 kB / 0.6387 GB, free: 16 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.5395, allocations: 470.2 kB / 0.6391 GB, free: 15.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.5395, allocations: 0 / 0.6391 GB, free: 15.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001176/0.5407, allocations: 0.6187 MB / 0.6397 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.999e-05/0.5407, allocations: 75.58 kB / 0.6398 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.5407, allocations: 7.938 kB / 0.6398 GB, free: 14.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.542, allocations: 169.5 kB / 0.64 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.5422, allocations: 55.91 kB / 0.64 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.5435, allocations: 1.136 MB / 0.6411 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002636/0.5437, allocations: 12.03 kB / 0.6411 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.5438, allocations: 23.98 kB / 0.6412 GB, free: 13.32 MB / 494.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.0003731/0.5442, allocations: 249.2 kB / 0.6414 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.5443, allocations: 51.72 kB / 0.6414 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.5467, allocations: 1.611 MB / 0.643 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.638e-05/0.5467, allocations: 27.91 kB / 0.643 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5467, allocations: 0 / 0.643 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5467, allocations: 0 / 0.643 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008585/0.5476, allocations: 0.7157 MB / 0.6437 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5476, allocations: 7.984 kB / 0.6437 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5478, allocations: 39.92 kB / 0.6438 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006539/0.5485, allocations: 263.2 kB / 0.644 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.5485, allocations: 12 kB / 0.644 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.5497, allocations: 1.355 MB / 0.6454 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.5497, allocations: 4.141 kB / 0.6454 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.552, allocations: 1.734 MB / 0.6471 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.5522, allocations: 111.3 kB / 0.6472 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/0.5523, allocations: 12 kB / 0.6472 GB, free: 6.969 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.5525, allocations: 15.98 kB / 0.6472 GB, free: 6.953 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.5526, allocations: 27.91 kB / 0.6472 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.5526, allocations: 19.97 kB / 0.6472 GB, free: 6.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003371/0.5529, allocations: 279.1 kB / 0.6475 GB, free: 6.629 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5529, allocations: 0 / 0.6475 GB, free: 6.629 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002849/0.5558, allocations: 1.13 MB / 0.6486 GB, free: 5.496 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.004933/0.5607, allocations: 1.324 MB / 0.6499 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.5621, allocations: 0.6816 MB / 0.6506 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5621, allocations: 0 / 0.6506 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.5628, allocations: 0.5173 MB / 0.6511 GB, free: 2.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.5639, allocations: 184.5 kB / 0.6513 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.5663, allocations: 1.501 MB / 0.6527 GB, free: 1.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.5668, allocations: 0.9111 MB / 0.6536 GB, free: 272 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.5671, allocations: 102.4 kB / 0.6537 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.5672, allocations: 31.44 kB / 0.6537 GB, free: 136 kB / 494.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5672, allocations: 3.938 kB / 0.6537 GB, free: 132 kB / 494.1 MB Notification: Performance of Templates: time 0.06837/0.6356, allocations: 41.38 MB / 0.6942 GB, free: 6.785 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.72841502726078] Failed to read output from testmodel.py, exit status != 0: 0.6449244599789381 0.659899276 0.19526504700000002 Calling exit ...