Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.906/1.906, allocations: 287.4 MB / 303.2 MB, free: 8.285 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.0009437/0.0009438, allocations: 176.3 kB / 371.8 MB, free: 10.84 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.655/1.655, allocations: 205.4 MB / 0.6305 GB, free: 10.46 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.000843/0.0008429, allocations: 100.1 kB / 0.7438 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 11.47 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.06733/0.2771, allocations: 80.68 MB / 1.058 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.6817/0.9588, allocations: 154 MB / 1.208 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004569/0.9635, allocations: 87.44 kB / 1.209 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004322/0.9678, allocations: 0.9588 MB / 1.21 GB, free: 8.977 MB / 0.7292 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.011/0.9789, allocations: 2.615 MB / 1.212 GB, free: 6.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01211/0.991, allocations: 3.299 MB / 1.215 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01133/1.002, allocations: 7.255 MB / 1.222 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006117/1.008, allocations: 2.417 MB / 1.225 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/1.014, allocations: 1.921 MB / 1.227 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004191/1.018, allocations: 1.74 MB / 1.228 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001179/1.019, allocations: 100 kB / 1.228 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006532/1.026, allocations: 1.805 MB / 1.23 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001518/1.027, allocations: 0.6068 MB / 1.231 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/1.029, allocations: 0.6016 MB / 1.231 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006944/1.036, allocations: 3.916 MB / 1.235 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.405e-06/1.036, allocations: 8 kB / 1.235 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.084e-06/1.036, allocations: 0 / 1.235 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001791/1.036, allocations: 0 / 1.235 GB, free: 14.62 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: 535 * Number of variables: 535 Notification: Performance of Generate backend data structure: time 0.008418/1.045, allocations: 3.183 MB / 1.238 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.045, allocations: 8.031 kB / 1.238 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/1.048, allocations: 0.5823 MB / 1.239 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006674/1.055, allocations: 2.381 MB / 1.241 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/1.055, allocations: 168.2 kB / 1.241 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008249/1.056, allocations: 219.9 kB / 1.242 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006377/1.063, allocations: 2.443 MB / 1.244 GB, free: 5.309 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.792e-05/1.063, allocations: 7.938 kB / 1.244 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/1.063, allocations: 91.98 kB / 1.244 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.673e-05/1.063, allocations: 63.98 kB / 1.244 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004803/1.068, allocations: 2.287 MB / 1.246 GB, free: 2.859 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.01725/1.085, allocations: 9.973 MB / 1.256 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/1.088, allocations: 1.559 MB / 1.258 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.09, allocations: 0.7539 MB / 1.258 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007267/1.097, allocations: 4.757 MB / 1.263 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/1.099, allocations: 0.9037 MB / 1.264 GB, free: 100 kB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009039/1.1, allocations: 158.4 kB / 1.264 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 5e-06/1.1, allocations: 0 / 1.264 GB, free: 15.94 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.005783/1.106, allocations: 2.285 MB / 1.266 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/1.106, allocations: 278.3 kB / 1.266 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003262/1.109, allocations: 2.148 MB / 1.269 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/1.109, allocations: 61.7 kB / 1.269 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00145/1.111, allocations: 1.258 MB / 1.27 GB, free: 9.793 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005074/1.111, allocations: 0.493 MB / 1.27 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/1.111, allocations: 36 kB / 1.27 GB, free: 9.258 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000193/1.112, allocations: 385.8 kB / 1.271 GB, free: 8.875 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/1.113, allocations: 0.6754 MB / 1.271 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/1.115, allocations: 1.3 MB / 1.273 GB, free: 6.691 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/1.119, allocations: 1.874 MB / 1.275 GB, free: 4.645 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/1.119, allocations: 4 kB / 1.275 GB, free: 4.641 MB / 0.7917 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.004961/1.124, allocations: 2.276 MB / 1.277 GB, free: 2.352 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003011/1.124, allocations: 488.8 kB / 1.277 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/1.124, allocations: 16 kB / 1.277 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/1.124, allocations: 112.7 kB / 1.277 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/1.126, allocations: 443.3 kB / 1.278 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/1.129, allocations: 2.129 MB / 1.28 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.131, allocations: 185.8 kB / 1.28 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.131, allocations: 99.88 kB / 1.28 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.136e-06/1.131, allocations: 4 kB / 1.28 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004009/1.135, allocations: 1.961 MB / 1.282 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/1.135, allocations: 16 kB / 1.282 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000588/1.136, allocations: 104.8 kB / 1.282 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/1.138, allocations: 435.3 kB / 1.283 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/1.14, allocations: 2.136 MB / 1.285 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.143, allocations: 176.5 kB / 1.285 GB, free: 9.578 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/1.143, allocations: 95.97 kB / 1.285 GB, free: 9.484 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 11 ($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,conFan.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 227 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001553/1.145, allocations: 0.6684 MB / 1.286 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004345/1.145, allocations: 260.8 kB / 1.286 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/1.15, allocations: 2.153 MB / 1.288 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003499/1.153, allocations: 1.788 MB / 1.29 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.153, allocations: 0 / 1.29 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/1.155, allocations: 0.5443 MB / 1.29 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/1.155, allocations: 36 kB / 1.29 GB, free: 3.918 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00152/1.157, allocations: 165.1 kB / 1.29 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/1.157, allocations: 113.8 kB / 1.29 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004452/1.161, allocations: 1.912 MB / 1.292 GB, free: 1.727 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005339/1.167, allocations: 2.892 MB / 1.295 GB, free: 14.82 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001467/1.168, allocations: 0.7769 MB / 1.296 GB, free: 14.04 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002299/1.17, allocations: 1.423 MB / 1.297 GB, free: 12.61 MB / 0.823 GB Notification: Performance of Backend: time 1.322e-06/1.17, allocations: 192 / 1.297 GB, free: 12.61 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009131/1.18, allocations: 3.686 MB / 1.301 GB, free: 9.098 MB / 0.823 GB Notification: Performance of SimCode: time 0.01218/1.192, allocations: 6.668 MB / 1.307 GB, free: 2.402 MB / 0.823 GB Notification: Performance of Templates: time 0.096/1.288, allocations: 58.43 MB / 1.365 GB, free: 8.344 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe 2>&1)