Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009841/0.0009841, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.0009538/0.0009538, allocations: 166.2 kB / 24.99 MB, free: 9.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8239/0.8239, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1575/0.1575, allocations: 36.34 MB / 275.4 MB, free: 10.81 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 353.8 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.93e-05, allocations: 2.312 kB / 353.8 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.257/0.2571, allocations: 153.8 MB / 0.4957 GB, free: 15.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008645/0.2657, allocations: 9.797 MB / 0.5053 GB, free: 7.336 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.266, allocations: 11.88 kB / 0.5053 GB, free: 7.324 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.2663, allocations: 99.3 kB / 0.5054 GB, free: 7.227 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003506/0.2698, allocations: 2.113 MB / 0.5075 GB, free: 5.105 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.2746, allocations: 2.598 MB / 0.51 GB, free: 2.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001661/0.2763, allocations: 2.257 MB / 0.5122 GB, free: 244 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.2768, allocations: 0.6605 MB / 0.5128 GB, free: 15.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007022/0.2775, allocations: 0.9477 MB / 0.5138 GB, free: 14.62 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.2793, allocations: 1.535 MB / 0.5153 GB, free: 13.08 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2794, allocations: 116 kB / 0.5154 GB, free: 12.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006661/0.2861, allocations: 5.724 MB / 0.521 GB, free: 7.234 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.2865, allocations: 0.6549 MB / 0.5216 GB, free: 6.578 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004242/0.2869, allocations: 0.5498 MB / 0.5222 GB, free: 6.027 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005196/0.2921, allocations: 5.265 MB / 0.5273 GB, free: 0.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2921, allocations: 0 / 0.5273 GB, free: 0.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2921, allocations: 0 / 0.5273 GB, free: 0.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.2921, allocations: 4 kB / 0.5273 GB, free: 0.7461 MB / 394.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.003076/0.2952, allocations: 2.041 MB / 0.5293 GB, free: 14.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2952, allocations: 8.031 kB / 0.5293 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00183/0.297, allocations: 486.4 kB / 0.5298 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.2977, allocations: 0.6203 MB / 0.5304 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.928e-05/0.2978, allocations: 78.38 kB / 0.5304 GB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.2979, allocations: 136.2 kB / 0.5306 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.3, allocations: 1.228 MB / 0.5318 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.3001, allocations: 384 / 0.5318 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/0.3001, allocations: 39.94 kB / 0.5318 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.3002, allocations: 27.98 kB / 0.5318 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.3019, allocations: 0.9754 MB / 0.5328 GB, free: 11.01 MB / 410.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.003598/0.3055, allocations: 3.195 MB / 0.5359 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00248/0.308, allocations: 1.312 MB / 0.5372 GB, free: 6.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006542/0.3086, allocations: 481.4 kB / 0.5376 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/0.3285, allocations: 11.32 MB / 0.5487 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.3286, allocations: 63.33 kB / 0.5488 GB, free: 10.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=207): time 3.496e-06/0.3286, allocations: 0 / 0.5488 GB, free: 10.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=207): time 0.00699/0.3356, allocations: 3.452 MB / 0.5521 GB, free: 7.027 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3356, allocations: 73.41 kB / 0.5522 GB, free: 6.945 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.3359, allocations: 362.8 kB / 0.5525 GB, free: 6.578 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.336, allocations: 65.7 kB / 0.5526 GB, free: 6.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.3361, allocations: 270.2 kB / 0.5529 GB, free: 6.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/0.3368, allocations: 0.7785 MB / 0.5536 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/0.3372, allocations: 349.2 kB / 0.554 GB, free: 5.102 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.3373, allocations: 0.5043 MB / 0.5545 GB, free: 4.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.3379, allocations: 363.8 kB / 0.5548 GB, free: 4.234 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007572/0.3387, allocations: 0.6473 MB / 0.5554 GB, free: 3.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.3401, allocations: 1.027 MB / 0.5564 GB, free: 2.516 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3401, allocations: 0 / 0.5564 GB, free: 2.516 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.002442/0.3425, allocations: 1.715 MB / 0.5581 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3426, allocations: 11.92 kB / 0.5581 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3426, allocations: 10.61 kB / 0.5581 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006015/0.3486, allocations: 2.084 MB / 0.5602 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005624/0.3491, allocations: 240.6 kB / 0.5604 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.352, allocations: 2.474 MB / 0.5628 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004919/0.3524, allocations: 150.8 kB / 0.563 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.3525, allocations: 71.97 kB / 0.563 GB, free: 11.73 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.0002758/0.3528, allocations: 232.5 kB / 0.5632 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/0.353, allocations: 163.4 kB / 0.5634 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/0.3592, allocations: 5.959 MB / 0.5692 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/0.3593, allocations: 119.8 kB / 0.5693 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.3593, allocations: 0 / 0.5693 GB, free: 5.094 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.3593, allocations: 19.94 kB / 0.5694 GB, free: 5.074 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006592/0.3659, allocations: 6.26 MB / 0.5755 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3659, allocations: 4 kB / 0.5755 GB, free: 14.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.3672, allocations: 0.5034 MB / 0.576 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/0.3695, allocations: 1.647 MB / 0.5776 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.3696, allocations: 79.94 kB / 0.5776 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00929/0.3789, allocations: 24.09 MB / 0.6012 GB, free: 2.824 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3789, allocations: 4.125 kB / 0.6012 GB, free: 2.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1225/0.5014, allocations: 5.327 MB / 0.6064 GB, free: 194.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.5021, allocations: 0.5623 MB / 0.6069 GB, free: 194.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001805/0.5023, allocations: 83.95 kB / 0.607 GB, free: 194.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.5029, allocations: 80.56 kB / 0.6071 GB, free: 194.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/0.5032, allocations: 183.7 kB / 0.6073 GB, free: 194.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/0.5033, allocations: 82.95 kB / 0.6073 GB, free: 194.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002339/0.5036, allocations: 317.7 kB / 0.6076 GB, free: 194 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5036, allocations: 0 / 0.6076 GB, free: 194 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0024/0.506, allocations: 1.28 MB / 0.6089 GB, free: 194 MB / 474.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.002464/0.5084, allocations: 1.181 MB / 0.61 GB, free: 193.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00346/0.5119, allocations: 2.352 MB / 0.6123 GB, free: 193.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5119, allocations: 3.25 kB / 0.6123 GB, free: 193.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.5141, allocations: 3.135 MB / 0.6154 GB, free: 192.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.5158, allocations: 0.751 MB / 0.6161 GB, free: 192 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.521, allocations: 5.585 MB / 0.6216 GB, free: 187.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.5214, allocations: 0.5488 MB / 0.6221 GB, free: 186.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000662/0.522, allocations: 319.8 kB / 0.6224 GB, free: 186.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.5223, allocations: 107.9 kB / 0.6225 GB, free: 186.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5223, allocations: 0 / 0.6225 GB, free: 186.6 MB / 474.7 MB Notification: Performance of Templates: time 0.05345/0.5758, allocations: 75.16 MB / 0.6959 GB, free: 111.7 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.333618124015629]