Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.081/2.081, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 181 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.262/2.262, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008417/0.0008415, allocations: 96.72 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006306/0.0006308, allocations: 16.62 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1971, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.1072/0.3044, allocations: 80.68 MB / 0.9783 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8656/1.17, allocations: 154 MB / 1.129 GB, free: 28.94 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00461/1.175, allocations: 87.53 kB / 1.129 GB, free: 28.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004656/1.179, allocations: 0.9591 MB / 1.13 GB, free: 28.59 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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 7.0.1/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.01168/1.191, allocations: 2.632 MB / 1.132 GB, free: 27.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01504/1.206, allocations: 3.247 MB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01769/1.224, allocations: 7.275 MB / 1.143 GB, free: 25.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008433/1.232, allocations: 2.401 MB / 1.145 GB, free: 24.56 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008046/1.24, allocations: 1.932 MB / 1.147 GB, free: 23.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005989/1.246, allocations: 1.755 MB / 1.148 GB, free: 23.11 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00146/1.248, allocations: 101.5 kB / 1.149 GB, free: 23.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/1.258, allocations: 1.794 MB / 1.15 GB, free: 22.6 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002121/1.261, allocations: 0.6174 MB / 1.151 GB, free: 22.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002324/1.263, allocations: 0.6012 MB / 1.152 GB, free: 22.19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.274, allocations: 3.942 MB / 1.155 GB, free: 20.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/1.274, allocations: 0 / 1.155 GB, free: 20.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.007e-06/1.274, allocations: 4 kB / 1.155 GB, free: 20.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000184/1.275, allocations: 3.938 kB / 1.155 GB, free: 20.11 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 540 * Number of variables: 540 Notification: Performance of Generate backend data structure: time 0.01442/1.289, allocations: 3.233 MB / 1.159 GB, free: 18.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/1.289, allocations: 14.86 kB / 1.159 GB, free: 18.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007068/1.296, allocations: 0.5826 MB / 1.159 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.306, allocations: 2.304 MB / 1.161 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/1.307, allocations: 168.4 kB / 1.162 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001121/1.308, allocations: 221.3 kB / 1.162 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/1.32, allocations: 2.457 MB / 1.164 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/1.32, allocations: 3.938 kB / 1.164 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006488/1.32, allocations: 92.62 kB / 1.164 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/1.321, allocations: 59.12 kB / 1.164 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/1.333, allocations: 2.309 MB / 1.167 GB, free: 15.28 MB / 0.698 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.03234/1.365, allocations: 10.05 MB / 1.176 GB, free: 8.035 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007177/1.372, allocations: 1.576 MB / 1.178 GB, free: 6.984 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00374/1.376, allocations: 0.7627 MB / 1.179 GB, free: 6.477 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/1.391, allocations: 4.798 MB / 1.183 GB, free: 2.395 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00396/1.395, allocations: 0.911 MB / 1.184 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001679/1.397, allocations: 155.1 kB / 1.184 GB, free: 1.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=149): time 8.306e-06/1.397, allocations: 1.75 kB / 1.184 GB, free: 1.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=149): time 0.0142/1.411, allocations: 2.334 MB / 1.187 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/1.411, allocations: 276.4 kB / 1.187 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006708/1.418, allocations: 2.173 MB / 1.189 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005854/1.418, allocations: 58.45 kB / 1.189 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.421, allocations: 1.27 MB / 1.19 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00111/1.422, allocations: 0.5027 MB / 1.191 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002447/1.422, allocations: 40 kB / 1.191 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003/1.422, allocations: 385.8 kB / 1.191 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00449/1.427, allocations: 0.6832 MB / 1.192 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005681/1.433, allocations: 1.307 MB / 1.193 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/1.437, allocations: 0.8414 MB / 1.194 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.693e-05/1.437, allocations: 4 kB / 1.194 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.009541/1.447, allocations: 2.286 MB / 1.196 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004213/1.447, allocations: 483.5 kB / 1.197 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/1.447, allocations: 19.98 kB / 1.197 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/1.448, allocations: 100.7 kB / 1.197 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00367/1.452, allocations: 455.3 kB / 1.197 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/1.456, allocations: 2.126 MB / 1.199 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004008/1.46, allocations: 188 kB / 1.199 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004021/1.46, allocations: 99.89 kB / 1.2 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-06/1.46, allocations: 4 kB / 1.2 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007035/1.467, allocations: 1.988 MB / 1.202 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/1.467, allocations: 12 kB / 1.202 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009634/1.468, allocations: 101.2 kB / 1.202 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/1.472, allocations: 431.3 kB / 1.202 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/1.475, allocations: 2.141 MB / 1.204 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/1.479, allocations: 172.9 kB / 1.204 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/1.479, allocations: 99.95 kB / 1.204 GB, free: 13.74 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (236): * Single equations (assignments): 230 * 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.001917/1.481, allocations: 0.6606 MB / 1.205 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/1.482, allocations: 260.8 kB / 1.205 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008685/1.491, allocations: 2.208 MB / 1.207 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006364/1.497, allocations: 1.811 MB / 1.209 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/1.497, allocations: 0 / 1.209 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/1.499, allocations: 0.5442 MB / 1.21 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007261/1.5, allocations: 40 kB / 1.21 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/1.503, allocations: 169.9 kB / 1.21 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/1.503, allocations: 117.8 kB / 1.21 GB, free: 7.82 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008911/1.512, allocations: 1.951 MB / 1.212 GB, free: 5.891 MB / 0.7292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01034/1.523, allocations: 2.941 MB / 1.215 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00297/1.526, allocations: 0.7886 MB / 1.216 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003692/1.529, allocations: 1.443 MB / 1.217 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of Backend: time 1.112e-06/1.529, allocations: 0 / 1.217 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.544, allocations: 3.69 MB / 1.221 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of SimCode: time 0.0194/1.563, allocations: 6.747 MB / 1.227 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of Templates: time 0.1583/1.721, allocations: 58.74 MB / 1.285 GB, free: 12.15 MB / 0.8073 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc.pipe 2>&1)