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.001138/0.001138, allocations: 111.1 kB / 17.68 MB, free: 5.355 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.001012/0.001012, allocations: 192 kB / 18.62 MB, free: 4.434 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.375/1.375, allocations: 205.1 MB / 224.5 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.2671/0.2671, allocations: 48.85 MB / 320.7 MB, free: 11.02 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.001428/0.001428, allocations: 76.86 kB / 391.5 MB, free: 48.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.092, allocations: 59.16 MB / 450.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3597/0.4517, allocations: 160.8 MB / 0.5971 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.4623, allocations: 9.92 MB / 0.6068 GB, free: 4.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.4627, allocations: 8.719 kB / 0.6068 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.4631, allocations: 97.23 kB / 0.6069 GB, free: 4.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004873/0.468, allocations: 2.103 MB / 0.609 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006512/0.4745, allocations: 2.584 MB / 0.6115 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.4765, allocations: 2.228 MB / 0.6137 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.4772, allocations: 0.6318 MB / 0.6143 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.4779, allocations: 0.6947 MB / 0.615 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003007/0.4809, allocations: 1.557 MB / 0.6165 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.4811, allocations: 118.8 kB / 0.6166 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009761/0.4909, allocations: 5.947 MB / 0.6224 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006696/0.4916, allocations: 0.6275 MB / 0.623 GB, free: 9.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008682/0.4924, allocations: 0.6888 MB / 0.6237 GB, free: 8.578 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007195/0.4996, allocations: 4.502 MB / 0.6281 GB, free: 4.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.4997, allocations: 4 kB / 0.6281 GB, free: 4.062 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4997, allocations: 0 / 0.6281 GB, free: 4.062 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.4997, allocations: 0 / 0.6281 GB, free: 4.062 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.005483/0.5052, allocations: 1.985 MB / 0.63 GB, free: 2.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5052, allocations: 19.83 kB / 0.6301 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.5077, allocations: 283.5 kB / 0.6303 GB, free: 1.727 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.509, allocations: 0.6434 MB / 0.6309 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.509, allocations: 74.38 kB / 0.631 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/0.5093, allocations: 144.2 kB / 0.6312 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0034/0.5127, allocations: 1.761 MB / 0.6329 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.5128, allocations: 0 / 0.6329 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.5129, allocations: 36 kB / 0.6329 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.5129, allocations: 24 kB / 0.6329 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.5165, allocations: 1.846 MB / 0.6347 GB, free: 13.14 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.007123/0.5236, allocations: 4.721 MB / 0.6393 GB, free: 8.184 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005072/0.5287, allocations: 2.486 MB / 0.6418 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.5303, allocations: 1.088 MB / 0.6428 GB, free: 4.605 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04154/0.5718, allocations: 20.15 MB / 0.6625 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.5719, allocations: 48.56 kB / 0.6626 GB, free: 14.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 3.757e-06/0.5719, allocations: 4 kB / 0.6626 GB, free: 14.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01459/0.5865, allocations: 6.335 MB / 0.6688 GB, free: 7.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.5866, allocations: 73.41 kB / 0.6688 GB, free: 7.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.5871, allocations: 381.7 kB / 0.6692 GB, free: 6.992 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.5872, allocations: 65.7 kB / 0.6693 GB, free: 6.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.5874, allocations: 215.3 kB / 0.6695 GB, free: 6.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000611/0.588, allocations: 0.7277 MB / 0.6702 GB, free: 5.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005218/0.5885, allocations: 339.6 kB / 0.6705 GB, free: 5.629 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.5887, allocations: 341.9 kB / 0.6708 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.5902, allocations: 0.933 MB / 0.6717 GB, free: 4.355 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.5918, allocations: 1.091 MB / 0.6728 GB, free: 3.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/0.5952, allocations: 2.169 MB / 0.6749 GB, free: 1.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.5952, allocations: 0 / 0.6749 GB, free: 1.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005363/0.6006, allocations: 3.249 MB / 0.6781 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.6006, allocations: 8 kB / 0.6781 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.6006, allocations: 0 / 0.6781 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01247/0.6131, allocations: 2.654 MB / 0.6807 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.6145, allocations: 247.7 kB / 0.6809 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006829/0.6213, allocations: 4.091 MB / 0.6849 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.6226, allocations: 158.3 kB / 0.6851 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.6227, allocations: 71.97 kB / 0.6851 GB, free: 6.566 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.0005551/0.6233, allocations: 329.6 kB / 0.6855 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.6236, allocations: 106.9 kB / 0.6856 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/0.6358, allocations: 8.927 MB / 0.6943 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/0.636, allocations: 115.8 kB / 0.6944 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.484e-05/0.636, allocations: 4 kB / 0.6944 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.977e-05/0.636, allocations: 11.95 kB / 0.6944 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.6505, allocations: 10.68 MB / 0.7048 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/0.6505, allocations: 0 / 0.7048 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00285/0.6534, allocations: 0.5112 MB / 0.7053 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005001/0.6584, allocations: 2.141 MB / 0.7074 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003562/0.6588, allocations: 83.94 kB / 0.7075 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01575/0.6745, allocations: 20.64 MB / 0.7277 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6746, allocations: 4 kB / 0.7277 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1932/0.8678, allocations: 9.689 MB / 0.7371 GB, free: 222 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.8693, allocations: 0.66 MB / 0.7378 GB, free: 221.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/0.8696, allocations: 74.58 kB / 0.7378 GB, free: 221.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.8707, allocations: 83.19 kB / 0.7379 GB, free: 221.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.8711, allocations: 174.9 kB / 0.7381 GB, free: 221.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/0.8713, allocations: 84.39 kB / 0.7382 GB, free: 221.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000414/0.8717, allocations: 374.8 kB / 0.7385 GB, free: 221.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8717, allocations: 3.969 kB / 0.7385 GB, free: 221.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003218/0.875, allocations: 1.264 MB / 0.7398 GB, free: 221.7 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.00374/0.8787, allocations: 1.05 MB / 0.7408 GB, free: 221.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008992/0.8877, allocations: 3.975 MB / 0.7447 GB, free: 221.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.8878, allocations: 0 / 0.7447 GB, free: 221.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005874/0.8937, allocations: 3.774 MB / 0.7484 GB, free: 219.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/0.8973, allocations: 0.7992 MB / 0.7491 GB, free: 219.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.9078, allocations: 7.094 MB / 0.7561 GB, free: 215.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.909, allocations: 1.641 MB / 0.7577 GB, free: 215 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0015/0.9105, allocations: 414.4 kB / 0.7581 GB, free: 214.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.9109, allocations: 110.2 kB / 0.7582 GB, free: 214.9 MB / 0.545 GB Notification: Performance of SimCode: time 6.52e-07/0.9109, allocations: 0 / 0.7582 GB, free: 214.9 MB / 0.545 GB Notification: Performance of Templates: time 0.08212/0.993, allocations: 78.38 MB / 0.8347 GB, free: 143.6 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 -s cvode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)