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.0008413/0.0008414, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.0008796/0.0008796, allocations: 182.1 kB / 17.19 MB, free: 5.906 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.387/1.387, allocations: 205.4 MB / 223.4 MB, free: 5.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4124/0.4124, allocations: 48.77 MB / 320.4 MB, free: 3.84 MB / 254.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.0005003/0.0005006, allocations: 16 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1239, allocations: 60.25 MB / 451.4 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3702/0.4941, allocations: 136.3 MB / 0.574 GB, free: 4.875 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01043/0.5046, allocations: 8.549 MB / 0.5823 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.5052, allocations: 3.938 kB / 0.5823 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004262/0.5056, allocations: 87.5 kB / 0.5824 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00544/0.5111, allocations: 1.544 MB / 0.5839 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007441/0.5185, allocations: 2.036 MB / 0.5859 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.5203, allocations: 1.314 MB / 0.5872 GB, free: 7.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006771/0.521, allocations: 0.5426 MB / 0.5877 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.5217, allocations: 0.5652 MB / 0.5883 GB, free: 6.23 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0036/0.5253, allocations: 1.955 MB / 0.5902 GB, free: 4.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.5255, allocations: 60 kB / 0.5902 GB, free: 4.215 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01127/0.5367, allocations: 5.747 MB / 0.5958 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000752/0.5375, allocations: 0.5145 MB / 0.5963 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005016/0.5381, allocations: 241.2 kB / 0.5966 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.5435, allocations: 3.033 MB / 0.5995 GB, free: 10.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5435, allocations: 4 kB / 0.5995 GB, free: 10.67 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5435, allocations: 0 / 0.5995 GB, free: 10.67 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.5436, allocations: 0 / 0.5995 GB, free: 10.67 MB / 478.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.005536/0.5491, allocations: 1.774 MB / 0.6013 GB, free: 8.848 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5492, allocations: 8.031 kB / 0.6013 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/0.5516, allocations: 291.2 kB / 0.6016 GB, free: 8.555 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.5528, allocations: 0.6268 MB / 0.6022 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/0.5529, allocations: 82 kB / 0.6022 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.5532, allocations: 131.7 kB / 0.6024 GB, free: 7.676 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003289/0.5565, allocations: 1.745 MB / 0.6041 GB, free: 5.906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.5565, allocations: 4 kB / 0.6041 GB, free: 5.902 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.5566, allocations: 40 kB / 0.6041 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.5566, allocations: 25.25 kB / 0.6041 GB, free: 5.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003365/0.56, allocations: 1.846 MB / 0.6059 GB, free: 3.992 MB / 478.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.006939/0.567, allocations: 4.724 MB / 0.6106 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004819/0.5718, allocations: 2.507 MB / 0.613 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2779/0.8497, allocations: 20.25 MB / 0.6328 GB, free: 146.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.8498, allocations: 56.62 kB / 0.6328 GB, free: 146.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 3.417e-06/0.8498, allocations: 0 / 0.6328 GB, free: 146.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01288/0.8627, allocations: 6.355 MB / 0.639 GB, free: 144.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.8627, allocations: 76.14 kB / 0.6391 GB, free: 144.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/0.8632, allocations: 380.5 kB / 0.6395 GB, free: 144.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001469/0.8634, allocations: 69.98 kB / 0.6395 GB, free: 144.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.8635, allocations: 208.8 kB / 0.6397 GB, free: 144.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005036/0.864, allocations: 0.7263 MB / 0.6405 GB, free: 143.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.922e-05/0.8641, allocations: 36.31 kB / 0.6405 GB, free: 143.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.8643, allocations: 416.5 kB / 0.6409 GB, free: 143.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.8657, allocations: 0.9317 MB / 0.6418 GB, free: 143.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.8672, allocations: 1.087 MB / 0.6429 GB, free: 142.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.8691, allocations: 1.104 MB / 0.6439 GB, free: 142.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.8691, allocations: 0 / 0.6439 GB, free: 142.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005756/0.8749, allocations: 3.24 MB / 0.6471 GB, free: 141.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.8749, allocations: 11.67 kB / 0.6471 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.875, allocations: 4.562 kB / 0.6471 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/0.8879, allocations: 2.661 MB / 0.6497 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.8893, allocations: 242.2 kB / 0.6499 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007122/0.8964, allocations: 4.089 MB / 0.6539 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.8979, allocations: 162.1 kB / 0.6541 GB, free: 139.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/0.8981, allocations: 73.77 kB / 0.6542 GB, free: 139.1 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.0005937/0.8987, allocations: 334.2 kB / 0.6545 GB, free: 138.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/0.8989, allocations: 106.2 kB / 0.6546 GB, free: 138.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.9121, allocations: 8.947 MB / 0.6633 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/0.9123, allocations: 112 kB / 0.6634 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.749e-05/0.9123, allocations: 2.938 kB / 0.6634 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.944e-05/0.9124, allocations: 20.52 kB / 0.6634 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.9262, allocations: 10.65 MB / 0.6738 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.9263, allocations: 0.5625 kB / 0.6738 GB, free: 129.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/0.9288, allocations: 0.5199 MB / 0.6744 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004603/0.9334, allocations: 2.2 MB / 0.6765 GB, free: 126.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000465/0.9339, allocations: 75.95 kB / 0.6766 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01096/0.9449, allocations: 19.78 MB / 0.6959 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.9449, allocations: 4.031 kB / 0.6959 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.9572, allocations: 9.691 MB / 0.7054 GB, free: 95.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.9585, allocations: 0.6953 MB / 0.706 GB, free: 94.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002545/0.9588, allocations: 71.92 kB / 0.7061 GB, free: 94.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.9599, allocations: 95.78 kB / 0.7062 GB, free: 94.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003647/0.9603, allocations: 180.3 kB / 0.7064 GB, free: 94.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.9604, allocations: 83.97 kB / 0.7064 GB, free: 94.23 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004056/0.9609, allocations: 370.8 kB / 0.7068 GB, free: 93.87 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9609, allocations: 0 / 0.7068 GB, free: 93.87 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003749/0.9646, allocations: 1.261 MB / 0.708 GB, free: 92.67 MB / 494.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 1} * Non-linear torn systems: 9 {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.003527/0.9682, allocations: 1.064 MB / 0.7091 GB, free: 91.76 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006933/0.9751, allocations: 3.919 MB / 0.7129 GB, free: 87.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.9751, allocations: 4 kB / 0.7129 GB, free: 87.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00479/0.9799, allocations: 3.75 MB / 0.7166 GB, free: 83.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.9831, allocations: 0.7342 MB / 0.7173 GB, free: 83.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/0.9915, allocations: 8.632 MB / 0.7257 GB, free: 74.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008316/0.9924, allocations: 1.686 MB / 0.7274 GB, free: 72.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.9937, allocations: 426.2 kB / 0.7278 GB, free: 72.41 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.9941, allocations: 107.4 kB / 0.7279 GB, free: 72.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/0.9941, allocations: 4 kB / 0.7279 GB, free: 72.3 MB / 494.1 MB Notification: Performance of Templates: time 0.08676/1.081, allocations: 74.57 MB / 0.8007 GB, free: 13.66 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: