Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.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.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.4 MB / 304.3 MB, free: 8.07 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.001016/0.001016, allocations: 185.7 kB / 372.9 MB, free: 10.16 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.391/1.391, allocations: 205.4 MB / 0.6316 GB, free: 9.93 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.0007626/0.0007628, allocations: 93.47 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003992, allocations: 16.3 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.07123/0.2673, allocations: 80.69 MB / 1.06 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.5153/0.7826, allocations: 154 MB / 1.21 GB, free: 8.746 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.7858, allocations: 83.44 kB / 1.21 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003366/0.7892, allocations: 1.033 MB / 1.211 GB, free: 7.625 MB / 0.7292 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.008014/0.7973, allocations: 2.75 MB / 1.214 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00939/0.8067, allocations: 3.349 MB / 1.217 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009835/0.8165, allocations: 7.251 MB / 1.224 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003765/0.8203, allocations: 2.433 MB / 1.226 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.8238, allocations: 1.941 MB / 1.228 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002443/0.8263, allocations: 1.738 MB / 1.23 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.8267, allocations: 96 kB / 1.23 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.8309, allocations: 2.144 MB / 1.232 GB, free: 1.855 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006704/0.8316, allocations: 0.6068 MB / 1.233 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.8331, allocations: 1.381 MB / 1.234 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.8377, allocations: 3.99 MB / 1.238 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8377, allocations: 4 kB / 1.238 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8377, allocations: 3.938 kB / 1.238 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.55e-05/0.8378, allocations: 0 / 1.238 GB, free: 11.84 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.00557/0.8434, allocations: 3.183 MB / 1.241 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.8434, allocations: 12.03 kB / 1.241 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/0.8459, allocations: 0.5784 MB / 1.242 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004178/0.8501, allocations: 2.377 MB / 1.244 GB, free: 5.535 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.8503, allocations: 164.2 kB / 1.244 GB, free: 5.371 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003148/0.8506, allocations: 223.9 kB / 1.244 GB, free: 5.152 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004235/0.8548, allocations: 2.443 MB / 1.247 GB, free: 2.531 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.8549, allocations: 3.938 kB / 1.247 GB, free: 2.527 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.8551, allocations: 95.94 kB / 1.247 GB, free: 2.434 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.655e-05/0.8551, allocations: 56 kB / 1.247 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004351/0.8595, allocations: 2.298 MB / 1.249 GB, free: 80 kB / 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.01427/0.8738, allocations: 9.965 MB / 1.259 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.8769, allocations: 1.567 MB / 1.26 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.8784, allocations: 0.7452 MB / 1.261 GB, free: 3.434 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006749/0.8852, allocations: 4.757 MB / 1.266 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/0.887, allocations: 0.9038 MB / 1.267 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006928/0.8877, allocations: 158.4 kB / 1.267 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 3.286e-06/0.8877, allocations: 0 / 1.267 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.005621/0.8933, allocations: 2.289 MB / 1.269 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.8935, allocations: 274.3 kB / 1.269 GB, free: 10.52 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002967/0.8964, allocations: 2.151 MB / 1.271 GB, free: 8.355 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.8966, allocations: 57.7 kB / 1.272 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.8977, allocations: 1.262 MB / 1.273 GB, free: 7.016 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004155/0.8981, allocations: 0.489 MB / 1.273 GB, free: 6.52 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.781e-05/0.8982, allocations: 44 kB / 1.273 GB, free: 6.477 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8984, allocations: 377.8 kB / 1.274 GB, free: 6.102 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.8999, allocations: 0.6832 MB / 1.274 GB, free: 5.418 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001965/0.9018, allocations: 1.296 MB / 1.276 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.9051, allocations: 1.882 MB / 1.277 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.9051, allocations: 4 kB / 1.277 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.00495/0.9101, allocations: 2.26 MB / 1.28 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000294/0.9104, allocations: 492.9 kB / 1.28 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.9104, allocations: 19.98 kB / 1.28 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.911, allocations: 100.7 kB / 1.28 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.9129, allocations: 455.3 kB / 1.281 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.9152, allocations: 2.133 MB / 1.283 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002215/0.9175, allocations: 186.4 kB / 1.283 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/0.9177, allocations: 103.8 kB / 1.283 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.9177, allocations: 4.781 kB / 1.283 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003981/0.9217, allocations: 1.957 MB / 1.285 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.9217, allocations: 16 kB / 1.285 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.9223, allocations: 100.9 kB / 1.285 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.924, allocations: 439.3 kB / 1.285 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.9262, allocations: 2.134 MB / 1.288 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.9283, allocations: 172.5 kB / 1.288 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.9284, allocations: 95.95 kB / 1.288 GB, free: 6.711 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.001279/0.9297, allocations: 0.6567 MB / 1.288 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003716/0.9301, allocations: 260.8 kB / 1.289 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.935, allocations: 2.161 MB / 1.291 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00357/0.9386, allocations: 1.792 MB / 1.293 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.9386, allocations: 0 / 1.293 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.9397, allocations: 0.5442 MB / 1.293 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/0.94, allocations: 36 kB / 1.293 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/0.9416, allocations: 162.1 kB / 1.293 GB, free: 0.9883 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.9418, allocations: 117.8 kB / 1.293 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004489/0.9463, allocations: 1.908 MB / 1.295 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005159/0.9515, allocations: 2.896 MB / 1.298 GB, free: 12.04 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001416/0.9529, allocations: 0.7847 MB / 1.299 GB, free: 11.26 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002085/0.955, allocations: 1.427 MB / 1.3 GB, free: 9.824 MB / 0.823 GB Notification: Performance of Backend: time 1.593e-06/0.955, allocations: 0 / 1.3 GB, free: 9.824 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.008361/0.9634, allocations: 3.712 MB / 1.304 GB, free: 6.227 MB / 0.823 GB Notification: Performance of SimCode: time 0.01118/0.9746, allocations: 6.656 MB / 1.31 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of Templates: time 0.09095/1.066, allocations: 59.02 MB / 1.368 GB, free: 4.902 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe 2>&1)