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.001225/0.001225, allocations: 109.8 kB / 16.62 MB, free: 6.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.001051/0.001051, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.359/1.359, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2714/0.2714, allocations: 48.83 MB / 319.6 MB, free: 11.28 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.001417/0.001417, allocations: 68.05 kB / 389.6 MB, free: 48.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1058, allocations: 59.16 MB / 448.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3609/0.4668, allocations: 158.9 MB / 0.5934 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.478, allocations: 9.993 MB / 0.6032 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003086/0.4783, allocations: 8.812 kB / 0.6032 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.4787, allocations: 82 kB / 0.6033 GB, free: 6.508 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004857/0.4836, allocations: 1.875 MB / 0.6051 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006648/0.4903, allocations: 2.277 MB / 0.6073 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.4923, allocations: 2.238 MB / 0.6095 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.493, allocations: 0.6316 MB / 0.6101 GB, free: 2.266 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007353/0.4937, allocations: 0.7118 MB / 0.6108 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002679/0.4964, allocations: 1.643 MB / 0.6124 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.4966, allocations: 122.1 kB / 0.6125 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.5068, allocations: 5.881 MB / 0.6183 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007516/0.5076, allocations: 0.6275 MB / 0.6189 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008437/0.5084, allocations: 0.6888 MB / 0.6196 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008567/0.517, allocations: 4.521 MB / 0.624 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5171, allocations: 0 / 0.624 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5171, allocations: 0 / 0.624 GB, free: 7.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.5171, allocations: 0 / 0.624 GB, free: 7.238 MB / 446.1 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.005809/0.5229, allocations: 1.989 MB / 0.6259 GB, free: 5.195 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.523, allocations: 15.89 kB / 0.6259 GB, free: 5.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.5255, allocations: 283.5 kB / 0.6262 GB, free: 4.902 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.5264, allocations: 0.6434 MB / 0.6268 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.5265, allocations: 82.38 kB / 0.6269 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.5267, allocations: 132.4 kB / 0.627 GB, free: 4.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.5301, allocations: 1.753 MB / 0.6288 GB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5302, allocations: 7.938 kB / 0.6288 GB, free: 2.223 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001332/0.5303, allocations: 40 kB / 0.6288 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.5303, allocations: 24 kB / 0.6288 GB, free: 2.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003601/0.5339, allocations: 1.834 MB / 0.6306 GB, free: 336 kB / 446.1 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.006432/0.5404, allocations: 4.732 MB / 0.6352 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005032/0.5454, allocations: 2.476 MB / 0.6377 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.547, allocations: 1.092 MB / 0.6387 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0402/0.5872, allocations: 20.06 MB / 0.6583 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/0.5873, allocations: 52.56 kB / 0.6584 GB, free: 1.461 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 3.858e-06/0.5873, allocations: 4 kB / 0.6584 GB, free: 1.457 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01434/0.6017, allocations: 6.331 MB / 0.6645 GB, free: 10.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.6017, allocations: 77.34 kB / 0.6646 GB, free: 10.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004286/0.6022, allocations: 385.7 kB / 0.665 GB, free: 10.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.6023, allocations: 61.7 kB / 0.665 GB, free: 10.19 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.6025, allocations: 215.3 kB / 0.6652 GB, free: 9.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/0.6031, allocations: 0.7238 MB / 0.666 GB, free: 9.242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005262/0.6036, allocations: 343.6 kB / 0.6663 GB, free: 8.898 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6038, allocations: 334 kB / 0.6666 GB, free: 8.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.6053, allocations: 0.933 MB / 0.6675 GB, free: 7.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.6069, allocations: 1.103 MB / 0.6686 GB, free: 6.516 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/0.6103, allocations: 2.165 MB / 0.6707 GB, free: 4.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.6103, allocations: 0 / 0.6707 GB, free: 4.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005277/0.6156, allocations: 3.249 MB / 0.6739 GB, free: 1.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.6156, allocations: 8 kB / 0.6739 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.6156, allocations: 7.859 kB / 0.6739 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/0.6282, allocations: 2.681 MB / 0.6765 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.6296, allocations: 239.7 kB / 0.6767 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006674/0.6363, allocations: 4.091 MB / 0.6807 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.6376, allocations: 162.3 kB / 0.6809 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.6377, allocations: 75.91 kB / 0.681 GB, free: 9.801 MB / 0.4981 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.0005652/0.6383, allocations: 337.6 kB / 0.6813 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002555/0.6386, allocations: 102.9 kB / 0.6814 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.6507, allocations: 8.942 MB / 0.6901 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.6508, allocations: 115.8 kB / 0.6902 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.6508, allocations: 4 kB / 0.6902 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-05/0.6509, allocations: 11.95 kB / 0.6902 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.6651, allocations: 10.68 MB / 0.7007 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.6652, allocations: 0 / 0.7007 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002786/0.668, allocations: 0.5112 MB / 0.7012 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004968/0.673, allocations: 2.157 MB / 0.7033 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003671/0.6733, allocations: 83.94 kB / 0.7034 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/0.6893, allocations: 20.64 MB / 0.7235 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6893, allocations: 0 / 0.7235 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/0.7034, allocations: 9.7 MB / 0.733 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.7045, allocations: 0.6643 MB / 0.7336 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.7047, allocations: 79.72 kB / 0.7337 GB, free: 1.691 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.7059, allocations: 87.84 kB / 0.7338 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004333/0.7064, allocations: 174 kB / 0.734 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.7066, allocations: 87.91 kB / 0.734 GB, free: 1.348 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004472/0.707, allocations: 374.8 kB / 0.7344 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.707, allocations: 4 kB / 0.7344 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.192/0.8991, allocations: 1.264 MB / 0.7356 GB, free: 223.5 MB / 0.545 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.004035/0.9031, allocations: 1.057 MB / 0.7367 GB, free: 223.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01884/0.922, allocations: 6.577 MB / 0.7431 GB, free: 223.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.922, allocations: 2.531 kB / 0.7431 GB, free: 223.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005804/0.9279, allocations: 3.766 MB / 0.7468 GB, free: 221.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/0.9319, allocations: 0.7998 MB / 0.7476 GB, free: 221.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.9426, allocations: 8.214 MB / 0.7556 GB, free: 217 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000975/0.9436, allocations: 1.646 MB / 0.7572 GB, free: 216.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00147/0.9451, allocations: 420.8 kB / 0.7576 GB, free: 216.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.9456, allocations: 108.5 kB / 0.7577 GB, free: 216.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.9456, allocations: 0 / 0.7577 GB, free: 216.1 MB / 0.545 GB Notification: Performance of Templates: time 0.07597/1.022, allocations: 78.38 MB / 0.8342 GB, free: 142.9 MB / 0.545 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)