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.761/1.761, allocations: 288.3 MB / 303.2 MB, free: 8.105 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.00123/0.00123, allocations: 186.4 kB / 371.8 MB, free: 10.31 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.582/1.582, allocations: 205.4 MB / 0.6306 GB, free: 10.07 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.0009206/0.0009206, allocations: 90.8 kB / 0.7439 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 11.53 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.186, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.5587/0.7447, allocations: 153 MB / 1.129 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01349/0.7582, allocations: 11.17 MB / 1.14 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.7601, allocations: 25.5 kB / 1.14 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.7617, allocations: 469.7 kB / 1.14 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00591/0.7676, allocations: 1.871 MB / 1.142 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003293/0.7709, allocations: 1.176 MB / 1.143 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002183/0.7731, allocations: 1.457 MB / 1.145 GB, free: 2.281 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007964/0.7739, allocations: 0.6104 MB / 1.145 GB, free: 2.062 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.7749, allocations: 0.6547 MB / 1.146 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.7755, allocations: 0.4979 MB / 1.146 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.7756, allocations: 37.09 kB / 1.146 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.7789, allocations: 1.601 MB / 1.148 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.7791, allocations: 265.8 kB / 1.148 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.7794, allocations: 252.6 kB / 1.148 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.7818, allocations: 1.86 MB / 1.15 GB, free: 15.24 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7818, allocations: 0 / 1.15 GB, free: 15.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7818, allocations: 0 / 1.15 GB, free: 15.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.7819, allocations: 0 / 1.15 GB, free: 15.24 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.002716/0.7846, allocations: 1.593 MB / 1.152 GB, free: 13.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.7846, allocations: 8.969 kB / 1.152 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008935/0.7855, allocations: 235.2 kB / 1.152 GB, free: 13.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.788, allocations: 1.789 MB / 1.154 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.7881, allocations: 50.52 kB / 1.154 GB, free: 12.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.7882, allocations: 61.73 kB / 1.154 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.7895, allocations: 0.7289 MB / 1.155 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.7896, allocations: 7.875 kB / 1.155 GB, free: 12.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.7897, allocations: 27.06 kB / 1.155 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.7897, allocations: 14.66 kB / 1.155 GB, free: 12.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.791, allocations: 0.7067 MB / 1.155 GB, free: 11.91 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.004158/0.7952, allocations: 3.174 MB / 1.158 GB, free: 9.434 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.7966, allocations: 0.7157 MB / 1.159 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003796/0.8004, allocations: 3.598 MB / 1.163 GB, free: 5.363 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006515/0.8011, allocations: 368.9 kB / 1.163 GB, free: 5.145 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 2.324e-06/0.8011, allocations: 0 / 1.163 GB, free: 5.145 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.004772/0.8059, allocations: 1.456 MB / 1.164 GB, free: 4.449 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.8059, allocations: 87.25 kB / 1.165 GB, free: 4.352 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.8082, allocations: 2.067 MB / 1.167 GB, free: 3.355 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.8083, allocations: 38.7 kB / 1.167 GB, free: 3.316 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/0.8087, allocations: 0.4974 MB / 1.167 GB, free: 2.879 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.8088, allocations: 183.3 kB / 1.167 GB, free: 2.723 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.8089, allocations: 18.81 kB / 1.167 GB, free: 2.707 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.809, allocations: 331.4 kB / 1.168 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.8096, allocations: 293.3 kB / 1.168 GB, free: 2.25 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007478/0.8103, allocations: 0.5691 MB / 1.168 GB, free: 1.906 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/0.811, allocations: 342.9 kB / 1.169 GB, free: 1.742 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.811, allocations: 0 / 1.169 GB, free: 1.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001891/0.8129, allocations: 0.9684 MB / 1.17 GB, free: 1.262 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003578/0.8132, allocations: 0.9656 MB / 1.171 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8133, allocations: 0 / 1.171 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204/2.017, allocations: 193.5 MB / 1.36 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007327/2.018, allocations: 135.8 kB / 1.36 GB, free: 4.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/2.019, allocations: 1.284 MB / 1.361 GB, free: 3.004 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/2.021, allocations: 101.3 kB / 1.361 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/2.021, allocations: 35.94 kB / 1.361 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/2.021, allocations: 4 kB / 1.361 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/2.023, allocations: 0.8503 MB / 1.362 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/2.023, allocations: 4 kB / 1.362 GB, free: 2.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683/3.706, allocations: 193.5 MB / 1.551 GB, free: 262.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007263/3.707, allocations: 127.3 kB / 1.551 GB, free: 262 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/3.709, allocations: 1.281 MB / 1.552 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/3.71, allocations: 99.73 kB / 1.552 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/3.71, allocations: 33.23 kB / 1.552 GB, free: 260.7 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.0009148/3.711, allocations: 384.6 kB / 1.553 GB, free: 260.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/3.711, allocations: 110.3 kB / 1.553 GB, free: 260.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/3.713, allocations: 0.934 MB / 1.554 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/3.713, allocations: 4 kB / 1.554 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/3.713, allocations: 0 / 1.554 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/3.714, allocations: 0.9567 MB / 1.555 GB, free: 258.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/3.718, allocations: 2.08 MB / 1.557 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/3.718, allocations: 0 / 1.557 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/3.719, allocations: 83.83 kB / 1.557 GB, free: 256.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5633/4.282, allocations: 96.84 MB / 1.651 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000225/4.282, allocations: 15.98 kB / 1.651 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009943/4.283, allocations: 0.7431 MB / 1.652 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/4.283, allocations: 11.92 kB / 1.652 GB, free: 158.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003567/4.287, allocations: 1.486 MB / 1.654 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00098/4.288, allocations: 307.8 kB / 1.654 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/4.288, allocations: 15.98 kB / 1.654 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/4.289, allocations: 48.03 kB / 1.654 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/4.289, allocations: 44.33 kB / 1.654 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/4.289, allocations: 24.48 kB / 1.654 GB, free: 156.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00159/4.29, allocations: 1.544 MB / 1.656 GB, free: 155.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/4.29, allocations: 0 / 1.656 GB, free: 155.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002928/4.293, allocations: 0.7191 MB / 1.656 GB, free: 154.6 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.00263/4.296, allocations: 0.9435 MB / 1.657 GB, free: 154 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002323/4.298, allocations: 1.151 MB / 1.658 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/4.298, allocations: 0 / 1.658 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005932/4.299, allocations: 357.1 kB / 1.659 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/4.301, allocations: 479.6 kB / 1.659 GB, free: 152 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/4.305, allocations: 2.297 MB / 1.661 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/4.305, allocations: 1.112 MB / 1.662 GB, free: 148.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009983/4.306, allocations: 288.4 kB / 1.663 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/4.306, allocations: 103.4 kB / 1.663 GB, free: 148.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/4.306, allocations: 0 / 1.663 GB, free: 148.1 MB / 0.948 GB Notification: Performance of Templates: time 0.03701/4.343, allocations: 26.86 MB / 1.689 GB, free: 121.6 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)