Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.5 MB / 267.4 MB, free: 11.12 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.0009826/0.000983, allocations: 178.9 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0007152/0.0007153, allocations: 85.25 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002917, allocations: 11 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1707, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.05932/0.23, allocations: 85.48 MB / 0.9802 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.5275/0.7575, allocations: 165 MB / 1.141 GB, free: 27.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.7611, allocations: 85.28 kB / 1.141 GB, free: 27.39 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.7646, allocations: 1.088 MB / 1.143 GB, free: 27.07 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.008262/0.7729, allocations: 2.722 MB / 1.145 GB, free: 26.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009712/0.7826, allocations: 3.499 MB / 1.149 GB, free: 25.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007767/0.7904, allocations: 7.888 MB / 1.156 GB, free: 22.83 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.7941, allocations: 2.188 MB / 1.158 GB, free: 22.03 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.7982, allocations: 1.867 MB / 1.16 GB, free: 21.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002279/0.8005, allocations: 1.7 MB / 1.162 GB, free: 20.61 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003185/0.8008, allocations: 88.97 kB / 1.162 GB, free: 20.61 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.8048, allocations: 1.934 MB / 1.164 GB, free: 19.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005635/0.8053, allocations: 0.5768 MB / 1.164 GB, free: 19.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.8067, allocations: 1.279 MB / 1.166 GB, free: 18.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.8119, allocations: 4.593 MB / 1.17 GB, free: 15.85 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.8119, allocations: 3.938 kB / 1.17 GB, free: 15.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8119, allocations: 0 / 1.17 GB, free: 15.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.162e-05/0.812, allocations: 0 / 1.17 GB, free: 15.84 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.004659/0.8167, allocations: 2.861 MB / 1.173 GB, free: 13.74 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8167, allocations: 13.02 kB / 1.173 GB, free: 13.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.8187, allocations: 495.6 kB / 1.173 GB, free: 13.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003122/0.8218, allocations: 2.198 MB / 1.176 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.8219, allocations: 151.8 kB / 1.176 GB, free: 11.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.8222, allocations: 211 kB / 1.176 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/0.8253, allocations: 2.119 MB / 1.178 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/0.8254, allocations: 15.92 kB / 1.178 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.8255, allocations: 79.94 kB / 1.178 GB, free: 8.609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.8256, allocations: 52 kB / 1.178 GB, free: 8.559 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.8285, allocations: 2.02 MB / 1.18 GB, free: 6.535 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.009418/0.8379, allocations: 8.313 MB / 1.188 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.8403, allocations: 1.335 MB / 1.19 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.8414, allocations: 0.6144 MB / 1.19 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004646/0.8461, allocations: 3.143 MB / 1.193 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/0.8475, allocations: 0.7617 MB / 1.194 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006021/0.8481, allocations: 138.6 kB / 1.194 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=127): time 3.927e-06/0.8481, allocations: 0 / 1.194 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=127): time 0.004509/0.8526, allocations: 1.938 MB / 1.196 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.8527, allocations: 282.3 kB / 1.196 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/0.8551, allocations: 1.92 MB / 1.198 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.8553, allocations: 53.7 kB / 1.198 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008814/0.8562, allocations: 1.103 MB / 1.199 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.8565, allocations: 438.7 kB / 1.2 GB, free: 2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.8567, allocations: 137.6 kB / 1.2 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.8568, allocations: 305.1 kB / 1.2 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.8579, allocations: 0.5583 MB / 1.201 GB, free: 1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.8593, allocations: 0.9905 MB / 1.202 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.8617, allocations: 1.504 MB / 1.203 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.8618, allocations: 8 kB / 1.203 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003851/0.8656, allocations: 1.868 MB / 1.205 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/0.8659, allocations: 391.2 kB / 1.205 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.8659, allocations: 12 kB / 1.205 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.8665, allocations: 100.7 kB / 1.205 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.8678, allocations: 367.5 kB / 1.206 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.8697, allocations: 1.545 MB / 1.207 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.8716, allocations: 160.4 kB / 1.207 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.8718, allocations: 83.95 kB / 1.208 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/0.8718, allocations: 4 kB / 1.208 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003034/0.8749, allocations: 1.564 MB / 1.209 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.8749, allocations: 12 kB / 1.209 GB, free: 7.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005184/0.8754, allocations: 93.45 kB / 1.209 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.8766, allocations: 359.5 kB / 1.209 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/0.8784, allocations: 1.533 MB / 1.211 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.8802, allocations: 144.5 kB / 1.211 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.8804, allocations: 75.97 kB / 1.211 GB, free: 5.488 MB / 0.7292 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.8816, allocations: 0.6255 MB / 1.212 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/0.8821, allocations: 233.2 kB / 1.212 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/0.886, allocations: 1.803 MB / 1.214 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002798/0.8888, allocations: 1.522 MB / 1.215 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.8888, allocations: 0 / 1.215 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8899, allocations: 462 kB / 1.216 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/0.8902, allocations: 35.92 kB / 1.216 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/0.8916, allocations: 146.8 kB / 1.216 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.8918, allocations: 101.1 kB / 1.216 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00352/0.8953, allocations: 1.613 MB / 1.218 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004436/0.8998, allocations: 2.417 MB / 1.22 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001186/0.901, allocations: 0.6427 MB / 1.221 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002301/0.9033, allocations: 1.294 MB / 1.222 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of Backend: time 2.394e-06/0.9033, allocations: 0 / 1.222 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007535/0.9109, allocations: 3.201 MB / 1.225 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of SimCode: time 0.009416/0.9203, allocations: 6.13 MB / 1.231 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.07707/0.9974, allocations: 52.98 MB / 1.283 GB, free: 12.7 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1)