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.662/1.662, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.001038/0.001038, allocations: 184.5 kB / 372.9 MB, free: 10.17 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.386/1.386, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007874/0.0007876, allocations: 98.34 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 12.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.6088/0.7971, allocations: 214.9 MB / 1.191 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03562/0.8327, allocations: 25.16 MB / 1.215 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.8364, allocations: 80.59 kB / 1.215 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.8401, allocations: 1.073 MB / 1.216 GB, free: 14.45 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.009967/0.8501, allocations: 3.386 MB / 1.22 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009762/0.8599, allocations: 3.277 MB / 1.223 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009867/0.8697, allocations: 7.487 MB / 1.23 GB, free: 320 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004534/0.8743, allocations: 2.504 MB / 1.233 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00409/0.8784, allocations: 2.003 MB / 1.234 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.8817, allocations: 1.792 MB / 1.236 GB, free: 9.941 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0008282/0.8825, allocations: 104 kB / 1.236 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00644/0.889, allocations: 2.982 MB / 1.239 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/0.8901, allocations: 0.6652 MB / 1.24 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002439/0.8926, allocations: 1.455 MB / 1.241 GB, free: 4.715 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005767/0.8984, allocations: 4.544 MB / 1.246 GB, free: 164 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8984, allocations: 3.938 kB / 1.246 GB, free: 160 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8984, allocations: 0 / 1.246 GB, free: 160 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.306e-05/0.8985, allocations: 0 / 1.246 GB, free: 160 kB / 0.7605 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.006218/0.9047, allocations: 3.447 MB / 1.249 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9048, allocations: 12.03 kB / 1.249 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.9072, allocations: 0.6203 MB / 1.25 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003946/0.9111, allocations: 2.537 MB / 1.252 GB, free: 9.387 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.9113, allocations: 184.2 kB / 1.252 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/0.9116, allocations: 231.8 kB / 1.253 GB, free: 8.977 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004116/0.9157, allocations: 2.479 MB / 1.255 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.9158, allocations: 11.94 kB / 1.255 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.916, allocations: 88 kB / 1.255 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.916, allocations: 56 kB / 1.255 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004343/0.9204, allocations: 2.401 MB / 1.258 GB, free: 3.773 MB / 0.7761 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.01323/0.9336, allocations: 9.544 MB / 1.267 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003432/0.9371, allocations: 1.829 MB / 1.269 GB, free: 8.043 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/0.9386, allocations: 0.824 MB / 1.269 GB, free: 7.219 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007665/0.9463, allocations: 5.821 MB / 1.275 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/0.9481, allocations: 0.9761 MB / 1.276 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006687/0.9488, allocations: 166.3 kB / 1.276 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 3.798e-06/0.9488, allocations: 4 kB / 1.276 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=157): time 0.008769/0.9576, allocations: 3.064 MB / 1.279 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.9578, allocations: 308 kB / 1.28 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/0.9609, allocations: 2.358 MB / 1.282 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001535/0.9611, allocations: 61.7 kB / 1.282 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.9622, allocations: 1.283 MB / 1.283 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004445/0.9627, allocations: 0.5276 MB / 1.284 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.9628, allocations: 40 kB / 1.284 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.963, allocations: 381.8 kB / 1.284 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.9645, allocations: 0.7301 MB / 1.285 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.9665, allocations: 1.312 MB / 1.286 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.9697, allocations: 1.901 MB / 1.288 GB, free: 3.184 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.9697, allocations: 4 kB / 1.288 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005046/0.9747, allocations: 2.461 MB / 1.29 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.975, allocations: 429.7 kB / 1.291 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.975, allocations: 12 kB / 1.291 GB, free: 124 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517/2.492, allocations: 193.6 MB / 1.48 GB, free: 334.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/2.494, allocations: 438.4 kB / 1.48 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/2.497, allocations: 2.814 MB / 1.483 GB, free: 331.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/2.5, allocations: 210.2 kB / 1.483 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000418/2.5, allocations: 96.58 kB / 1.483 GB, free: 331.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/2.501, allocations: 6.625 kB / 1.483 GB, free: 331.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004748/2.505, allocations: 2.116 MB / 1.485 GB, free: 329.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/2.505, allocations: 12 kB / 1.485 GB, free: 329.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103/3.608, allocations: 193.6 MB / 1.674 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/3.61, allocations: 419.3 kB / 1.675 GB, free: 135.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/3.613, allocations: 2.817 MB / 1.678 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/3.616, allocations: 184.7 kB / 1.678 GB, free: 132 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003925/3.616, allocations: 95.97 kB / 1.678 GB, free: 131.9 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: 11 (conFan.con1.y,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffCon.y,onOffCon.y,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (236): * Single equations (assignments): 230 * 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.001573/3.618, allocations: 0.6935 MB / 1.679 GB, free: 131.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006147/3.618, allocations: 268.6 kB / 1.679 GB, free: 131.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/3.624, allocations: 2.369 MB / 1.681 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003717/3.627, allocations: 1.98 MB / 1.683 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/3.628, allocations: 7.188 kB / 1.683 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/3.629, allocations: 0.5746 MB / 1.684 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000714/3.63, allocations: 32 kB / 1.684 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/3.632, allocations: 180.6 kB / 1.684 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/3.632, allocations: 125.8 kB / 1.684 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005687/3.638, allocations: 2.252 MB / 1.686 GB, free: 123.7 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00538/3.643, allocations: 3.093 MB / 1.689 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001331/3.644, allocations: 0.8277 MB / 1.69 GB, free: 119.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002559/3.647, allocations: 1.583 MB / 1.692 GB, free: 118.2 MB / 0.948 GB Notification: Performance of Backend: time 6.52e-07/3.647, allocations: 0 / 1.692 GB, free: 118.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0107/3.658, allocations: 4.065 MB / 1.695 GB, free: 114.6 MB / 0.948 GB Notification: Performance of SimCode: time 0.01224/3.67, allocations: 7.032 MB / 1.702 GB, free: 107.5 MB / 0.948 GB Notification: Performance of Templates: time 0.09513/3.765, allocations: 66.27 MB / 1.767 GB, free: 41.71 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)