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 2.737/2.737, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001592/0.001592, allocations: 185.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.211/2.211, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001162/0.001161, allocations: 88.23 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006556/0.0006558, allocations: 11.81 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2145, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 1.077/1.292, allocations: 153 MB / 1.128 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02145/1.313, allocations: 11.22 MB / 1.139 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/1.315, allocations: 26.69 kB / 1.139 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002317/1.318, allocations: 469 kB / 1.139 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0087/1.326, allocations: 1.874 MB / 1.141 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005532/1.332, allocations: 1.18 MB / 1.142 GB, free: 3.082 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004117/1.336, allocations: 1.457 MB / 1.143 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/1.338, allocations: 0.6 MB / 1.144 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/1.34, allocations: 0.6505 MB / 1.145 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/1.341, allocations: 0.4988 MB / 1.145 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002672/1.341, allocations: 37.84 kB / 1.145 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006061/1.348, allocations: 1.602 MB / 1.147 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000654/1.348, allocations: 268 kB / 1.147 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005984/1.349, allocations: 246.9 kB / 1.147 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004866/1.354, allocations: 1.857 MB / 1.149 GB, free: 44 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.354, allocations: 4 kB / 1.149 GB, free: 40 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.615e-06/1.354, allocations: 0 / 1.149 GB, free: 40 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.612e-05/1.354, allocations: 1.469 kB / 1.149 GB, free: 40 kB / 0.6823 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.004449/1.358, allocations: 1.588 MB / 1.151 GB, free: 14.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.358, allocations: 8.75 kB / 1.151 GB, free: 14.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/1.36, allocations: 238.4 kB / 1.151 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/1.364, allocations: 1.788 MB / 1.153 GB, free: 13.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/1.364, allocations: 52 kB / 1.153 GB, free: 13.53 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/1.364, allocations: 60.03 kB / 1.153 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/1.366, allocations: 0.7335 MB / 1.153 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/1.367, allocations: 1.625 kB / 1.153 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/1.367, allocations: 24.72 kB / 1.153 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/1.367, allocations: 15.09 kB / 1.153 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/1.369, allocations: 0.7114 MB / 1.154 GB, free: 12.71 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.007062/1.376, allocations: 3.176 MB / 1.157 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/1.379, allocations: 0.7119 MB / 1.158 GB, free: 9.902 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006547/1.385, allocations: 3.609 MB / 1.161 GB, free: 6.152 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/1.386, allocations: 360.8 kB / 1.162 GB, free: 5.941 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 3.767e-06/1.386, allocations: 4 kB / 1.162 GB, free: 5.938 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.008665/1.395, allocations: 1.459 MB / 1.163 GB, free: 5.238 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/1.395, allocations: 82.77 kB / 1.163 GB, free: 5.145 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/1.399, allocations: 2.068 MB / 1.165 GB, free: 4.148 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001737/1.399, allocations: 43.66 kB / 1.165 GB, free: 4.105 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006503/1.4, allocations: 0.494 MB / 1.166 GB, free: 3.672 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.4, allocations: 177.3 kB / 1.166 GB, free: 3.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/1.4, allocations: 14.88 kB / 1.166 GB, free: 3.508 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.4, allocations: 328.2 kB / 1.166 GB, free: 3.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009729/1.401, allocations: 294.2 kB / 1.167 GB, free: 3.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/1.403, allocations: 0.5724 MB / 1.167 GB, free: 2.703 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/1.404, allocations: 342.9 kB / 1.168 GB, free: 2.543 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/1.404, allocations: 3.938 kB / 1.168 GB, free: 2.539 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003301/1.407, allocations: 0.9673 MB / 1.168 GB, free: 2.059 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004831/1.408, allocations: 0.9753 MB / 1.169 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/1.408, allocations: 3.031 kB / 1.169 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435/3.843, allocations: 193.5 MB / 1.358 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/3.844, allocations: 131.8 kB / 1.359 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/3.846, allocations: 1.284 MB / 1.36 GB, free: 4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/3.848, allocations: 104.8 kB / 1.36 GB, free: 3.898 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/3.848, allocations: 35.98 kB / 1.36 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/3.848, allocations: 4 kB / 1.36 GB, free: 3.859 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00321/3.851, allocations: 0.8425 MB / 1.361 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/3.851, allocations: 0 / 1.361 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052/6.903, allocations: 193.5 MB / 1.55 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/6.904, allocations: 130.2 kB / 1.55 GB, free: 263.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/6.906, allocations: 1.283 MB / 1.551 GB, free: 262.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/6.908, allocations: 103.2 kB / 1.551 GB, free: 262.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/6.908, allocations: 35.42 kB / 1.551 GB, free: 262.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.0008352/6.909, allocations: 377.4 kB / 1.552 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/6.909, allocations: 118.3 kB / 1.552 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/6.912, allocations: 0.921 MB / 1.553 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/6.912, allocations: 4 kB / 1.553 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/6.912, allocations: 7.781 kB / 1.553 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002279/6.915, allocations: 0.9572 MB / 1.554 GB, free: 260.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007076/6.922, allocations: 2.074 MB / 1.556 GB, free: 258.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.128e-06/6.922, allocations: 0 / 1.556 GB, free: 258.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/6.922, allocations: 79.91 kB / 1.556 GB, free: 258 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151/8.073, allocations: 96.84 MB / 1.65 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002084/8.073, allocations: 19.98 kB / 1.65 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/8.075, allocations: 0.7417 MB / 1.651 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/8.075, allocations: 8.016 kB / 1.651 GB, free: 160.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005929/8.081, allocations: 1.484 MB / 1.652 GB, free: 158.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008844/8.082, allocations: 315.6 kB / 1.653 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/8.082, allocations: 16.36 kB / 1.653 GB, free: 158.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/8.083, allocations: 52.02 kB / 1.653 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/8.083, allocations: 40.34 kB / 1.653 GB, free: 158.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.212e-05/8.083, allocations: 31.97 kB / 1.653 GB, free: 158.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00227/8.086, allocations: 1.536 MB / 1.654 GB, free: 156.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/8.086, allocations: 4 kB / 1.654 GB, free: 156.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002984/8.089, allocations: 0.7235 MB / 1.655 GB, free: 156.2 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.002929/8.092, allocations: 0.93 MB / 1.656 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003665/8.095, allocations: 1.148 MB / 1.657 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/8.095, allocations: 4.25 kB / 1.657 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/8.096, allocations: 360.9 kB / 1.657 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/8.1, allocations: 480.6 kB / 1.658 GB, free: 153.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/8.105, allocations: 2.287 MB / 1.66 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006782/8.106, allocations: 1.116 MB / 1.661 GB, free: 150.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001805/8.107, allocations: 288 kB / 1.662 GB, free: 149.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/8.108, allocations: 103.4 kB / 1.662 GB, free: 149.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/8.108, allocations: 0 / 1.662 GB, free: 149.7 MB / 0.948 GB Notification: Performance of Templates: time 0.06227/8.17, allocations: 26.86 MB / 1.688 GB, free: 123.2 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)