Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.001876/0.001876, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001943/0.001943, allocations: 165.6 kB / 24.28 MB, free: 152 kB / 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.527/1.527, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.1502/0.1502, allocations: 19.74 MB / 280.8 MB, free: 9.293 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.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/2.973e-05, allocations: 2.312 kB / 357.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3312/0.3312, allocations: 156.6 MB / 0.5018 GB, free: 1.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.3463, allocations: 9.812 MB / 0.5114 GB, free: 8.164 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.3466, allocations: 11.94 kB / 0.5114 GB, free: 8.152 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003951/0.347, allocations: 103.2 kB / 0.5115 GB, free: 8.051 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005805/0.3528, allocations: 2.117 MB / 0.5136 GB, free: 5.926 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007394/0.3602, allocations: 2.598 MB / 0.5161 GB, free: 3.32 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.3631, allocations: 2.257 MB / 0.5183 GB, free: 1.059 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3641, allocations: 0.6644 MB / 0.519 GB, free: 400 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001354/0.3655, allocations: 0.9438 MB / 0.5199 GB, free: 15.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.3694, allocations: 1.539 MB / 0.5214 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.3696, allocations: 120 kB / 0.5215 GB, free: 13.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.3817, allocations: 5.744 MB / 0.5271 GB, free: 8.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.3827, allocations: 0.6549 MB / 0.5278 GB, free: 7.371 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009411/0.3837, allocations: 0.5537 MB / 0.5283 GB, free: 6.816 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.3938, allocations: 5.558 MB / 0.5337 GB, free: 1.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3938, allocations: 0 / 0.5337 GB, free: 1.246 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3938, allocations: 0 / 0.5337 GB, free: 1.246 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.3938, allocations: 3.938 kB / 0.5337 GB, free: 1.242 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.006228/0.4001, allocations: 2.088 MB / 0.5358 GB, free: 15.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.4001, allocations: 12.03 kB / 0.5358 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.4028, allocations: 478.5 kB / 0.5362 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.4043, allocations: 0.6164 MB / 0.5368 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.603e-05/0.4044, allocations: 78.38 kB / 0.5369 GB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.4046, allocations: 132.3 kB / 0.537 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.4078, allocations: 1.306 MB / 0.5383 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.4079, allocations: 384 / 0.5383 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.408, allocations: 47.94 kB / 0.5384 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.408, allocations: 24 kB / 0.5384 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/0.4112, allocations: 1.132 MB / 0.5395 GB, free: 11.23 MB / 426.7 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.007711/0.4189, allocations: 3.361 MB / 0.5428 GB, free: 7.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004492/0.4234, allocations: 1.455 MB / 0.5442 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.4246, allocations: 0.5209 MB / 0.5447 GB, free: 5.828 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04519/0.4698, allocations: 11.75 MB / 0.5562 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.615e-05/0.4699, allocations: 64.2 kB / 0.5562 GB, free: 9.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=207): time 4.288e-06/0.4699, allocations: 0 / 0.5562 GB, free: 9.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=207): time 0.01352/0.4834, allocations: 3.647 MB / 0.5598 GB, free: 6.258 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.4835, allocations: 73.41 kB / 0.5599 GB, free: 6.176 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.484, allocations: 418.8 kB / 0.5603 GB, free: 5.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.4841, allocations: 65.7 kB / 0.5603 GB, free: 5.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.4844, allocations: 278.1 kB / 0.5606 GB, free: 5.402 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008819/0.4853, allocations: 0.8175 MB / 0.5614 GB, free: 4.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006863/0.4859, allocations: 393.2 kB / 0.5618 GB, free: 4.184 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002964/0.4862, allocations: 0.5082 MB / 0.5623 GB, free: 3.668 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.4876, allocations: 419.8 kB / 0.5627 GB, free: 3.258 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.489, allocations: 0.745 MB / 0.5634 GB, free: 2.473 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.4917, allocations: 1.23 MB / 0.5646 GB, free: 1.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4918, allocations: 4 kB / 0.5646 GB, free: 1.234 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.1315/0.6232, allocations: 1.873 MB / 0.5664 GB, free: 171.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6233, allocations: 6.875 kB / 0.5664 GB, free: 171.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.6233, allocations: 0 / 0.5664 GB, free: 171.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/0.635, allocations: 2.214 MB / 0.5686 GB, free: 171.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.6362, allocations: 235.8 kB / 0.5688 GB, free: 171.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004677/0.6408, allocations: 2.664 MB / 0.5714 GB, free: 170.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009995/0.6418, allocations: 142.3 kB / 0.5716 GB, free: 170.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.642, allocations: 71.91 kB / 0.5716 GB, free: 170.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(36,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0003674/0.6424, allocations: 246.8 kB / 0.5719 GB, free: 170.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000333/0.6427, allocations: 170.7 kB / 0.572 GB, free: 170.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00917/0.6519, allocations: 6 MB / 0.5779 GB, free: 168.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.851e-05/0.652, allocations: 111.6 kB / 0.578 GB, free: 168.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.652, allocations: 3.719 kB / 0.578 GB, free: 168.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.379e-05/0.652, allocations: 19.58 kB / 0.578 GB, free: 168.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008336/0.6603, allocations: 6.33 MB / 0.5842 GB, free: 163.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.6604, allocations: 0 / 0.5842 GB, free: 163.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002437/0.6628, allocations: 0.5103 MB / 0.5847 GB, free: 163.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004053/0.6668, allocations: 1.651 MB / 0.5863 GB, free: 161.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/0.6671, allocations: 79.94 kB / 0.5864 GB, free: 161.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009765/0.6769, allocations: 24.29 MB / 0.6101 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6769, allocations: 4 kB / 0.6101 GB, free: 135.9 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008433/0.6853, allocations: 5.469 MB / 0.6154 GB, free: 130.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.6864, allocations: 0.5667 MB / 0.616 GB, free: 129.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/0.6867, allocations: 82.77 kB / 0.6161 GB, free: 129.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009871/0.6877, allocations: 79.94 kB / 0.6162 GB, free: 129.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.688, allocations: 189.8 kB / 0.6163 GB, free: 129.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.6882, allocations: 75.97 kB / 0.6164 GB, free: 129.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002819/0.6884, allocations: 363 kB / 0.6168 GB, free: 129 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6884, allocations: 0 / 0.6168 GB, free: 129 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002931/0.6914, allocations: 1.292 MB / 0.618 GB, free: 127.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003155/0.6945, allocations: 1.182 MB / 0.6192 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005777/0.7003, allocations: 2.481 MB / 0.6216 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7003, allocations: 3.938 kB / 0.6216 GB, free: 124.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004027/0.7043, allocations: 3.204 MB / 0.6247 GB, free: 120.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/0.7075, allocations: 0.7547 MB / 0.6255 GB, free: 120 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006053/0.7136, allocations: 5.628 MB / 0.631 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.7142, allocations: 1.034 MB / 0.632 GB, free: 113.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009306/0.7152, allocations: 326.1 kB / 0.6323 GB, free: 112.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/0.7155, allocations: 112.5 kB / 0.6324 GB, free: 112.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7155, allocations: 0 / 0.6324 GB, free: 112.8 MB / 442.7 MB Notification: Performance of Templates: time 0.07764/0.7932, allocations: 75.25 MB / 0.7059 GB, free: 38.18 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.048678149934858]