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.001379/0.001379, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.00166/0.00166, allocations: 170.3 kB / 24.91 MB, free: 8.723 MB / 18.57 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.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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.09989/0.09989, allocations: 19.73 MB / 281.5 MB, free: 9.02 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 305.2 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.498e-05/2.642e-05, allocations: 2.312 kB / 305.2 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.02894/0.02897, allocations: 31.32 MB / 336.5 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008556/0.03753, allocations: 10.24 MB / 346.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002612/0.03779, allocations: 11.88 kB / 346.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005023/0.03829, allocations: 226.5 kB / 347 MB, free: 4.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004203/0.04249, allocations: 2.416 MB / 349.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005125/0.04762, allocations: 3.289 MB / 352.7 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.04833, allocations: 0.8947 MB / 353.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002994/0.04863, allocations: 285.7 kB / 353.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.049, allocations: 470.8 kB / 354.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.04929, allocations: 315.1 kB / 354.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.04933, allocations: 32 kB / 354.6 MB, free: 12.72 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00736/0.05669, allocations: 7.156 MB / 361.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.405e-05/0.05676, allocations: 95.61 kB / 361.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.05691, allocations: 187.5 kB / 362.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005461/0.06237, allocations: 5.648 MB / 367.7 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.06237, allocations: 4 kB / 367.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.06237, allocations: 0 / 367.7 MB, free: 15.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.06238, allocations: 0 / 367.7 MB, free: 15.61 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001821/0.0642, allocations: 1.313 MB / 369 MB, free: 14.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.06423, allocations: 12.03 kB / 369 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005398/0.06477, allocations: 220.5 kB / 369.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.06509, allocations: 275.9 kB / 369.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.06511, allocations: 25.38 kB / 369.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.06515, allocations: 40.33 kB / 369.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.0656, allocations: 474.8 kB / 370.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.06561, allocations: 4.125 kB / 370.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.06563, allocations: 19.94 kB / 370.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.06564, allocations: 11.98 kB / 370.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.0659, allocations: 234.5 kB / 370.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.06696, allocations: 1.456 MB / 371.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.06724, allocations: 265.7 kB / 372 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.06731, allocations: 104.2 kB / 372.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09883/0.1661, allocations: 58.45 MB / 430.6 MB, free: 444 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.1666, allocations: 297.3 kB / 430.9 MB, free: 108 kB / 394.7 MB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/0.1666, allocations: 0 / 430.9 MB, free: 108 kB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001729/0.1683, allocations: 1.189 MB / 432.1 MB, free: 14.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.1683, allocations: 144.5 kB / 432.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1685, allocations: 311.3 kB / 432.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1685, allocations: 33.69 kB / 432.5 MB, free: 14.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.1686, allocations: 213.6 kB / 432.7 MB, free: 14.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.1687, allocations: 123 kB / 432.9 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/0.1687, allocations: 73.94 kB / 432.9 MB, free: 13.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.1688, allocations: 358.7 kB / 433.3 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.686e-05/0.1689, allocations: 107 kB / 433.4 MB, free: 13.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.169, allocations: 213.2 kB / 433.6 MB, free: 13.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.1692, allocations: 324.7 kB / 433.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1692, allocations: 4 kB / 433.9 MB, free: 12.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003455/0.1696, allocations: 400.2 kB / 434.3 MB, free: 12.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.1696, allocations: 77.67 kB / 434.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1696, allocations: 8.25 kB / 434.4 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/0.1702, allocations: 145.5 kB / 434.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1703, allocations: 63.91 kB / 434.6 MB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000466/0.1708, allocations: 1.077 MB / 435.7 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-05/0.1709, allocations: 12 kB / 435.7 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.1709, allocations: 15.98 kB / 435.7 MB, free: 10.88 MB / 410.7 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.0001292/0.171, allocations: 200 kB / 435.9 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.1711, allocations: 47.95 kB / 436 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008513/0.1719, allocations: 0.9294 MB / 436.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.1719, allocations: 23.84 kB / 436.9 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1719, allocations: 0 / 436.9 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.172, allocations: 0 / 436.9 MB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.1723, allocations: 394.5 kB / 437.3 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1723, allocations: 0 / 437.3 MB, free: 9.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1724, allocations: 47.92 kB / 437.3 MB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.1726, allocations: 184.1 kB / 437.5 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1726, allocations: 12 kB / 437.5 MB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004144/0.1731, allocations: 1.141 MB / 438.7 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1731, allocations: 0 / 438.7 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006561/0.1737, allocations: 0.952 MB / 439.6 MB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.1738, allocations: 83.38 kB / 439.7 MB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.1738, allocations: 8 kB / 439.7 MB, free: 6.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.1739, allocations: 19.92 kB / 439.7 MB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1739, allocations: 15.97 kB / 439.7 MB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.174, allocations: 15.98 kB / 439.8 MB, free: 6.613 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.174, allocations: 116.7 kB / 439.9 MB, free: 6.496 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.174, allocations: 0 / 439.9 MB, free: 6.496 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002223/0.1763, allocations: 1.131 MB / 441 MB, free: 5.363 MB / 410.7 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.0029/0.1792, allocations: 1.572 MB / 442.6 MB, free: 3.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.1797, allocations: 0.5333 MB / 443.1 MB, free: 3.191 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.1797, allocations: 4.5 kB / 443.1 MB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.18, allocations: 391.8 kB / 443.5 MB, free: 2.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.1804, allocations: 180.6 kB / 443.7 MB, free: 2.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.182, allocations: 1.274 MB / 444.9 MB, free: 1.285 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.055e-05/0.1821, allocations: 150.9 kB / 445.1 MB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001478/0.1823, allocations: 92.11 kB / 445.2 MB, free: 1.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.1825, allocations: 185.2 kB / 445.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1825, allocations: 0 / 445.4 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of Templates: time 0.17/0.3525, allocations: 45.7 MB / 491.1 MB, free: 75.47 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.850115871988237]