Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.619/1.619, allocations: 287.4 MB / 303.2 MB, free: 8.316 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.0009487/0.0009486, allocations: 175.4 kB / 371.8 MB, free: 10.8 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.332/1.332, allocations: 205.4 MB / 0.6305 GB, free: 10.52 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.0008397/0.0008396, allocations: 94.22 kB / 0.7438 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003755, allocations: 11.34 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2277, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.7336/0.9613, allocations: 214.8 MB / 1.189 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0388/1, allocations: 25.17 MB / 1.214 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004366/1.005, allocations: 86.47 kB / 1.214 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004238/1.009, allocations: 0.9913 MB / 1.215 GB, free: 15.72 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.01161/1.02, allocations: 3.171 MB / 1.218 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01219/1.033, allocations: 3.252 MB / 1.221 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01147/1.044, allocations: 7.479 MB / 1.228 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005881/1.05, allocations: 2.504 MB / 1.231 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005336/1.055, allocations: 1.984 MB / 1.233 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/1.059, allocations: 1.792 MB / 1.234 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/1.06, allocations: 104 kB / 1.235 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007455/1.068, allocations: 2.398 MB / 1.237 GB, free: 9.043 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001698/1.07, allocations: 0.6613 MB / 1.238 GB, free: 8.379 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001898/1.072, allocations: 0.6327 MB / 1.238 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008496/1.08, allocations: 4.458 MB / 1.242 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/1.08, allocations: 4 kB / 1.242 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.028e-06/1.08, allocations: 0 / 1.242 GB, free: 3.266 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002448/1.08, allocations: 0 / 1.242 GB, free: 3.266 MB / 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.009781/1.09, allocations: 3.441 MB / 1.246 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.09, allocations: 12.03 kB / 1.246 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/1.094, allocations: 0.6242 MB / 1.246 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00829/1.102, allocations: 2.543 MB / 1.249 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/1.103, allocations: 172.3 kB / 1.249 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000747/1.103, allocations: 231.9 kB / 1.249 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006268/1.11, allocations: 2.479 MB / 1.252 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.376e-05/1.11, allocations: 7.938 kB / 1.252 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003606/1.11, allocations: 95.98 kB / 1.252 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.827e-05/1.11, allocations: 60 kB / 1.252 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005368/1.116, allocations: 2.397 MB / 1.254 GB, free: 6.887 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.01736/1.133, allocations: 9.552 MB / 1.264 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003641/1.137, allocations: 1.837 MB / 1.265 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00159/1.138, allocations: 0.824 MB / 1.266 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008924/1.147, allocations: 5.813 MB / 1.272 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001933/1.149, allocations: 0.9739 MB / 1.273 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001008/1.15, allocations: 162.4 kB / 1.273 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=157): time 4.959e-06/1.15, allocations: 0 / 1.273 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of matching and sorting (n=157): time 0.009434/1.16, allocations: 3.071 MB / 1.276 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/1.16, allocations: 308 kB / 1.276 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/1.164, allocations: 2.362 MB / 1.279 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002348/1.164, allocations: 65.7 kB / 1.279 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0012/1.165, allocations: 1.282 MB / 1.28 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005063/1.166, allocations: 0.5276 MB / 1.28 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/1.166, allocations: 40 kB / 1.28 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.166, allocations: 381.8 kB / 1.281 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.168, allocations: 0.7301 MB / 1.282 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.17, allocations: 1.31 MB / 1.283 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003436/1.173, allocations: 1.901 MB / 1.285 GB, free: 6.293 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/1.173, allocations: 4 kB / 1.285 GB, free: 6.289 MB / 0.8073 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005691/1.179, allocations: 2.461 MB / 1.287 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000375/1.179, allocations: 433 kB / 1.287 GB, free: 3.234 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/1.179, allocations: 16 kB / 1.287 GB, free: 3.219 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623/2.802, allocations: 193.6 MB / 1.477 GB, free: 338.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/2.804, allocations: 441.9 kB / 1.477 GB, free: 337.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/2.807, allocations: 2.814 MB / 1.48 GB, free: 335.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/2.81, allocations: 202.6 kB / 1.48 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/2.81, allocations: 96.83 kB / 1.48 GB, free: 334.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/2.81, allocations: 4 kB / 1.48 GB, free: 334.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003918/2.814, allocations: 2.125 MB / 1.482 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/2.814, allocations: 12 kB / 1.482 GB, free: 333.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078/3.893, allocations: 193.6 MB / 1.671 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/3.895, allocations: 420.3 kB / 1.672 GB, free: 138.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/3.898, allocations: 2.821 MB / 1.674 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003096/3.901, allocations: 179.7 kB / 1.675 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/3.901, allocations: 99.95 kB / 1.675 GB, free: 135.7 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.001585/3.903, allocations: 0.6877 MB / 1.675 GB, free: 135 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004871/3.903, allocations: 274.7 kB / 1.676 GB, free: 134.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/3.908, allocations: 2.364 MB / 1.678 GB, free: 132.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003426/3.912, allocations: 1.98 MB / 1.68 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/3.912, allocations: 4 kB / 1.68 GB, free: 130.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/3.914, allocations: 0.5763 MB / 1.68 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004023/3.914, allocations: 32 kB / 1.68 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/3.916, allocations: 184.5 kB / 1.681 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/3.916, allocations: 119.9 kB / 1.681 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005116/3.921, allocations: 2.255 MB / 1.683 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004941/3.926, allocations: 3.091 MB / 1.686 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001256/3.927, allocations: 0.8236 MB / 1.687 GB, free: 123.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00214/3.929, allocations: 1.587 MB / 1.688 GB, free: 122 MB / 0.948 GB Notification: Performance of Backend: time 4.81e-07/3.929, allocations: 0 / 1.688 GB, free: 122 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008607/3.938, allocations: 4.019 MB / 1.692 GB, free: 118.4 MB / 0.948 GB Notification: Performance of SimCode: time 0.009457/3.947, allocations: 7.055 MB / 1.699 GB, free: 111.4 MB / 0.948 GB Notification: Performance of Templates: time 0.09045/4.038, allocations: 65.6 MB / 1.763 GB, free: 46.22 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)