Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.186/2.186, allocations: 251.1 MB / 266.7 MB, free: 11.63 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.001838/0.001838, allocations: 177.3 kB / 326.2 MB, free: 2.859 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.311/2.311, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0009441/0.0009437, allocations: 92.55 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 14.08 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.09828/0.2964, allocations: 79.62 MB / 0.9773 GB, free: 1.727 MB / 0.6199 GB Notification: Performance of NFInst.instExpressions: time 0.8517/1.148, allocations: 152.2 MB / 1.126 GB, free: 29.03 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003746/1.152, allocations: 76.47 kB / 1.126 GB, free: 29 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004306/1.156, allocations: 0.8756 MB / 1.127 GB, free: 28.71 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.009766/1.166, allocations: 2.38 MB / 1.129 GB, free: 28.1 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01311/1.179, allocations: 3.058 MB / 1.132 GB, free: 27.85 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01177/1.191, allocations: 6.858 MB / 1.139 GB, free: 26.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004636/1.196, allocations: 2.159 MB / 1.141 GB, free: 25.4 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005064/1.201, allocations: 1.803 MB / 1.143 GB, free: 24.72 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/1.205, allocations: 1.594 MB / 1.144 GB, free: 24.08 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0007315/1.206, allocations: 87.66 kB / 1.144 GB, free: 24.08 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/1.212, allocations: 1.516 MB / 1.146 GB, free: 23.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001411/1.213, allocations: 0.5462 MB / 1.146 GB, free: 23.4 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/1.214, allocations: 0.5496 MB / 1.147 GB, free: 23.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007075/1.221, allocations: 3.527 MB / 1.15 GB, free: 21.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.221, allocations: 0 / 1.15 GB, free: 21.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.494e-06/1.221, allocations: 2.531 kB / 1.15 GB, free: 21.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001335/1.222, allocations: 0 / 1.15 GB, free: 21.42 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.008421/1.23, allocations: 2.902 MB / 1.153 GB, free: 19.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.23, allocations: 11.94 kB / 1.153 GB, free: 19.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003849/1.234, allocations: 493.4 kB / 1.154 GB, free: 19.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/1.24, allocations: 2.115 MB / 1.156 GB, free: 18.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/1.24, allocations: 147.6 kB / 1.156 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/1.241, allocations: 198.3 kB / 1.156 GB, free: 18.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006072/1.247, allocations: 2.112 MB / 1.158 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.31e-05/1.247, allocations: 8.719 kB / 1.158 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/1.247, allocations: 79.69 kB / 1.158 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.603e-05/1.247, allocations: 56.17 kB / 1.158 GB, free: 17.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006401/1.254, allocations: 2.004 MB / 1.16 GB, free: 17.2 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.01822/1.272, allocations: 8.318 MB / 1.168 GB, free: 12.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/1.277, allocations: 1.325 MB / 1.17 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002037/1.279, allocations: 0.6179 MB / 1.17 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007657/1.286, allocations: 3.138 MB / 1.173 GB, free: 9.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/1.289, allocations: 0.7551 MB / 1.174 GB, free: 9.199 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001166/1.29, allocations: 132.4 kB / 1.174 GB, free: 9.086 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 6.733e-06/1.29, allocations: 3.984 kB / 1.174 GB, free: 9.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.007734/1.298, allocations: 1.938 MB / 1.176 GB, free: 7.594 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/1.298, allocations: 274.3 kB / 1.176 GB, free: 7.266 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003689/1.301, allocations: 1.911 MB / 1.178 GB, free: 5.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004004/1.302, allocations: 54.83 kB / 1.178 GB, free: 5.797 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001183/1.303, allocations: 1.098 MB / 1.179 GB, free: 5.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006487/1.304, allocations: 437.4 kB / 1.18 GB, free: 4.797 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/1.304, allocations: 28.75 kB / 1.18 GB, free: 4.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/1.304, allocations: 376.1 kB / 1.18 GB, free: 4.445 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001898/1.306, allocations: 0.5305 MB / 1.181 GB, free: 4.094 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/1.308, allocations: 0.9774 MB / 1.182 GB, free: 3.172 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/1.31, allocations: 0.6594 MB / 1.182 GB, free: 2.758 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.311, allocations: 3.938 kB / 1.182 GB, free: 2.754 MB / 0.698 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.006463/1.317, allocations: 1.82 MB / 1.184 GB, free: 1.383 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002278/1.317, allocations: 393.4 kB / 1.184 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/1.317, allocations: 15.98 kB / 1.184 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009825/1.318, allocations: 94.91 kB / 1.184 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00287/1.321, allocations: 370.2 kB / 1.185 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/1.324, allocations: 1.542 MB / 1.186 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003575/1.328, allocations: 161.2 kB / 1.186 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000403/1.328, allocations: 77.28 kB / 1.187 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/1.328, allocations: 9.75 kB / 1.187 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005622/1.334, allocations: 1.555 MB / 1.188 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/1.334, allocations: 15.98 kB / 1.188 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009874/1.335, allocations: 91.78 kB / 1.188 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/1.338, allocations: 357.4 kB / 1.188 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/1.341, allocations: 1.536 MB / 1.19 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/1.344, allocations: 155.9 kB / 1.19 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/1.345, allocations: 77.47 kB / 1.19 GB, free: 11.43 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.001724/1.346, allocations: 0.6025 MB / 1.191 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007401/1.347, allocations: 233.2 kB / 1.191 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006954/1.354, allocations: 1.81 MB / 1.193 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005154/1.359, allocations: 1.518 MB / 1.194 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.359, allocations: 0 / 1.194 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.361, allocations: 497.8 kB / 1.195 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005814/1.362, allocations: 28 kB / 1.195 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.365, allocations: 157.5 kB / 1.195 GB, free: 6.926 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/1.365, allocations: 105.1 kB / 1.195 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006886/1.372, allocations: 1.589 MB / 1.197 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007981/1.38, allocations: 2.41 MB / 1.199 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002176/1.382, allocations: 0.6311 MB / 1.2 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003327/1.386, allocations: 1.275 MB / 1.201 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of Backend: time 4.719e-06/1.386, allocations: 4.031 kB / 1.201 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.398, allocations: 3.147 MB / 1.204 GB, free: 14 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0186/1.416, allocations: 6.061 MB / 1.21 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of Templates: time 0.143/1.559, allocations: 51.64 MB / 1.26 GB, free: 4.645 MB / 0.7761 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1)