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.0009052/0.0009052, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009268/0.0009268, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.7544/0.7544, allocations: 158.6 MB / 186.4 MB, free: 2.93 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.1576/0.1576, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.473e-06/1.473e-06, allocations: 0 / 353.8 MB, free: 3.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.301e-05, allocations: 2.312 kB / 353.8 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2451/0.2451, allocations: 149.5 MB / 0.4915 GB, free: 2.133 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007456/0.2526, allocations: 9.807 MB / 0.5011 GB, free: 11.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002335/0.2528, allocations: 11.88 kB / 0.5011 GB, free: 11.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.2532, allocations: 103.1 kB / 0.5012 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.257, allocations: 2.101 MB / 0.5032 GB, free: 9.309 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005322/0.2624, allocations: 2.602 MB / 0.5058 GB, free: 6.699 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001985/0.2644, allocations: 2.265 MB / 0.508 GB, free: 4.43 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009175/0.2653, allocations: 0.6644 MB / 0.5086 GB, free: 3.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.2664, allocations: 0.9477 MB / 0.5096 GB, free: 2.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.2692, allocations: 1.539 MB / 0.5111 GB, free: 1.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002139/0.2694, allocations: 120 kB / 0.5112 GB, free: 1.152 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009167/0.2786, allocations: 5.72 MB / 0.5168 GB, free: 11.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008847/0.2795, allocations: 0.6628 MB / 0.5174 GB, free: 10.76 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.2802, allocations: 0.5498 MB / 0.5179 GB, free: 10.21 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008022/0.2882, allocations: 5.257 MB / 0.5231 GB, free: 4.941 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2882, allocations: 0 / 0.5231 GB, free: 4.941 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2882, allocations: 0 / 0.5231 GB, free: 4.941 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.022e-05/0.2883, allocations: 0 / 0.5231 GB, free: 4.941 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.004545/0.2928, allocations: 2.045 MB / 0.5251 GB, free: 2.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2929, allocations: 12.03 kB / 0.5251 GB, free: 2.844 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.2951, allocations: 490.5 kB / 0.5256 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008742/0.296, allocations: 0.6126 MB / 0.5262 GB, free: 1.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.296, allocations: 78.38 kB / 0.5262 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/0.2962, allocations: 132.2 kB / 0.5264 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.2986, allocations: 1.228 MB / 0.5276 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.2986, allocations: 384 / 0.5276 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.2987, allocations: 43.94 kB / 0.5276 GB, free: 212 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2987, allocations: 24 kB / 0.5276 GB, free: 188 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.301, allocations: 0.9793 MB / 0.5286 GB, free: 15.2 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.004768/0.3057, allocations: 3.196 MB / 0.5317 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.3088, allocations: 1.311 MB / 0.533 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.3096, allocations: 477.4 kB / 0.5334 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0198/0.3294, allocations: 11.32 MB / 0.5445 GB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.3294, allocations: 59.33 kB / 0.5445 GB, free: 14.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=207): time 3.757e-06/0.3294, allocations: 0 / 0.5445 GB, free: 14.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=207): time 0.007428/0.3369, allocations: 3.444 MB / 0.5479 GB, free: 11.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3369, allocations: 73.41 kB / 0.548 GB, free: 11.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.3372, allocations: 374.7 kB / 0.5483 GB, free: 10.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.3373, allocations: 61.7 kB / 0.5484 GB, free: 10.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.3375, allocations: 266.2 kB / 0.5486 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005536/0.3381, allocations: 0.7785 MB / 0.5494 GB, free: 9.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/0.3385, allocations: 353.2 kB / 0.5497 GB, free: 9.305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3387, allocations: 0.5043 MB / 0.5502 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007721/0.3395, allocations: 359.8 kB / 0.5506 GB, free: 8.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009591/0.3404, allocations: 0.6512 MB / 0.5512 GB, free: 7.746 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.3425, allocations: 1.027 MB / 0.5522 GB, free: 6.719 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.3425, allocations: 0 / 0.5522 GB, free: 6.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003265/0.3458, allocations: 1.719 MB / 0.5539 GB, free: 4.988 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.3458, allocations: 8 kB / 0.5539 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3458, allocations: 3.984 kB / 0.5539 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00753/0.3533, allocations: 2.095 MB / 0.556 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.3541, allocations: 235.7 kB / 0.5562 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00373/0.3578, allocations: 2.47 MB / 0.5586 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.3585, allocations: 146.9 kB / 0.5587 GB, free: 0 / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.3587, allocations: 71.97 kB / 0.5588 GB, free: 15.93 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.000348/0.359, allocations: 232.5 kB / 0.559 GB, free: 15.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005424/0.3596, allocations: 171.4 kB / 0.5592 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00753/0.3671, allocations: 5.961 MB / 0.565 GB, free: 9.402 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-05/0.3672, allocations: 111.8 kB / 0.5651 GB, free: 9.293 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.3672, allocations: 4 kB / 0.5651 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/0.3672, allocations: 15.98 kB / 0.5651 GB, free: 9.273 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/0.3756, allocations: 6.272 MB / 0.5713 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.3756, allocations: 3.938 kB / 0.5713 GB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.3775, allocations: 0.5112 MB / 0.5718 GB, free: 2.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003284/0.3808, allocations: 1.639 MB / 0.5734 GB, free: 0.5703 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.381, allocations: 79.94 kB / 0.5734 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.3929, allocations: 24.08 MB / 0.597 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3929, allocations: 7.938 kB / 0.597 GB, free: 7.008 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007231/0.4002, allocations: 5.312 MB / 0.6022 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.4008, allocations: 0.5669 MB / 0.6027 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.4009, allocations: 79.81 kB / 0.6028 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.4014, allocations: 87.89 kB / 0.6029 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002655/0.4017, allocations: 189.7 kB / 0.603 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.4018, allocations: 79.97 kB / 0.6031 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.402, allocations: 315 kB / 0.6034 GB, free: 208 kB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.402, allocations: 0 / 0.6034 GB, free: 208 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.1523/0.5542, allocations: 1.277 MB / 0.6047 GB, free: 95.63 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.002983/0.5572, allocations: 1.182 MB / 0.6058 GB, free: 95.53 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004087/0.5613, allocations: 2.359 MB / 0.6081 GB, free: 95.36 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5613, allocations: 0 / 0.6081 GB, free: 95.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002371/0.5637, allocations: 3.14 MB / 0.6112 GB, free: 93.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.5655, allocations: 0.7429 MB / 0.6119 GB, free: 93.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.571, allocations: 5.59 MB / 0.6174 GB, free: 91.84 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.5713, allocations: 0.5453 MB / 0.6179 GB, free: 91.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006929/0.572, allocations: 324.5 kB / 0.6182 GB, free: 91.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.5723, allocations: 107.5 kB / 0.6183 GB, free: 91.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.914e-06/0.5723, allocations: 4 kB / 0.6183 GB, free: 91.65 MB / 474.7 MB Notification: Performance of Templates: time 0.07095/0.6433, allocations: 86.9 MB / 0.7032 GB, free: 22.16 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.672528035007417]