Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.795/1.795, allocations: 288.3 MB / 303.2 MB, free: 8.312 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.001146/0.001146, allocations: 181 kB / 371.8 MB, free: 10.26 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.696/1.696, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.0008669/0.0008668, allocations: 100.1 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004108/0.0004108, allocations: 16.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2415, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.6685/0.9101, allocations: 198.3 MB / 1.173 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04013/0.9502, allocations: 23.26 MB / 1.196 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004812/0.9551, allocations: 82.03 kB / 1.196 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004896/0.96, allocations: 1.111 MB / 1.197 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.974, allocations: 3.568 MB / 1.2 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01393/0.9879, allocations: 3.556 MB / 1.204 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009679/0.9976, allocations: 4.11 MB / 1.208 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/1.002, allocations: 2.249 MB / 1.21 GB, free: 1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/1.006, allocations: 1.743 MB / 1.212 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00264/1.009, allocations: 1.353 MB / 1.213 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004277/1.009, allocations: 100 kB / 1.213 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005631/1.015, allocations: 2.231 MB / 1.215 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006914/1.016, allocations: 0.6342 MB / 1.216 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009194/1.017, allocations: 0.6289 MB / 1.217 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006087/1.023, allocations: 4.377 MB / 1.221 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/1.023, allocations: 4 kB / 1.221 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.013e-06/1.023, allocations: 0 / 1.221 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.261e-05/1.023, allocations: 0 / 1.221 GB, free: 5.906 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.006561/1.029, allocations: 3.462 MB / 1.224 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/1.029, allocations: 8.031 kB / 1.224 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002525/1.032, allocations: 0.632 MB / 1.225 GB, free: 1.723 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004266/1.036, allocations: 2.528 MB / 1.227 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/1.036, allocations: 176.3 kB / 1.228 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/1.037, allocations: 235.8 kB / 1.228 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004149/1.041, allocations: 2.434 MB / 1.23 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/1.041, allocations: 3.984 kB / 1.23 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/1.041, allocations: 95.98 kB / 1.23 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/1.041, allocations: 60 kB / 1.23 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004241/1.046, allocations: 2.358 MB / 1.233 GB, free: 9.602 MB / 0.7605 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.01367/1.059, allocations: 9.572 MB / 1.242 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00336/1.063, allocations: 1.777 MB / 1.244 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007983/1.071, allocations: 5.818 MB / 1.249 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/1.072, allocations: 0.9465 MB / 1.25 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007329/1.073, allocations: 166.3 kB / 1.25 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=157): time 2.916e-06/1.073, allocations: 0 / 1.25 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=157): time 0.009312/1.083, allocations: 2.992 MB / 1.253 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/1.083, allocations: 300 kB / 1.254 GB, free: 2.934 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/1.087, allocations: 2.585 MB / 1.256 GB, free: 336 kB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0005207/1.087, allocations: 61.64 kB / 1.256 GB, free: 268 kB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.089, allocations: 1.31 MB / 1.258 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006986/1.09, allocations: 0.5237 MB / 1.258 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/1.09, allocations: 36 kB / 1.258 GB, free: 14.37 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002221/1.09, allocations: 377.9 kB / 1.258 GB, free: 14 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.092, allocations: 0.6871 MB / 1.259 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/1.094, allocations: 1.275 MB / 1.26 GB, free: 11.83 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.096, allocations: 0.8375 MB / 1.261 GB, free: 11 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/1.096, allocations: 4 kB / 1.261 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.00668/1.103, allocations: 2.375 MB / 1.264 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002035/1.105, allocations: 4.545 MB / 1.268 GB, free: 3.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.092e-05/1.105, allocations: 16 kB / 1.268 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794/2.899, allocations: 193.6 MB / 1.457 GB, free: 347.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00276/2.902, allocations: 434.9 kB / 1.457 GB, free: 347 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/2.906, allocations: 2.837 MB / 1.46 GB, free: 344.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003516/2.91, allocations: 207.4 kB / 1.46 GB, free: 344.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000433/2.91, allocations: 93.58 kB / 1.461 GB, free: 344.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/2.91, allocations: 2.75 kB / 1.461 GB, free: 344.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006566/2.917, allocations: 2.02 MB / 1.462 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.353e-05/2.917, allocations: 16.41 kB / 1.463 GB, free: 343.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193/4.11, allocations: 193.6 MB / 1.652 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/4.112, allocations: 415.3 kB / 1.652 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/4.115, allocations: 2.839 MB / 1.655 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/4.117, allocations: 178.3 kB / 1.655 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/4.118, allocations: 89.3 kB / 1.655 GB, free: 152.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 9 (conFan.con1.y,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 222 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001337/4.119, allocations: 0.6955 MB / 1.656 GB, free: 151.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/4.119, allocations: 272.9 kB / 1.656 GB, free: 151.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004875/4.124, allocations: 2.335 MB / 1.658 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/4.124, allocations: 16 kB / 1.658 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/4.124, allocations: 7.734 kB / 1.658 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003464/4.128, allocations: 1.937 MB / 1.66 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/4.135, allocations: 4.631 MB / 1.665 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/4.135, allocations: 4 kB / 1.665 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/4.137, allocations: 315.6 kB / 1.665 GB, free: 142.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5691/4.706, allocations: 96.92 MB / 1.76 GB, free: 45.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000374/4.706, allocations: 51.97 kB / 1.76 GB, free: 45.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/4.709, allocations: 2.305 MB / 1.762 GB, free: 42.69 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/4.709, allocations: 4.031 kB / 1.762 GB, free: 42.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005973/4.715, allocations: 3.164 MB / 1.765 GB, free: 39.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/4.716, allocations: 0.6059 MB / 1.766 GB, free: 38.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/4.717, allocations: 35.95 kB / 1.766 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/4.718, allocations: 187.7 kB / 1.766 GB, free: 38.69 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/4.718, allocations: 121.8 kB / 1.766 GB, free: 38.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/4.719, allocations: 75.94 kB / 1.766 GB, free: 38.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002237/4.721, allocations: 1.755 MB / 1.768 GB, free: 36.74 MB / 0.948 GB Notification: Performance of sort global known variables: time 3e-07/4.721, allocations: 0 / 1.768 GB, free: 36.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004153/4.725, allocations: 1.669 MB / 1.769 GB, free: 35.25 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (tow.vol.dynBal.U,pum.vol.dynBal.U,pum.filter.x[1],pum.filter.x[2],vol.dynBal.U,conFan.I.y) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,onOffCon.y) * Number of discrete states: 3 (onOffCon.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003369/4.728, allocations: 1.266 MB / 1.771 GB, free: 34.34 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006522/4.735, allocations: 3.138 MB / 1.774 GB, free: 31.17 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/4.735, allocations: 4 kB / 1.774 GB, free: 31.16 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/4.737, allocations: 1.03 MB / 1.775 GB, free: 30.12 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005349/4.742, allocations: 1.191 MB / 1.776 GB, free: 28.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009976/4.752, allocations: 6.246 MB / 1.782 GB, free: 22.68 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/4.753, allocations: 1.894 MB / 1.784 GB, free: 20.76 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003622/4.757, allocations: 0.8067 MB / 1.785 GB, free: 19.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006543/4.758, allocations: 263.3 kB / 1.785 GB, free: 19.69 MB / 0.948 GB Notification: Performance of SimCode: time 1.233e-06/4.758, allocations: 0 / 1.785 GB, free: 19.69 MB / 0.948 GB Notification: Performance of Templates: time 0.5099/5.268, allocations: 58.04 MB / 1.841 GB, free: 332.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)