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.001558/0.001558, allocations: 103.8 kB / 16.92 MB, free: 5.855 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.001775/0.001775, allocations: 191.3 kB / 17.85 MB, free: 5.176 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.383/1.383, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3088/0.3088, allocations: 48.84 MB / 319.9 MB, free: 11.1 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.001509/0.001509, allocations: 68.69 kB / 390.1 MB, free: 48.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 59.16 MB / 449.2 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4399/0.5544, allocations: 160.8 MB / 0.5957 GB, free: 11.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.5667, allocations: 9.928 MB / 0.6054 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004463/0.5672, allocations: 2.031 kB / 0.6054 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004671/0.5678, allocations: 101.9 kB / 0.6055 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005995/0.5738, allocations: 2.101 MB / 0.6076 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008508/0.5823, allocations: 2.573 MB / 0.6101 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002515/0.5848, allocations: 2.226 MB / 0.6123 GB, free: 264 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.5861, allocations: 0.6351 MB / 0.6129 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.5874, allocations: 0.6923 MB / 0.6135 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.5909, allocations: 1.555 MB / 0.6151 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.5912, allocations: 118.1 kB / 0.6152 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.6018, allocations: 5.819 MB / 0.6209 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007979/0.6026, allocations: 0.6235 MB / 0.6215 GB, free: 9.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008902/0.6035, allocations: 0.685 MB / 0.6221 GB, free: 9.148 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008829/0.6124, allocations: 4.506 MB / 0.6265 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6124, allocations: 0 / 0.6265 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.6124, allocations: 0 / 0.6265 GB, free: 4.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.6124, allocations: 0 / 0.6265 GB, free: 4.633 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.005826/0.6183, allocations: 1.985 MB / 0.6285 GB, free: 2.594 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6183, allocations: 15.89 kB / 0.6285 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.6209, allocations: 287.4 kB / 0.6288 GB, free: 2.297 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.6221, allocations: 0.6473 MB / 0.6294 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.6222, allocations: 86.36 kB / 0.6295 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/0.6224, allocations: 132.4 kB / 0.6296 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.626, allocations: 1.749 MB / 0.6313 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.626, allocations: 12.62 kB / 0.6313 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.6262, allocations: 40 kB / 0.6314 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.6262, allocations: 20 kB / 0.6314 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003596/0.6298, allocations: 1.838 MB / 0.6332 GB, free: 13.72 MB / 462.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.007048/0.6369, allocations: 4.729 MB / 0.6378 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005167/0.642, allocations: 2.48 MB / 0.6402 GB, free: 6.273 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/0.6438, allocations: 1.084 MB / 0.6413 GB, free: 5.188 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04517/0.689, allocations: 20.06 MB / 0.6609 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.689, allocations: 56.56 kB / 0.6609 GB, free: 14.86 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 4.278e-06/0.6891, allocations: 0 / 0.6609 GB, free: 14.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01656/0.7056, allocations: 6.335 MB / 0.6671 GB, free: 8.125 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.7057, allocations: 77.34 kB / 0.6672 GB, free: 8.035 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.7062, allocations: 385.7 kB / 0.6676 GB, free: 7.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003099/0.7066, allocations: 69.64 kB / 0.6676 GB, free: 7.578 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.7068, allocations: 203.3 kB / 0.6678 GB, free: 7.375 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008196/0.7076, allocations: 0.7277 MB / 0.6685 GB, free: 6.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007339/0.7083, allocations: 351.5 kB / 0.6689 GB, free: 6.285 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.7085, allocations: 334 kB / 0.6692 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.7103, allocations: 0.9369 MB / 0.6701 GB, free: 5.016 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.7121, allocations: 1.091 MB / 0.6712 GB, free: 3.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/0.7159, allocations: 2.165 MB / 0.6733 GB, free: 1.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.7159, allocations: 0 / 0.6733 GB, free: 1.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00576/0.7217, allocations: 3.255 MB / 0.6765 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.7217, allocations: 4 kB / 0.6765 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7217, allocations: 0 / 0.6765 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01274/0.7345, allocations: 2.684 MB / 0.6791 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.7358, allocations: 239.7 kB / 0.6793 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007685/0.7436, allocations: 4.091 MB / 0.6833 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.7449, allocations: 162.3 kB / 0.6835 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/0.7452, allocations: 67.97 kB / 0.6835 GB, free: 7.207 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.000707/0.7459, allocations: 337.6 kB / 0.6838 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/0.7463, allocations: 98.88 kB / 0.6839 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.7597, allocations: 8.954 MB / 0.6927 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/0.7599, allocations: 115.8 kB / 0.6928 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.388e-05/0.7599, allocations: 4 kB / 0.6928 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.349e-05/0.7599, allocations: 19.88 kB / 0.6928 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.7759, allocations: 10.68 MB / 0.7032 GB, free: 2.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/0.776, allocations: 8.031 kB / 0.7032 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002873/0.7789, allocations: 0.5033 MB / 0.7037 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005161/0.784, allocations: 2.156 MB / 0.7058 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003866/0.7845, allocations: 79.95 kB / 0.7059 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/0.8015, allocations: 20.65 MB / 0.7261 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8015, allocations: 0 / 0.7261 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2704/1.072, allocations: 9.697 MB / 0.7356 GB, free: 222.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.074, allocations: 0.6603 MB / 0.7362 GB, free: 222 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/1.074, allocations: 76.84 kB / 0.7363 GB, free: 222 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/1.076, allocations: 84.36 kB / 0.7364 GB, free: 222 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006723/1.077, allocations: 167.2 kB / 0.7365 GB, free: 222 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003672/1.077, allocations: 83.92 kB / 0.7366 GB, free: 222 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005561/1.078, allocations: 374.7 kB / 0.7369 GB, free: 221.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.61e-07/1.078, allocations: 0 / 0.7369 GB, free: 221.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004804/1.083, allocations: 1.269 MB / 0.7382 GB, free: 221.9 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.005627/1.088, allocations: 1.051 MB / 0.7392 GB, free: 221.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02076/1.109, allocations: 6.585 MB / 0.7456 GB, free: 221.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.109, allocations: 2.719 kB / 0.7456 GB, free: 221.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007319/1.116, allocations: 3.769 MB / 0.7493 GB, free: 219.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/1.121, allocations: 0.8011 MB / 0.7501 GB, free: 219.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.132, allocations: 7.162 MB / 0.7571 GB, free: 216.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009651/1.133, allocations: 1.65 MB / 0.7587 GB, free: 215.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001633/1.135, allocations: 416 kB / 0.7591 GB, free: 215.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004117/1.135, allocations: 107.2 kB / 0.7592 GB, free: 215.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/1.135, allocations: 0 / 0.7592 GB, free: 215.2 MB / 0.545 GB Notification: Performance of Templates: time 0.0952/1.23, allocations: 78.5 MB / 0.8359 GB, free: 141.4 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)