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.00108/0.00108, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001662/0.001662, allocations: 170 kB / 24.91 MB, free: 9.191 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 0.9902/0.9902, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.08891/0.08891, allocations: 19.75 MB / 281.6 MB, free: 9.141 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 8.92e-07/8.92e-07, allocations: 0 / 305.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252e-05/1.342e-05, allocations: 2.312 kB / 305.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.02395/0.02396, allocations: 31.36 MB / 336.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008717/0.03268, allocations: 10.24 MB / 346.8 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.03294, allocations: 11.88 kB / 346.8 MB, free: 4.5 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005111/0.03346, allocations: 230.5 kB / 347.1 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.0378, allocations: 2.181 MB / 349.2 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005619/0.04342, allocations: 3.045 MB / 352.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008397/0.04426, allocations: 0.8986 MB / 353.2 MB, free: 14.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.04462, allocations: 281.8 kB / 353.5 MB, free: 13.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004586/0.04508, allocations: 462.8 kB / 353.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003509/0.04543, allocations: 315.1 kB / 354.2 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.04548, allocations: 36 kB / 354.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009963/0.05544, allocations: 7.666 MB / 361.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.05573, allocations: 103.5 kB / 362 MB, free: 5.27 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.05589, allocations: 175.6 kB / 362.2 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.06276, allocations: 5.651 MB / 367.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.06276, allocations: 4 kB / 367.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.06276, allocations: 0 / 367.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.06277, allocations: 0 / 367.8 MB, free: 15.43 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.001957/0.06473, allocations: 1.321 MB / 369.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.06476, allocations: 8.031 kB / 369.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008352/0.06559, allocations: 216.5 kB / 369.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.06588, allocations: 271.9 kB / 369.6 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.0659, allocations: 29.38 kB / 369.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.06594, allocations: 40.33 kB / 369.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/0.06653, allocations: 473.5 kB / 370.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.06654, allocations: 4.125 kB / 370.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.06656, allocations: 19.94 kB / 370.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.06657, allocations: 12 kB / 370.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.06685, allocations: 234.5 kB / 370.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.06791, allocations: 1.452 MB / 371.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.0682, allocations: 265.7 kB / 372.2 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.06828, allocations: 116.2 kB / 372.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1004/0.1686, allocations: 58.44 MB / 430.7 MB, free: 256 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004269/0.1691, allocations: 308.8 kB / 431 MB, free: 15.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.094e-06/0.1691, allocations: 0 / 431 MB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001831/0.1709, allocations: 1.182 MB / 432.2 MB, free: 14.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.171, allocations: 148.4 kB / 432.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1711, allocations: 315.3 kB / 432.6 MB, free: 14.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1712, allocations: 33.7 kB / 432.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.59e-05/0.1713, allocations: 209.5 kB / 432.9 MB, free: 13.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.025e-05/0.1713, allocations: 115 kB / 433 MB, free: 13.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.1714, allocations: 81.92 kB / 433.1 MB, free: 13.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.1715, allocations: 350.7 kB / 433.4 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.1716, allocations: 111 kB / 433.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1717, allocations: 213.3 kB / 433.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.172, allocations: 332.7 kB / 434.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.172, allocations: 0 / 434.1 MB, free: 12.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006786/0.1727, allocations: 400.3 kB / 434.4 MB, free: 12.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.1727, allocations: 71.38 kB / 434.5 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1728, allocations: 4 kB / 434.5 MB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006448/0.1734, allocations: 145.5 kB / 434.7 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.1735, allocations: 67.19 kB / 434.7 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004578/0.174, allocations: 1.089 MB / 435.8 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1741, allocations: 12 kB / 435.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.1741, allocations: 16 kB / 435.8 MB, free: 10.68 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.0001306/0.1743, allocations: 204.1 kB / 436 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.1743, allocations: 47.95 kB / 436.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/0.175, allocations: 0.9238 MB / 437 MB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.175, allocations: 15.97 kB / 437 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.175, allocations: 0 / 437 MB, free: 9.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.175, allocations: 7.938 kB / 437 MB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003236/0.1754, allocations: 394.5 kB / 437.4 MB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1754, allocations: 0 / 437.4 MB, free: 9.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.1755, allocations: 59.89 kB / 437.5 MB, free: 8.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.1758, allocations: 178.6 kB / 437.7 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.1758, allocations: 15.98 kB / 437.7 MB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004149/0.1762, allocations: 1.148 MB / 438.8 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1762, allocations: 0 / 438.8 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.1769, allocations: 0.948 MB / 439.8 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.177, allocations: 87.36 kB / 439.9 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.177, allocations: 8 kB / 439.9 MB, free: 6.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.763e-05/0.1771, allocations: 12.09 kB / 439.9 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1771, allocations: 27.95 kB / 439.9 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.1772, allocations: 11.98 kB / 439.9 MB, free: 6.406 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.207e-05/0.1772, allocations: 120.7 kB / 440 MB, free: 6.285 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1772, allocations: 0 / 440 MB, free: 6.285 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001901/0.1791, allocations: 1.134 MB / 441.2 MB, free: 5.148 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.003003/0.1821, allocations: 1.566 MB / 442.7 MB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004956/0.1826, allocations: 0.5414 MB / 443.3 MB, free: 2.977 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.1826, allocations: 4 kB / 443.3 MB, free: 2.973 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.1829, allocations: 387.8 kB / 443.7 MB, free: 2.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.1833, allocations: 182.3 kB / 443.8 MB, free: 2.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1848, allocations: 1.274 MB / 445.1 MB, free: 1.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.1848, allocations: 158.9 kB / 445.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.185, allocations: 82.88 kB / 445.3 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.1853, allocations: 185.2 kB / 445.5 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1853, allocations: 0 / 445.5 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of Templates: time 0.1508/0.3361, allocations: 45.8 MB / 491.3 MB, free: 92.29 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.829331518150866]