Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0007487/0.0007488, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0007698/0.0007698, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005063, allocations: 17.91 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.209, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus): time 0.5979/0.8069, allocations: 165 MB / 0.9484 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.8224, allocations: 12.25 MB / 0.9604 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.824, allocations: 26.56 kB / 0.9604 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.8252, allocations: 375.2 kB / 0.9608 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005655/0.8309, allocations: 1.732 MB / 0.9625 GB, free: 9.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002672/0.8336, allocations: 0.8426 MB / 0.9633 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003649/0.8373, allocations: 2.597 MB / 0.9658 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00134/0.8386, allocations: 0.6025 MB / 0.9664 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.8403, allocations: 0.7166 MB / 0.9671 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.8414, allocations: 0.6519 MB / 0.9678 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.8415, allocations: 38.72 kB / 0.9678 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.846, allocations: 1.78 MB / 0.9695 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003457/0.8464, allocations: 274.9 kB / 0.9698 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.8468, allocations: 243.6 kB / 0.97 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003236/0.85, allocations: 1.901 MB / 0.9719 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8501, allocations: 0 / 0.9719 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8501, allocations: 0 / 0.9719 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.42e-05/0.8501, allocations: 0 / 0.9719 GB, free: 8.285 MB / 0.7169 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.003473/0.8536, allocations: 1.568 MB / 0.9734 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.8537, allocations: 9.188 kB / 0.9734 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.8545, allocations: 229.2 kB / 0.9736 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.8562, allocations: 1.078 MB / 0.9747 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.8563, allocations: 51.14 kB / 0.9747 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.101e-05/0.8564, allocations: 59.16 kB / 0.9748 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.8575, allocations: 0.7458 MB / 0.9755 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.8576, allocations: 7.188 kB / 0.9755 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.467e-05/0.8576, allocations: 23.06 kB / 0.9756 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.271e-05/0.8577, allocations: 20.58 kB / 0.9756 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.8588, allocations: 0.7413 MB / 0.9763 GB, free: 6.551 MB / 0.7169 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.003451/0.8623, allocations: 3.067 MB / 0.9793 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.8636, allocations: 0.7814 MB / 0.9801 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004932/0.8641, allocations: 338.3 kB / 0.9804 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002946/0.867, allocations: 3.6 MB / 0.9839 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006215/0.8677, allocations: 382 kB / 0.9843 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=52): time 2.425e-06/0.8677, allocations: 0 / 0.9843 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=52): time 0.004362/0.872, allocations: 1.507 MB / 0.9857 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.8721, allocations: 84.27 kB / 0.9858 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/0.8741, allocations: 1.149 MB / 0.9869 GB, free: 360 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/0.8742, allocations: 39.19 kB / 0.987 GB, free: 328 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.8746, allocations: 0.4912 MB / 0.9875 GB, free: 112 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.8747, allocations: 175.7 kB / 0.9876 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.8748, allocations: 16.06 kB / 0.9876 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8749, allocations: 328.7 kB / 0.9879 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000529/0.8754, allocations: 313.1 kB / 0.9882 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.8761, allocations: 0.5854 MB / 0.9888 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.8768, allocations: 359.6 kB / 0.9892 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.8769, allocations: 3.75 kB / 0.9892 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002058/0.8789, allocations: 0.9987 MB / 0.9901 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.879, allocations: 167.7 kB / 0.9903 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8791, allocations: 2.75 kB / 0.9903 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9889/1.868, allocations: 193.5 MB / 1.179 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/1.869, allocations: 127.1 kB / 1.179 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/1.87, allocations: 1.29 MB / 1.181 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.871, allocations: 102.9 kB / 1.181 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/1.871, allocations: 31.23 kB / 1.181 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/1.871, allocations: 1.75 kB / 1.181 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001838/1.873, allocations: 0.8782 MB / 1.182 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.873, allocations: 0 / 1.182 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438/3.311, allocations: 193.5 MB / 1.371 GB, free: 242.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/3.312, allocations: 130.9 kB / 1.371 GB, free: 242.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/3.313, allocations: 1.292 MB / 1.372 GB, free: 241.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/3.314, allocations: 90.27 kB / 1.372 GB, free: 241.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/3.314, allocations: 36.8 kB / 1.372 GB, free: 241.3 MB / 0.9981 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.0006472/3.315, allocations: 377.6 kB / 1.373 GB, free: 241 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/3.315, allocations: 112.9 kB / 1.373 GB, free: 241 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/3.317, allocations: 0.9435 MB / 1.374 GB, free: 240.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/3.317, allocations: 10.19 kB / 1.374 GB, free: 240.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/3.317, allocations: 0 / 1.374 GB, free: 240.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001294/3.318, allocations: 0.9886 MB / 1.375 GB, free: 239.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/3.321, allocations: 2.096 MB / 1.377 GB, free: 237.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/3.322, allocations: 7.984 kB / 1.377 GB, free: 237.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003196/3.322, allocations: 77.12 kB / 1.377 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4631/3.785, allocations: 96.84 MB / 1.471 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002438/3.785, allocations: 20.8 kB / 1.471 GB, free: 140.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009317/3.786, allocations: 0.7425 MB / 1.472 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/3.786, allocations: 0 / 1.472 GB, free: 140.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003445/3.79, allocations: 1.505 MB / 1.473 GB, free: 139.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007793/3.791, allocations: 291.9 kB / 1.474 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004053/3.791, allocations: 15.11 kB / 1.474 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008088/3.792, allocations: 53.45 kB / 1.474 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/3.792, allocations: 34.88 kB / 1.474 GB, free: 138.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/3.792, allocations: 28.55 kB / 1.474 GB, free: 138.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001373/3.793, allocations: 0.8054 MB / 1.475 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/3.793, allocations: 1.641 kB / 1.475 GB, free: 138.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002776/3.796, allocations: 0.7105 MB / 1.475 GB, free: 137.6 MB / 0.9981 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.00252/3.799, allocations: 0.9252 MB / 1.476 GB, free: 137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002394/3.801, allocations: 1.197 MB / 1.477 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/3.801, allocations: 4.062 kB / 1.477 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006274/3.802, allocations: 363.5 kB / 1.478 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/3.804, allocations: 484.7 kB / 1.478 GB, free: 135.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/3.807, allocations: 2.331 MB / 1.48 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/3.808, allocations: 1.089 MB / 1.482 GB, free: 132.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008935/3.809, allocations: 269.6 kB / 1.482 GB, free: 132 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/3.809, allocations: 96.41 kB / 1.482 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/3.809, allocations: 0 / 1.482 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03703/3.846, allocations: 25.78 MB / 1.507 GB, free: 106.7 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.Validation.MerkelEnergyPlus.pipe 2>&1) Environment - environmentSimulation: