Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 288.4 MB / 303.7 MB, free: 7.984 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009472/0.0009474, allocations: 178.4 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008362/0.0008362, allocations: 94.34 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005703/0.0005705, allocations: 11.94 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1998, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6393/0.8391, allocations: 165 MB / 1.141 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01796/0.8571, allocations: 12.27 MB / 1.153 GB, free: 12.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.859, allocations: 27.31 kB / 1.153 GB, free: 12.94 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.8605, allocations: 387.2 kB / 1.154 GB, free: 12.74 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006632/0.8671, allocations: 1.883 MB / 1.155 GB, free: 11.6 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.8703, allocations: 0.8428 MB / 1.156 GB, free: 11.04 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004171/0.8745, allocations: 2.617 MB / 1.159 GB, free: 9.473 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.8758, allocations: 0.6566 MB / 1.16 GB, free: 9.066 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.8774, allocations: 0.7291 MB / 1.16 GB, free: 8.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.8786, allocations: 0.6479 MB / 1.161 GB, free: 8.297 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.8787, allocations: 38.62 kB / 1.161 GB, free: 8.297 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.8836, allocations: 2.163 MB / 1.163 GB, free: 7.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004269/0.884, allocations: 279.7 kB / 1.163 GB, free: 6.965 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009622/0.885, allocations: 0.5404 MB / 1.164 GB, free: 6.602 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003851/0.8888, allocations: 1.967 MB / 1.166 GB, free: 5.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8889, allocations: 0 / 1.166 GB, free: 5.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8889, allocations: 1.531 kB / 1.166 GB, free: 5.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.552e-05/0.8889, allocations: 4 kB / 1.166 GB, free: 5.348 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.002991/0.8919, allocations: 1.559 MB / 1.167 GB, free: 4.109 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8919, allocations: 9 kB / 1.167 GB, free: 4.109 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008848/0.8928, allocations: 226.8 kB / 1.167 GB, free: 4.012 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.8952, allocations: 1.117 MB / 1.169 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.23e-05/0.8953, allocations: 50.83 kB / 1.169 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.8954, allocations: 63.53 kB / 1.169 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.8968, allocations: 0.7597 MB / 1.169 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.8968, allocations: 7.406 kB / 1.169 GB, free: 2.629 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.8969, allocations: 19.31 kB / 1.169 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.8969, allocations: 18.75 kB / 1.169 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.8982, allocations: 0.7433 MB / 1.17 GB, free: 2.273 MB / 0.698 GB 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.004367/0.9026, allocations: 3.063 MB / 1.173 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.904, allocations: 0.7647 MB / 1.174 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.9046, allocations: 335.7 kB / 1.174 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004274/0.9089, allocations: 3.613 MB / 1.178 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000743/0.9097, allocations: 387.1 kB / 1.178 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 5.69e-06/0.9097, allocations: 3.984 kB / 1.178 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.004999/0.9147, allocations: 1.508 MB / 1.18 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.9148, allocations: 83.8 kB / 1.18 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/0.9163, allocations: 1.144 MB / 1.181 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.179e-05/0.9164, allocations: 46.78 kB / 1.181 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.9168, allocations: 487.7 kB / 1.181 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.9169, allocations: 190 kB / 1.182 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.917, allocations: 10.91 kB / 1.182 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9171, allocations: 333.9 kB / 1.182 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.9177, allocations: 310.1 kB / 1.182 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007721/0.9185, allocations: 0.5835 MB / 1.183 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.9197, allocations: 0.7171 MB / 1.183 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.9197, allocations: 96 / 1.183 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001987/0.9217, allocations: 1.003 MB / 1.184 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.9218, allocations: 157 kB / 1.185 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.9218, allocations: 2.531 kB / 1.185 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197/2.119, allocations: 193.5 MB / 1.374 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/2.12, allocations: 131.8 kB / 1.374 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/2.122, allocations: 1.288 MB / 1.375 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/2.123, allocations: 101.3 kB / 1.375 GB, free: 7.609 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/2.123, allocations: 35.98 kB / 1.375 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/2.123, allocations: 7.938 kB / 1.375 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002063/2.125, allocations: 0.8699 MB / 1.376 GB, free: 6.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/2.125, allocations: 4 kB / 1.376 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612/3.738, allocations: 193.5 MB / 1.565 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005705/3.738, allocations: 132.2 kB / 1.565 GB, free: 250.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/3.739, allocations: 1.274 MB / 1.566 GB, free: 249.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/3.741, allocations: 94.91 kB / 1.566 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/3.741, allocations: 33.42 kB / 1.566 GB, free: 249.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 72 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007476/3.742, allocations: 380.7 kB / 1.567 GB, free: 248.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/3.742, allocations: 116.5 kB / 1.567 GB, free: 248.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/3.744, allocations: 0.9498 MB / 1.568 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/3.744, allocations: 7.984 kB / 1.568 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/3.744, allocations: 0 / 1.568 GB, free: 248.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/3.745, allocations: 0.9993 MB / 1.569 GB, free: 247.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/3.75, allocations: 2.087 MB / 1.571 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/3.75, allocations: 0 / 1.571 GB, free: 245 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/3.75, allocations: 83.89 kB / 1.571 GB, free: 244.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5654/4.315, allocations: 96.84 MB / 1.665 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/4.316, allocations: 22.55 kB / 1.665 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009139/4.317, allocations: 0.7395 MB / 1.666 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/4.317, allocations: 4.062 kB / 1.666 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/4.32, allocations: 1.504 MB / 1.668 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006599/4.321, allocations: 297 kB / 1.668 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/4.321, allocations: 12 kB / 1.668 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007572/4.322, allocations: 58.84 kB / 1.668 GB, free: 145.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/4.322, allocations: 36.39 kB / 1.668 GB, free: 145.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/4.322, allocations: 23.98 kB / 1.668 GB, free: 145.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001047/4.323, allocations: 0.8049 MB / 1.669 GB, free: 144.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.5e-07/4.323, allocations: 4 kB / 1.669 GB, free: 144.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002355/4.326, allocations: 0.7099 MB / 1.67 GB, free: 143.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (tow.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002489/4.328, allocations: 0.939 MB / 1.67 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002474/4.331, allocations: 1.198 MB / 1.672 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/4.331, allocations: 0 / 1.672 GB, free: 142 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006377/4.331, allocations: 371.8 kB / 1.672 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/4.334, allocations: 476.4 kB / 1.672 GB, free: 141.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003374/4.337, allocations: 2.328 MB / 1.675 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/4.338, allocations: 1.089 MB / 1.676 GB, free: 137.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009961/4.339, allocations: 267.1 kB / 1.676 GB, free: 137.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/4.339, allocations: 99.41 kB / 1.676 GB, free: 137.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.655e-06/4.339, allocations: 0 / 1.676 GB, free: 137.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03909/4.378, allocations: 26.14 MB / 1.702 GB, free: 111.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)