Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.5 MB / 267.4 MB, free: 11.11 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.0009249/0.0009249, allocations: 176 kB / 326.5 MB, free: 2.695 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.51/1.51, allocations: 205 MB / 0.5767 GB, free: 20.95 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.0007108/0.0007108, allocations: 92.72 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002988, allocations: 12.34 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1669, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.0668/0.2337, allocations: 85.47 MB / 0.9802 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.5446/0.7784, allocations: 165 MB / 1.141 GB, free: 27.44 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003515/0.7819, allocations: 85.31 kB / 1.141 GB, free: 27.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003441/0.7854, allocations: 1.072 MB / 1.143 GB, free: 27.1 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.007144/0.7926, allocations: 2.731 MB / 1.145 GB, free: 26.13 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008281/0.8009, allocations: 3.507 MB / 1.149 GB, free: 25.26 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008518/0.8094, allocations: 7.872 MB / 1.156 GB, free: 22.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/0.8124, allocations: 2.192 MB / 1.158 GB, free: 22.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.8154, allocations: 1.879 MB / 1.16 GB, free: 21.34 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.8174, allocations: 1.692 MB / 1.162 GB, free: 20.62 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002801/0.8177, allocations: 88.97 kB / 1.162 GB, free: 20.62 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.8216, allocations: 1.928 MB / 1.164 GB, free: 20 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005255/0.8222, allocations: 0.582 MB / 1.164 GB, free: 19.62 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.8234, allocations: 1.278 MB / 1.166 GB, free: 18.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.8286, allocations: 4.588 MB / 1.17 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.8287, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8287, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.825e-05/0.8287, allocations: 0 / 1.17 GB, free: 15.87 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.004499/0.8332, allocations: 2.872 MB / 1.173 GB, free: 13.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.8333, allocations: 7.938 kB / 1.173 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.8352, allocations: 498.3 kB / 1.173 GB, free: 13.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.8383, allocations: 2.197 MB / 1.176 GB, free: 11.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.621e-05/0.8384, allocations: 159 kB / 1.176 GB, free: 11.15 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002052/0.8386, allocations: 195.9 kB / 1.176 GB, free: 10.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.8415, allocations: 2.135 MB / 1.178 GB, free: 8.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.8416, allocations: 7.938 kB / 1.178 GB, free: 8.723 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/0.8417, allocations: 82.11 kB / 1.178 GB, free: 8.645 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.8418, allocations: 48 kB / 1.178 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.8447, allocations: 2.016 MB / 1.18 GB, free: 6.578 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.00897/0.8537, allocations: 8.31 MB / 1.188 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/0.8561, allocations: 1.348 MB / 1.19 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.8572, allocations: 0.6144 MB / 1.19 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004539/0.8618, allocations: 3.136 MB / 1.193 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.8632, allocations: 0.7628 MB / 1.194 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004923/0.8637, allocations: 138.6 kB / 1.194 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=127): time 3.196e-06/0.8637, allocations: 0 / 1.194 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=127): time 0.004553/0.8682, allocations: 1.938 MB / 1.196 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.8684, allocations: 274.3 kB / 1.196 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.8708, allocations: 1.924 MB / 1.198 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/0.871, allocations: 57.7 kB / 1.198 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009026/0.8719, allocations: 1.103 MB / 1.199 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.8722, allocations: 440.8 kB / 1.2 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.8724, allocations: 137.6 kB / 1.2 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8725, allocations: 313.1 kB / 1.2 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.8736, allocations: 0.5505 MB / 1.201 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.8751, allocations: 0.9983 MB / 1.202 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.8776, allocations: 1.492 MB / 1.203 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.8777, allocations: 8 kB / 1.203 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003968/0.8816, allocations: 1.862 MB / 1.205 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.8819, allocations: 400.1 kB / 1.205 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.8819, allocations: 12 kB / 1.205 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005925/0.8825, allocations: 96.77 kB / 1.205 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.8839, allocations: 375.4 kB / 1.206 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.8858, allocations: 1.53 MB / 1.207 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.8875, allocations: 170.4 kB / 1.207 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.8877, allocations: 75.97 kB / 1.208 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-06/0.8877, allocations: 4 kB / 1.208 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003048/0.8908, allocations: 1.562 MB / 1.209 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.8908, allocations: 12 kB / 1.209 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/0.8913, allocations: 99.56 kB / 1.209 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.8926, allocations: 363.4 kB / 1.209 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.8943, allocations: 1.536 MB / 1.211 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.8959, allocations: 148.4 kB / 1.211 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.896, allocations: 79.95 kB / 1.211 GB, free: 5.508 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.001008/0.897, allocations: 0.6214 MB / 1.212 GB, free: 4.875 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/0.8974, allocations: 225.2 kB / 1.212 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003914/0.9014, allocations: 1.807 MB / 1.214 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002777/0.9042, allocations: 1.525 MB / 1.215 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.9042, allocations: 0 / 1.215 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/0.905, allocations: 462 kB / 1.216 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.9053, allocations: 35.94 kB / 1.216 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.9066, allocations: 150 kB / 1.216 GB, free: 0.6016 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.9068, allocations: 105 kB / 1.216 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003597/0.9104, allocations: 1.61 MB / 1.218 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003992/0.9144, allocations: 2.418 MB / 1.22 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001069/0.9155, allocations: 0.6388 MB / 1.221 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001909/0.9175, allocations: 1.298 MB / 1.222 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of Backend: time 4.71e-07/0.9175, allocations: 0 / 1.222 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006913/0.9244, allocations: 3.197 MB / 1.225 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of SimCode: time 0.009993/0.9344, allocations: 6.127 MB / 1.231 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of Templates: time 0.08356/1.018, allocations: 52.96 MB / 1.283 GB, free: 12.75 MB / 0.8073 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)