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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 115.9 kB / 17.06 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 196 kB / 18.01 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2974/0.2974, allocations: 48.85 MB / 320.1 MB, free: 11.01 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 67.89 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1188, allocations: 59.15 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4535/0.5723, allocations: 160.8 MB / 0.6548 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.5868, allocations: 9.923 MB / 0.6645 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007171/0.5876, allocations: 3.938 kB / 0.6645 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006976/0.5884, allocations: 99.27 kB / 0.6645 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007422/0.5959, allocations: 2.098 MB / 0.6666 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008458/0.6043, allocations: 2.588 MB / 0.6691 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002432/0.6068, allocations: 2.224 MB / 0.6713 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.6079, allocations: 0.6324 MB / 0.6719 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.609, allocations: 0.694 MB / 0.6726 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.6125, allocations: 1.55 MB / 0.6741 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004146/0.6129, allocations: 120 kB / 0.6742 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/0.6255, allocations: 5.964 MB / 0.68 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.6269, allocations: 0.6158 MB / 0.6806 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001945/0.6289, allocations: 0.7005 MB / 0.6813 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.6392, allocations: 4.505 MB / 0.6857 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.6392, allocations: 0 / 0.6857 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6392, allocations: 0 / 0.6857 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.974e-05/0.6393, allocations: 4 kB / 0.6857 GB, free: 9.238 MB / 0.5294 GB 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.006873/0.6462, allocations: 2.02 MB / 0.6877 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6462, allocations: 19.83 kB / 0.6877 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002715/0.6489, allocations: 292.1 kB / 0.688 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.6502, allocations: 0.6437 MB / 0.6886 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.6503, allocations: 78.38 kB / 0.6887 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003756/0.6507, allocations: 140.3 kB / 0.6888 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/0.6546, allocations: 1.757 MB / 0.6906 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6546, allocations: 0 / 0.6906 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.6547, allocations: 44 kB / 0.6906 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.6548, allocations: 20 kB / 0.6906 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/0.6584, allocations: 1.846 MB / 0.6924 GB, free: 2.273 MB / 0.5294 GB 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.00682/0.6653, allocations: 4.741 MB / 0.6971 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005054/0.6703, allocations: 2.486 MB / 0.6995 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.6719, allocations: 1.084 MB / 0.7005 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04161/0.7135, allocations: 20.15 MB / 0.7202 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.7136, allocations: 56.55 kB / 0.7203 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.819e-06/0.7136, allocations: 3.938 kB / 0.7203 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01548/0.7292, allocations: 6.328 MB / 0.7265 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.7292, allocations: 73.41 kB / 0.7265 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.7298, allocations: 389.6 kB / 0.7269 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.73, allocations: 65.7 kB / 0.727 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7302, allocations: 203.5 kB / 0.7272 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007628/0.7309, allocations: 0.7706 MB / 0.7279 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005215/0.7315, allocations: 347.6 kB / 0.7282 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7316, allocations: 337.9 kB / 0.7286 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.7331, allocations: 0.9369 MB / 0.7295 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.7348, allocations: 1.091 MB / 0.7305 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/0.7383, allocations: 2.165 MB / 0.7327 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.7383, allocations: 0 / 0.7327 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005536/0.7438, allocations: 3.254 MB / 0.7358 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.7439, allocations: 4 kB / 0.7358 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.7439, allocations: 3.984 kB / 0.7358 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01301/0.7569, allocations: 2.661 MB / 0.7384 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.7584, allocations: 243.7 kB / 0.7387 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007876/0.7663, allocations: 4.099 MB / 0.7427 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.7676, allocations: 154.9 kB / 0.7428 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.7678, allocations: 71.97 kB / 0.7429 GB, free: 11.64 MB / 0.5919 GB 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.0006465/0.7685, allocations: 334.2 kB / 0.7432 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.7688, allocations: 107.3 kB / 0.7433 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/0.7816, allocations: 8.939 MB / 0.752 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.7817, allocations: 111.8 kB / 0.7521 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/0.7818, allocations: 4 kB / 0.7521 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.7818, allocations: 11.95 kB / 0.7522 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2507/1.032, allocations: 10.69 MB / 0.7626 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/1.033, allocations: 3.938 kB / 0.7626 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00293/1.035, allocations: 0.5104 MB / 0.7631 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005058/1.041, allocations: 2.129 MB / 0.7652 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004558/1.041, allocations: 80.64 kB / 0.7653 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01272/1.054, allocations: 20.65 MB / 0.7854 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.054, allocations: 1.797 kB / 0.7854 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/1.068, allocations: 9.707 MB / 0.7949 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.069, allocations: 0.672 MB / 0.7956 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.07, allocations: 85.19 kB / 0.7956 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/1.071, allocations: 80.48 kB / 0.7957 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/1.071, allocations: 174.6 kB / 0.7959 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.071, allocations: 78.55 kB / 0.796 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003913/1.072, allocations: 377.8 kB / 0.7963 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/1.072, allocations: 0 / 0.7963 GB, free: 190.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003214/1.075, allocations: 1.276 MB / 0.7976 GB, free: 190 MB / 0.5919 GB 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.003556/1.078, allocations: 1.075 MB / 0.7986 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0076/1.086, allocations: 3.978 MB / 0.8025 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.086, allocations: 0 / 0.8025 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004909/1.091, allocations: 3.776 MB / 0.8062 GB, free: 186.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/1.095, allocations: 0.7895 MB / 0.807 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/1.102, allocations: 7.163 MB / 0.814 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/1.103, allocations: 1.643 MB / 0.8156 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001108/1.104, allocations: 422.3 kB / 0.816 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/1.105, allocations: 111.3 kB / 0.8161 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of SimCode: time 6.72e-07/1.105, allocations: 0 / 0.8161 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.08424/1.189, allocations: 79.27 MB / 0.8935 GB, free: 97.37 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)