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.0007495/0.0007496, allocations: 91.61 kB / 16.65 MB, free: 6.348 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.0008539/0.0008539, allocations: 179.7 kB / 17.57 MB, free: 5.949 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.442/1.442, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3206/0.3206, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0005276/0.0005276, allocations: 13.34 kB / 391.8 MB, free: 50.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 60.26 MB / 452.1 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4151/0.5261, allocations: 157.4 MB / 0.5952 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.5374, allocations: 10.46 MB / 0.6054 GB, free: 9.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.5379, allocations: 6.594 kB / 0.6054 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.5383, allocations: 78.09 kB / 0.6055 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004941/0.5433, allocations: 1.692 MB / 0.6072 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006867/0.5502, allocations: 2.106 MB / 0.6092 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002401/0.5526, allocations: 2.643 MB / 0.6118 GB, free: 6.211 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006183/0.5532, allocations: 0.5415 MB / 0.6123 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007062/0.5539, allocations: 0.6109 MB / 0.6129 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003192/0.5571, allocations: 1.609 MB / 0.6145 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.5574, allocations: 57.31 kB / 0.6146 GB, free: 4.859 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0133/0.5707, allocations: 5.852 MB / 0.6203 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009046/0.5716, allocations: 0.5665 MB / 0.6208 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.5728, allocations: 0.6562 MB / 0.6215 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.5835, allocations: 4.439 MB / 0.6258 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.5836, allocations: 8 kB / 0.6258 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5836, allocations: 0 / 0.6258 GB, free: 12.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.255e-05/0.5836, allocations: 0 / 0.6258 GB, free: 12.6 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.005719/0.5893, allocations: 1.767 MB / 0.6275 GB, free: 10.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.5894, allocations: 8.031 kB / 0.6275 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/0.5919, allocations: 287.5 kB / 0.6278 GB, free: 10.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009703/0.5929, allocations: 0.6396 MB / 0.6284 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.593, allocations: 86.31 kB / 0.6285 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002578/0.5932, allocations: 128.3 kB / 0.6286 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.5967, allocations: 1.761 MB / 0.6304 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5967, allocations: 0 / 0.6304 GB, free: 7.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.5969, allocations: 47.92 kB / 0.6304 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.5969, allocations: 24 kB / 0.6304 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003569/0.6005, allocations: 1.846 MB / 0.6322 GB, free: 5.898 MB / 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.006619/0.6071, allocations: 4.738 MB / 0.6369 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005005/0.6121, allocations: 2.483 MB / 0.6393 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001626/0.6138, allocations: 1.088 MB / 0.6403 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04351/0.6573, allocations: 20.26 MB / 0.6601 GB, free: 6.875 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/0.6574, allocations: 60.5 kB / 0.6602 GB, free: 6.809 MB / 478.1 MB Notification: Performance of pre-optimization done (n=207): time 4.168e-06/0.6574, allocations: 0 / 0.6602 GB, free: 6.809 MB / 478.1 MB Notification: Performance of matching and sorting (n=207): time 0.01494/0.6724, allocations: 6.366 MB / 0.6664 GB, free: 52 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.6725, allocations: 77.41 kB / 0.6665 GB, free: 15.96 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.6729, allocations: 393.5 kB / 0.6669 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.6731, allocations: 61.7 kB / 0.6669 GB, free: 15.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.6733, allocations: 203.5 kB / 0.6671 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006582/0.674, allocations: 0.7392 MB / 0.6678 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.6742, allocations: 161.6 kB / 0.668 GB, free: 14.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6743, allocations: 334 kB / 0.6683 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/0.6759, allocations: 0.9447 MB / 0.6692 GB, free: 13.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.6775, allocations: 1.095 MB / 0.6703 GB, free: 12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003372/0.6809, allocations: 2.176 MB / 0.6724 GB, free: 9.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.6809, allocations: 0 / 0.6724 GB, free: 9.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005378/0.6863, allocations: 3.261 MB / 0.6756 GB, free: 6.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6864, allocations: 4 kB / 0.6756 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6864, allocations: 0 / 0.6756 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/0.6994, allocations: 2.673 MB / 0.6782 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.7007, allocations: 247.6 kB / 0.6785 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006924/0.7076, allocations: 4.103 MB / 0.6825 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.709, allocations: 166.5 kB / 0.6826 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/0.7091, allocations: 71.97 kB / 0.6827 GB, free: 15.25 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.0005689/0.7097, allocations: 329.6 kB / 0.683 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.71, allocations: 106.9 kB / 0.6831 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.7229, allocations: 8.962 MB / 0.6919 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.723, allocations: 115.8 kB / 0.692 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.7231, allocations: 4 kB / 0.692 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-05/0.7231, allocations: 11.95 kB / 0.692 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.7391, allocations: 10.69 MB / 0.7024 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.7392, allocations: 4.031 kB / 0.7024 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/0.7419, allocations: 0.5072 MB / 0.7029 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005361/0.7473, allocations: 2.211 MB / 0.7051 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004104/0.7477, allocations: 83.94 kB / 0.7052 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.7629, allocations: 19.73 MB / 0.7244 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.763, allocations: 0 / 0.7244 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2325/0.9955, allocations: 9.71 MB / 0.7339 GB, free: 205.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.997, allocations: 0.703 MB / 0.7346 GB, free: 204.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.9973, allocations: 62.25 kB / 0.7347 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.9984, allocations: 98.16 kB / 0.7347 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/0.9989, allocations: 171.6 kB / 0.7349 GB, free: 204.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/0.999, allocations: 83.94 kB / 0.735 GB, free: 204.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005034/0.9996, allocations: 374.6 kB / 0.7353 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9996, allocations: 0 / 0.7353 GB, free: 204.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003883/1.003, allocations: 1.269 MB / 0.7366 GB, free: 204.4 MB / 0.5294 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.004236/1.008, allocations: 1.059 MB / 0.7376 GB, free: 204.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008818/1.017, allocations: 3.942 MB / 0.7415 GB, free: 203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.017, allocations: 1.438 kB / 0.7415 GB, free: 203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006386/1.023, allocations: 3.764 MB / 0.7451 GB, free: 200.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/1.027, allocations: 0.7783 MB / 0.7459 GB, free: 200.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008892/1.036, allocations: 8.605 MB / 0.7543 GB, free: 196 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008662/1.037, allocations: 1.642 MB / 0.7559 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001401/1.039, allocations: 418.3 kB / 0.7563 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004011/1.039, allocations: 109 kB / 0.7564 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/1.039, allocations: 0 / 0.7564 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.08732/1.126, allocations: 75.4 MB / 0.8301 GB, free: 121.9 MB / 0.5294 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: