Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.601/1.601, allocations: 287.5 MB / 302.6 MB, free: 8.145 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.0009707/0.000971, allocations: 190.3 kB / 371.2 MB, free: 10.71 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.6298 GB, free: 10.56 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.0008912/0.0008912, allocations: 95.2 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 15.31 kB / 0.8661 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1791, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.6056/0.7847, allocations: 165 MB / 1.14 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01524/0.8, allocations: 12.3 MB / 1.152 GB, free: 13.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.8014, allocations: 23.22 kB / 1.152 GB, free: 13.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.8027, allocations: 374.5 kB / 1.152 GB, free: 13.01 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005532/0.8083, allocations: 1.737 MB / 1.154 GB, free: 12.07 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.811, allocations: 0.8422 MB / 1.155 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004047/0.8151, allocations: 2.616 MB / 1.157 GB, free: 10.55 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.8162, allocations: 0.6494 MB / 1.158 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.8175, allocations: 0.7214 MB / 1.159 GB, free: 9.812 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008578/0.8184, allocations: 0.6492 MB / 1.159 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.8186, allocations: 38.59 kB / 1.159 GB, free: 9.43 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004578/0.8231, allocations: 1.773 MB / 1.161 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.8236, allocations: 275.4 kB / 1.161 GB, free: 8.336 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005445/0.8242, allocations: 244.1 kB / 1.162 GB, free: 8.188 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003595/0.8278, allocations: 1.899 MB / 1.163 GB, free: 6.969 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.8278, allocations: 1.219 kB / 1.163 GB, free: 6.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.023e-06/0.8278, allocations: 4 kB / 1.163 GB, free: 6.965 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.8278, allocations: 0 / 1.163 GB, free: 6.965 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.002783/0.8306, allocations: 1.559 MB / 1.165 GB, free: 5.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.8307, allocations: 14.05 kB / 1.165 GB, free: 5.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008438/0.8315, allocations: 226.7 kB / 1.165 GB, free: 5.625 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.8333, allocations: 1.113 MB / 1.166 GB, free: 4.766 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/0.8334, allocations: 58.2 kB / 1.166 GB, free: 4.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.8335, allocations: 56.97 kB / 1.166 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.835, allocations: 0.7592 MB / 1.167 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.8351, allocations: 0 / 1.167 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.8351, allocations: 23.06 kB / 1.167 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.8352, allocations: 13.25 kB / 1.167 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.8365, allocations: 0.7464 MB / 1.168 GB, free: 3.898 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.003819/0.8403, allocations: 3.063 MB / 1.171 GB, free: 1.457 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.8417, allocations: 0.7679 MB / 1.172 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.8422, allocations: 339.1 kB / 1.172 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003802/0.8461, allocations: 3.611 MB / 1.175 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007129/0.8468, allocations: 387.9 kB / 1.176 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 2.655e-06/0.8468, allocations: 0 / 1.176 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.004774/0.8516, allocations: 1.509 MB / 1.177 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.8517, allocations: 89.56 kB / 1.177 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.853, allocations: 1.15 MB / 1.178 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.8531, allocations: 39.52 kB / 1.179 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.8535, allocations: 492.2 kB / 1.179 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.8537, allocations: 186 kB / 1.179 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.8537, allocations: 10.66 kB / 1.179 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8538, allocations: 330.9 kB / 1.179 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/0.8544, allocations: 309.5 kB / 1.18 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007815/0.8552, allocations: 0.5932 MB / 1.18 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.8564, allocations: 0.7103 MB / 1.181 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.8564, allocations: 0 / 1.181 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00193/0.8584, allocations: 0.9984 MB / 1.182 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.8585, allocations: 167.5 kB / 1.182 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8585, allocations: 2.125 kB / 1.182 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184/2.042, allocations: 193.5 MB / 1.371 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/2.043, allocations: 131.8 kB / 1.371 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/2.045, allocations: 1.288 MB / 1.373 GB, free: 9.887 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/2.046, allocations: 103.4 kB / 1.373 GB, free: 9.785 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/2.046, allocations: 31.97 kB / 1.373 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/2.046, allocations: 7.938 kB / 1.373 GB, free: 9.746 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0021/2.048, allocations: 0.8738 MB / 1.374 GB, free: 8.867 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/2.048, allocations: 7.938 kB / 1.374 GB, free: 8.859 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717/3.766, allocations: 193.5 MB / 1.563 GB, free: 253.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/3.766, allocations: 131 kB / 1.563 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/3.768, allocations: 1.276 MB / 1.564 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/3.769, allocations: 95.34 kB / 1.564 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.83e-05/3.769, allocations: 33.36 kB / 1.564 GB, free: 252.1 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.0006689/3.77, allocations: 376.3 kB / 1.564 GB, free: 251.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/3.77, allocations: 119.2 kB / 1.565 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/3.772, allocations: 0.9507 MB / 1.565 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/3.772, allocations: 8 kB / 1.565 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/3.772, allocations: 0 / 1.565 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001264/3.773, allocations: 0.989 MB / 1.566 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/3.777, allocations: 2.099 MB / 1.568 GB, free: 247.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/3.777, allocations: 6.297 kB / 1.568 GB, free: 247.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/3.777, allocations: 75.91 kB / 1.569 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5488/4.326, allocations: 96.84 MB / 1.663 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/4.326, allocations: 23.92 kB / 1.663 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008375/4.327, allocations: 0.7351 MB / 1.664 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/4.327, allocations: 8.047 kB / 1.664 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/4.33, allocations: 1.501 MB / 1.665 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005197/4.33, allocations: 289.5 kB / 1.666 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/4.331, allocations: 15.98 kB / 1.666 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005419/4.331, allocations: 56.39 kB / 1.666 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.323e-05/4.331, allocations: 40.33 kB / 1.666 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/4.331, allocations: 23.98 kB / 1.666 GB, free: 148.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008772/4.332, allocations: 0.8049 MB / 1.667 GB, free: 147.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.5e-07/4.332, allocations: 4 kB / 1.667 GB, free: 147.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001705/4.334, allocations: 0.7049 MB / 1.667 GB, free: 146.7 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.001778/4.336, allocations: 0.9158 MB / 1.668 GB, free: 146.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002124/4.338, allocations: 1.199 MB / 1.669 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/4.338, allocations: 12.19 kB / 1.669 GB, free: 144.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/4.338, allocations: 364.5 kB / 1.67 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/4.341, allocations: 476.5 kB / 1.67 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/4.343, allocations: 2.326 MB / 1.672 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/4.344, allocations: 1.089 MB / 1.673 GB, free: 140.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008077/4.344, allocations: 267.8 kB / 1.674 GB, free: 140.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/4.345, allocations: 99.41 kB / 1.674 GB, free: 140.3 MB / 0.948 GB Notification: Performance of SimCode: time 6.81e-07/4.345, allocations: 0 / 1.674 GB, free: 140.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03199/4.377, allocations: 25.82 MB / 1.699 GB, free: 114.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)