Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.45/2.45, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001512/0.001511, allocations: 192.3 kB / 326.3 MB, free: 2.863 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.352/2.352, 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.0008624/0.0008618, allocations: 86.42 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004843, allocations: 10.41 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.198, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.1071/0.3051, allocations: 79.62 MB / 0.9773 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8743/1.179, allocations: 152.2 MB / 1.126 GB, free: 29.02 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/1.183, allocations: 79.84 kB / 1.126 GB, free: 28.98 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00445/1.188, allocations: 0.8691 MB / 1.127 GB, free: 28.7 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.01123/1.199, allocations: 2.376 MB / 1.129 GB, free: 28.08 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01384/1.213, allocations: 3.064 MB / 1.132 GB, free: 27.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01216/1.225, allocations: 6.857 MB / 1.139 GB, free: 26.13 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004874/1.23, allocations: 2.154 MB / 1.141 GB, free: 25.36 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005286/1.236, allocations: 1.805 MB / 1.143 GB, free: 24.68 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004008/1.24, allocations: 1.594 MB / 1.144 GB, free: 24.04 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008495/1.24, allocations: 88.28 kB / 1.144 GB, free: 24.04 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006045/1.247, allocations: 1.51 MB / 1.146 GB, free: 23.61 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00139/1.248, allocations: 0.5553 MB / 1.146 GB, free: 23.36 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001481/1.25, allocations: 0.5465 MB / 1.147 GB, free: 23.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006974/1.257, allocations: 3.528 MB / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.257, allocations: 4 kB / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.514e-06/1.257, allocations: 0 / 1.15 GB, free: 21.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001383/1.257, allocations: 0 / 1.15 GB, free: 21.38 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: 482 * Number of variables: 482 Notification: Performance of Generate backend data structure: time 0.008581/1.265, allocations: 2.902 MB / 1.153 GB, free: 19.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/1.265, allocations: 10.42 kB / 1.153 GB, free: 19.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003887/1.269, allocations: 492.7 kB / 1.154 GB, free: 19.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/1.275, allocations: 2.116 MB / 1.156 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/1.276, allocations: 148 kB / 1.156 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005608/1.276, allocations: 198.9 kB / 1.156 GB, free: 18.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006071/1.282, allocations: 2.117 MB / 1.158 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.988e-05/1.282, allocations: 6.75 kB / 1.158 GB, free: 17.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002915/1.283, allocations: 83.62 kB / 1.158 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.79e-05/1.283, allocations: 56.17 kB / 1.158 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006579/1.289, allocations: 2.004 MB / 1.16 GB, free: 17.14 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.01895/1.308, allocations: 8.314 MB / 1.168 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/1.313, allocations: 1.325 MB / 1.17 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/1.315, allocations: 0.6188 MB / 1.17 GB, free: 11.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007852/1.323, allocations: 3.143 MB / 1.173 GB, free: 9.723 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/1.325, allocations: 0.7557 MB / 1.174 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001155/1.326, allocations: 125.2 kB / 1.174 GB, free: 9.059 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 5.23e-06/1.326, allocations: 8 kB / 1.174 GB, free: 9.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.00792/1.334, allocations: 1.933 MB / 1.176 GB, free: 7.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/1.335, allocations: 270.3 kB / 1.176 GB, free: 7.242 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/1.338, allocations: 1.914 MB / 1.178 GB, free: 5.809 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003885/1.339, allocations: 55.14 kB / 1.178 GB, free: 5.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/1.34, allocations: 1.098 MB / 1.179 GB, free: 5.133 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/1.341, allocations: 438.6 kB / 1.18 GB, free: 4.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/1.341, allocations: 34.48 kB / 1.18 GB, free: 4.762 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.341, allocations: 366.7 kB / 1.18 GB, free: 4.422 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/1.343, allocations: 0.5329 MB / 1.181 GB, free: 4.066 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002489/1.346, allocations: 0.9775 MB / 1.182 GB, free: 3.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/1.348, allocations: 0.6572 MB / 1.182 GB, free: 2.734 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/1.348, allocations: 8 kB / 1.182 GB, free: 2.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00691/1.355, allocations: 1.813 MB / 1.184 GB, free: 1.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002271/1.355, allocations: 398.2 kB / 1.184 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/1.355, allocations: 11.98 kB / 1.184 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/1.356, allocations: 102 kB / 1.184 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/1.359, allocations: 371.2 kB / 1.185 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/1.362, allocations: 1.548 MB / 1.186 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.366, allocations: 157.5 kB / 1.186 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004583/1.367, allocations: 87.78 kB / 1.187 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/1.367, allocations: 4 kB / 1.187 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005874/1.373, allocations: 1.549 MB / 1.188 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.961e-05/1.373, allocations: 12 kB / 1.188 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009608/1.374, allocations: 96.66 kB / 1.188 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/1.377, allocations: 361.2 kB / 1.189 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/1.38, allocations: 1.533 MB / 1.19 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.383, allocations: 144 kB / 1.19 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/1.383, allocations: 77.28 kB / 1.19 GB, free: 11.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 10 ($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 (195): * Single equations (assignments): 191 * 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: 1 * Mixed (continuous/discrete) equation systems: 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.001824/1.385, allocations: 0.6191 MB / 1.191 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007584/1.386, allocations: 225.2 kB / 1.191 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007308/1.393, allocations: 1.811 MB / 1.193 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005756/1.399, allocations: 1.51 MB / 1.194 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.399, allocations: 0 / 1.194 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/1.401, allocations: 0.4901 MB / 1.195 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008068/1.402, allocations: 32 kB / 1.195 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003134/1.405, allocations: 157.2 kB / 1.195 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/1.406, allocations: 107 kB / 1.195 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007093/1.413, allocations: 1.597 MB / 1.197 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007978/1.421, allocations: 2.399 MB / 1.199 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002086/1.423, allocations: 0.6349 MB / 1.2 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003226/1.426, allocations: 1.271 MB / 1.201 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of Backend: time 1.032e-06/1.426, allocations: 4 kB / 1.201 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.438, allocations: 3.142 MB / 1.204 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of SimCode: time 0.01808/1.456, allocations: 6.067 MB / 1.21 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of Templates: time 0.1439/1.6, allocations: 51.65 MB / 1.26 GB, free: 4.648 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)