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.0008852/0.0008852, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009158/0.0009158, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9048/0.9048, allocations: 158.6 MB / 187.5 MB, free: 2.801 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.182/0.182, allocations: 36.34 MB / 276.2 MB, free: 14.38 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.072e-06/1.072e-06, allocations: 0 / 355.1 MB, free: 62.57 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.829e-05, allocations: 7.078 kB / 355.1 MB, free: 62.56 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1236/0.1236, allocations: 146.6 MB / 0.4899 GB, free: 3.703 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009323/0.1329, allocations: 9.651 MB / 0.4994 GB, free: 10.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.1333, allocations: 15.88 kB / 0.4994 GB, free: 10.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.1337, allocations: 107.1 kB / 0.4995 GB, free: 9.902 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005696/0.1394, allocations: 2.103 MB / 0.5015 GB, free: 7.793 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005656/0.145, allocations: 2.599 MB / 0.5041 GB, free: 5.184 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.1467, allocations: 2.257 MB / 0.5063 GB, free: 2.922 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000868/0.1476, allocations: 0.6652 MB / 0.5069 GB, free: 2.262 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009633/0.1486, allocations: 0.9438 MB / 0.5078 GB, free: 1.316 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1833/0.3318, allocations: 1.539 MB / 0.5093 GB, free: 8.492 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.3323, allocations: 119 kB / 0.5095 GB, free: 8.492 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008066/0.3403, allocations: 5.722 MB / 0.515 GB, free: 8.492 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000512/0.3408, allocations: 0.6582 MB / 0.5157 GB, free: 8.492 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000752/0.3416, allocations: 0.5544 MB / 0.5162 GB, free: 8.492 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009401/0.351, allocations: 5.252 MB / 0.5214 GB, free: 8.387 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.351, allocations: 0.875 kB / 0.5214 GB, free: 8.387 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.351, allocations: 1.969 kB / 0.5214 GB, free: 8.387 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.961e-05/0.351, allocations: 3.828 kB / 0.5214 GB, free: 8.387 MB / 426.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.005318/0.3563, allocations: 1.969 MB / 0.5233 GB, free: 7.543 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3564, allocations: 10.72 kB / 0.5233 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.3582, allocations: 479.8 kB / 0.5238 GB, free: 7.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008153/0.359, allocations: 0.5763 MB / 0.5243 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.359, allocations: 77.62 kB / 0.5244 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002006/0.3592, allocations: 129.7 kB / 0.5245 GB, free: 7.172 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.3611, allocations: 1.148 MB / 0.5256 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.3611, allocations: 384 / 0.5256 GB, free: 7.031 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.3612, allocations: 43.44 kB / 0.5257 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.3612, allocations: 23.91 kB / 0.5257 GB, free: 7.027 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.3628, allocations: 0.8342 MB / 0.5265 GB, free: 7.016 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.003825/0.3667, allocations: 3.021 MB / 0.5295 GB, free: 6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.3691, allocations: 1.191 MB / 0.5306 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005602/0.3696, allocations: 393.4 kB / 0.531 GB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0189/0.3885, allocations: 9.781 MB / 0.5406 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.3886, allocations: 58.11 kB / 0.5406 GB, free: 5.523 MB / 426.7 MB Notification: Performance of pre-optimization done (n=207): time 3.617e-06/0.3886, allocations: 0 / 0.5406 GB, free: 5.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=207): time 0.005936/0.3945, allocations: 3.083 MB / 0.5436 GB, free: 5.074 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.3945, allocations: 74.56 kB / 0.5437 GB, free: 5.008 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.3948, allocations: 367.3 kB / 0.544 GB, free: 4.832 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.3949, allocations: 62.17 kB / 0.5441 GB, free: 4.801 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.395, allocations: 264.1 kB / 0.5444 GB, free: 4.637 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.3953, allocations: 0.7875 MB / 0.5451 GB, free: 4.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.3957, allocations: 368 kB / 0.5455 GB, free: 4.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.396, allocations: 0.5036 MB / 0.546 GB, free: 19.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.3964, allocations: 275.3 kB / 0.5462 GB, free: 19.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.3969, allocations: 0.5656 MB / 0.5468 GB, free: 19.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009592/0.3978, allocations: 0.8656 MB / 0.5476 GB, free: 19.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3978, allocations: 0 / 0.5476 GB, free: 19.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.001961/0.3998, allocations: 1.495 MB / 0.5491 GB, free: 19.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3998, allocations: 5.5 kB / 0.5491 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3998, allocations: 0 / 0.5491 GB, free: 19.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005405/0.4052, allocations: 1.943 MB / 0.551 GB, free: 19.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/0.4059, allocations: 233.6 kB / 0.5512 GB, free: 19.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.4087, allocations: 2.29 MB / 0.5535 GB, free: 18.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007054/0.4094, allocations: 138.3 kB / 0.5536 GB, free: 18.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.4095, allocations: 63.95 kB / 0.5536 GB, free: 18.13 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.0004199/0.41, allocations: 237.6 kB / 0.5539 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002625/0.4102, allocations: 169.7 kB / 0.554 GB, free: 17.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/0.4153, allocations: 5.411 MB / 0.5593 GB, free: 16.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.877e-05/0.4154, allocations: 115.8 kB / 0.5594 GB, free: 16.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.4154, allocations: 4.688 kB / 0.5594 GB, free: 16.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.4154, allocations: 11.95 kB / 0.5594 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005863/0.4213, allocations: 5.648 MB / 0.565 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.4213, allocations: 0 / 0.565 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.4227, allocations: 0.4903 MB / 0.5654 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/0.4249, allocations: 1.554 MB / 0.567 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/0.4251, allocations: 78.89 kB / 0.567 GB, free: 11.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009355/0.4345, allocations: 23.68 MB / 0.5902 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4345, allocations: 0 / 0.5902 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005793/0.4403, allocations: 4.626 MB / 0.5947 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.441, allocations: 0.5329 MB / 0.5952 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.4412, allocations: 77.02 kB / 0.5953 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.4417, allocations: 69.72 kB / 0.5953 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/0.442, allocations: 186.5 kB / 0.5955 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.4421, allocations: 61.41 kB / 0.5956 GB, free: 14.45 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001971/0.4423, allocations: 299.7 kB / 0.5959 GB, free: 14.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4423, allocations: 4 kB / 0.5959 GB, free: 14.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00422/0.4466, allocations: 1.276 MB / 0.5971 GB, free: 13 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.00416/0.4507, allocations: 1.212 MB / 0.5983 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003908/0.4546, allocations: 2.044 MB / 0.6003 GB, free: 9.953 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4546, allocations: 0 / 0.6003 GB, free: 9.953 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/0.4573, allocations: 2.932 MB / 0.6031 GB, free: 7.047 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002074/0.4593, allocations: 0.7428 MB / 0.6039 GB, free: 6.422 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006852/0.4662, allocations: 5.476 MB / 0.6092 GB, free: 1.426 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.4666, allocations: 0.5471 MB / 0.6098 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0008144/0.4674, allocations: 205.6 kB / 0.6099 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.4685, allocations: 0.58 MB / 0.6105 GB, free: 104 kB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4685, allocations: 0 / 0.6105 GB, free: 104 kB / 474.7 MB Notification: Performance of Templates: time 0.0872/0.5557, allocations: 86.22 MB / 0.6947 GB, free: 10.73 MB / 0.5573 GB " [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.869368700776249]