Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.PFan|PFan_EP.y|tow.Q_flow|Q_flow_EP.y|tow.TLvg|TLvg_EP.y",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 118.5 kB / 16.81 MB, free: 5.754 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.001428/0.001428, allocations: 199.1 kB / 17.77 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7556 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 60.48 kB / 1.097 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3729/0.3749, allocations: 168.7 MB / 1.262 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.2253/0.6002, allocations: 182.1 MB / 1.44 GB, free: 6.316 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02133/0.6215, allocations: 13.42 MB / 1.453 GB, free: 8.859 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.6234, allocations: 35.81 kB / 1.453 GB, free: 8.824 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.6253, allocations: 0.5241 MB / 1.454 GB, free: 8.297 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007784/0.6331, allocations: 2.374 MB / 1.456 GB, free: 5.918 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.6367, allocations: 1.122 MB / 1.457 GB, free: 4.801 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004176/0.6408, allocations: 2.458 MB / 1.459 GB, free: 2.332 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.6421, allocations: 0.6907 MB / 1.46 GB, free: 1.629 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.6445, allocations: 0.9042 MB / 1.461 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.6458, allocations: 0.7585 MB / 1.462 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.646, allocations: 104 kB / 1.462 GB, free: 15.86 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00517/0.6512, allocations: 2.398 MB / 1.464 GB, free: 13.46 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005402/0.6517, allocations: 374.6 kB / 1.464 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0009073/0.6526, allocations: 0.6217 MB / 1.465 GB, free: 12.47 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006323/0.6589, allocations: 2.741 MB / 1.468 GB, free: 9.719 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6589, allocations: 4 kB / 1.468 GB, free: 9.715 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.956e-06/0.659, allocations: 0 / 1.468 GB, free: 9.715 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.659, allocations: 0 / 1.468 GB, free: 9.715 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.003494/0.6625, allocations: 1.86 MB / 1.47 GB, free: 7.789 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6625, allocations: 8.031 kB / 1.47 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.6635, allocations: 219 kB / 1.47 GB, free: 7.566 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.6654, allocations: 1.13 MB / 1.471 GB, free: 6.383 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.6654, allocations: 49.31 kB / 1.471 GB, free: 6.336 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.6655, allocations: 68 kB / 1.471 GB, free: 6.27 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.667, allocations: 0.752 MB / 1.472 GB, free: 5.492 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.667, allocations: 7.938 kB / 1.472 GB, free: 5.484 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.6671, allocations: 27.94 kB / 1.472 GB, free: 5.457 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.6671, allocations: 19.98 kB / 1.472 GB, free: 5.438 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.6686, allocations: 0.7429 MB / 1.472 GB, free: 4.695 MB / 1.186 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.00473/0.6733, allocations: 3.098 MB / 1.476 GB, free: 1.457 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.6749, allocations: 0.7231 MB / 1.476 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006112/0.6755, allocations: 310 kB / 1.477 GB, free: 428 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004564/0.68, allocations: 3.601 MB / 1.48 GB, free: 12.26 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008148/0.6809, allocations: 385.3 kB / 1.48 GB, free: 11.87 MB / 1.201 GB Notification: Performance of pre-optimization done (n=52): time 2.635e-06/0.6809, allocations: 0 / 1.48 GB, free: 11.87 MB / 1.201 GB Notification: Performance of matching and sorting (n=52): time 0.005334/0.6862, allocations: 1.445 MB / 1.482 GB, free: 10.39 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.6863, allocations: 81.55 kB / 1.482 GB, free: 10.3 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.688, allocations: 1.171 MB / 1.483 GB, free: 9.109 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.6881, allocations: 37.7 kB / 1.483 GB, free: 9.066 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005127/0.6886, allocations: 0.4933 MB / 1.484 GB, free: 8.57 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.6888, allocations: 198.4 kB / 1.484 GB, free: 8.375 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.6891, allocations: 150.2 kB / 1.484 GB, free: 8.223 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.6893, allocations: 333.9 kB / 1.484 GB, free: 7.891 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006598/0.6899, allocations: 323.3 kB / 1.485 GB, free: 7.57 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009397/0.6909, allocations: 0.5834 MB / 1.485 GB, free: 6.938 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.6922, allocations: 0.7073 MB / 1.486 GB, free: 6.199 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6922, allocations: 0 / 1.486 GB, free: 6.199 MB / 1.201 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002375/0.6946, allocations: 0.9919 MB / 1.487 GB, free: 5.195 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.6946, allocations: 4 kB / 1.487 GB, free: 5.191 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6946, allocations: 8.188 kB / 1.487 GB, free: 5.184 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873/2.568, allocations: 146.1 MB / 1.629 GB, free: 238.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005671/2.568, allocations: 132.6 kB / 1.63 GB, free: 238.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/2.57, allocations: 1.27 MB / 1.631 GB, free: 237.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009/2.57, allocations: 77.86 kB / 1.631 GB, free: 237.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/2.57, allocations: 31.23 kB / 1.631 GB, free: 237.2 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008164/2.571, allocations: 0.542 MB / 1.631 GB, free: 236.8 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006953/2.572, allocations: 0.5849 MB / 1.632 GB, free: 236.3 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001062/2.573, allocations: 0.7074 MB / 1.633 GB, free: 235.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.005e-06/2.573, allocations: 2.062 kB / 1.633 GB, free: 235.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.001809/2.575, allocations: 1 MB / 1.634 GB, free: 235 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/2.575, allocations: 5.719 kB / 1.634 GB, free: 235 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/2.575, allocations: 7.562 kB / 1.634 GB, free: 235 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063/3.638, allocations: 146.1 MB / 1.776 GB, free: 88.64 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/3.638, allocations: 131.8 kB / 1.777 GB, free: 88.51 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/3.639, allocations: 1.272 MB / 1.778 GB, free: 87.2 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/3.64, allocations: 72.88 kB / 1.778 GB, free: 87.14 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/3.64, allocations: 39.98 kB / 1.778 GB, free: 87.11 MB / 1.264 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 ($PRE.datRea.nextTimeEvent,$whenCondition1,datRea.nextTimeEventScaled,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/3.641, allocations: 214.4 kB / 1.778 GB, free: 86.89 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/3.641, allocations: 114.6 kB / 1.778 GB, free: 86.84 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/3.643, allocations: 0.946 MB / 1.779 GB, free: 85.89 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/3.644, allocations: 0.9811 MB / 1.78 GB, free: 84.84 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/3.644, allocations: 0 / 1.78 GB, free: 84.84 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/3.644, allocations: 273.7 kB / 1.78 GB, free: 84.56 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/3.645, allocations: 12 kB / 1.78 GB, free: 84.55 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/3.645, allocations: 31.97 kB / 1.78 GB, free: 84.52 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/3.645, allocations: 36.52 kB / 1.78 GB, free: 84.48 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002426/3.648, allocations: 1.007 MB / 1.781 GB, free: 83.47 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001896/3.649, allocations: 1.366 MB / 1.783 GB, free: 82.09 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004816/3.65, allocations: 312.3 kB / 1.783 GB, free: 81.79 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008673/3.651, allocations: 0.8245 MB / 1.784 GB, free: 80.96 MB / 1.264 GB Notification: Performance of Backend: time 7.72e-07/3.651, allocations: 0 / 1.784 GB, free: 80.96 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.005676/3.656, allocations: 1.928 MB / 1.786 GB, free: 79.43 MB / 1.264 GB Notification: Performance of SimCode: time 0.00371/3.66, allocations: 2.659 MB / 1.788 GB, free: 76.76 MB / 1.264 GB Notification: Performance of Templates: time 0.04184/3.702, allocations: 32.13 MB / 1.82 GB, free: 45.02 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1)