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.001445/0.001445, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001683/0.001683, allocations: 183 kB / 18.62 MB, free: 4.5 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.34/1.34, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2652/0.2652, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.00166/0.00166, allocations: 70.91 kB / 391.5 MB, free: 48.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08537, allocations: 59.17 MB / 450.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3429/0.4283, allocations: 160.8 MB / 0.5971 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.439, allocations: 9.927 MB / 0.6068 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002929/0.4394, allocations: 12.94 kB / 0.6068 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.4397, allocations: 97.98 kB / 0.6069 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.4445, allocations: 2.091 MB / 0.609 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006263/0.4508, allocations: 2.582 MB / 0.6115 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002047/0.4528, allocations: 2.226 MB / 0.6137 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.4535, allocations: 0.6366 MB / 0.6143 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000732/0.4543, allocations: 0.6947 MB / 0.615 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003156/0.4574, allocations: 1.553 MB / 0.6165 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.4576, allocations: 118 kB / 0.6166 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01001/0.4676, allocations: 5.957 MB / 0.6224 GB, free: 9.688 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007017/0.4684, allocations: 0.6236 MB / 0.623 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008574/0.4692, allocations: 0.6888 MB / 0.6237 GB, free: 8.371 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00767/0.4769, allocations: 4.502 MB / 0.6281 GB, free: 3.859 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.4769, allocations: 4 kB / 0.6281 GB, free: 3.855 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.477, allocations: 0 / 0.6281 GB, free: 3.855 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.91e-05/0.477, allocations: 0 / 0.6281 GB, free: 3.855 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.005593/0.4826, allocations: 1.989 MB / 0.63 GB, free: 1.812 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4826, allocations: 11.89 kB / 0.6301 GB, free: 1.801 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.4853, allocations: 283.5 kB / 0.6303 GB, free: 1.523 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.4865, allocations: 0.6512 MB / 0.631 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/0.4866, allocations: 78.38 kB / 0.631 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.4868, allocations: 132.4 kB / 0.6312 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/0.4903, allocations: 1.757 MB / 0.6329 GB, free: 14.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.4903, allocations: 4 kB / 0.6329 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.4905, allocations: 36 kB / 0.6329 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.4905, allocations: 27.98 kB / 0.6329 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.4942, allocations: 1.846 MB / 0.6348 GB, free: 12.94 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.007084/0.5013, allocations: 4.721 MB / 0.6394 GB, free: 7.977 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005098/0.5064, allocations: 2.485 MB / 0.6418 GB, free: 5.492 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/0.508, allocations: 1.088 MB / 0.6429 GB, free: 4.402 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0414/0.5494, allocations: 20.15 MB / 0.6625 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.5495, allocations: 56.56 kB / 0.6626 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 3.877e-06/0.5495, allocations: 0 / 0.6626 GB, free: 13.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01464/0.5642, allocations: 6.327 MB / 0.6688 GB, free: 7.258 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.5642, allocations: 73.41 kB / 0.6688 GB, free: 7.172 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.5647, allocations: 389.7 kB / 0.6692 GB, free: 6.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.5648, allocations: 61.7 kB / 0.6693 GB, free: 6.719 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.565, allocations: 215.3 kB / 0.6695 GB, free: 6.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005871/0.5656, allocations: 0.7238 MB / 0.6702 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005324/0.5661, allocations: 343.5 kB / 0.6705 GB, free: 5.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.5662, allocations: 338 kB / 0.6708 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.5677, allocations: 0.9368 MB / 0.6717 GB, free: 4.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.5694, allocations: 1.099 MB / 0.6728 GB, free: 3.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.5727, allocations: 2.161 MB / 0.6749 GB, free: 0.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5727, allocations: 0 / 0.6749 GB, free: 0.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005269/0.578, allocations: 3.25 MB / 0.6781 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5781, allocations: 4 kB / 0.6781 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5781, allocations: 0 / 0.6781 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01257/0.5906, allocations: 2.665 MB / 0.6807 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.592, allocations: 239.7 kB / 0.6809 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006605/0.5986, allocations: 4.107 MB / 0.6849 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.5998, allocations: 150.4 kB / 0.6851 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.6, allocations: 75.91 kB / 0.6852 GB, free: 6.352 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.0006361/0.6007, allocations: 333.6 kB / 0.6855 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.601, allocations: 98.88 kB / 0.6856 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.613, allocations: 8.915 MB / 0.6943 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/0.6131, allocations: 111.8 kB / 0.6944 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.6131, allocations: 4 kB / 0.6944 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/0.6132, allocations: 15.94 kB / 0.6944 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.6282, allocations: 10.69 MB / 0.7048 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/0.6282, allocations: 0 / 0.7048 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/0.631, allocations: 0.5073 MB / 0.7053 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005084/0.6361, allocations: 2.141 MB / 0.7074 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/0.6365, allocations: 79.95 kB / 0.7075 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/0.6529, allocations: 20.64 MB / 0.7277 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6529, allocations: 3.938 kB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1854/0.8383, allocations: 9.692 MB / 0.7371 GB, free: 220.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/0.8398, allocations: 0.6651 MB / 0.7378 GB, free: 220.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005079/0.8404, allocations: 75.08 kB / 0.7378 GB, free: 220.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.8417, allocations: 80.98 kB / 0.7379 GB, free: 220.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/0.8421, allocations: 172.5 kB / 0.7381 GB, free: 220.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/0.8423, allocations: 87.86 kB / 0.7382 GB, free: 220.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004319/0.8427, allocations: 375.4 kB / 0.7385 GB, free: 220.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8427, allocations: 0 / 0.7385 GB, free: 220.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003151/0.8459, allocations: 1.268 MB / 0.7398 GB, free: 220.4 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.003445/0.8493, allocations: 1.053 MB / 0.7408 GB, free: 220.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008134/0.8575, allocations: 3.976 MB / 0.7447 GB, free: 220.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8575, allocations: 1.281 kB / 0.7447 GB, free: 220.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005303/0.8628, allocations: 3.77 MB / 0.7484 GB, free: 218.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003302/0.8661, allocations: 0.792 MB / 0.7491 GB, free: 218.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009576/0.8757, allocations: 7.096 MB / 0.7561 GB, free: 214.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.8768, allocations: 1.644 MB / 0.7577 GB, free: 214 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001404/0.8782, allocations: 416.7 kB / 0.7581 GB, free: 214 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003955/0.8786, allocations: 109.2 kB / 0.7582 GB, free: 214 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.8786, allocations: 0 / 0.7582 GB, free: 214 MB / 0.545 GB Notification: Performance of Templates: time 0.08556/0.9642, allocations: 78.39 MB / 0.8347 GB, free: 143.1 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 gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)