Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.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.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001026/0.001026, allocations: 177.3 kB / 326.5 MB, free: 2.691 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.441/1.441, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0008281/0.000828, allocations: 93.23 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 11.25 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel): time 0.5445/0.708, allocations: 232.3 MB / 1.124 GB, free: 14.21 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02946/0.7375, allocations: 27.42 MB / 1.15 GB, free: 12.03 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003651/0.7412, allocations: 85.97 kB / 1.15 GB, free: 12 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.7447, allocations: 1.22 MB / 1.152 GB, free: 11.65 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.009993/0.7548, allocations: 3.643 MB / 1.155 GB, free: 10.11 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.7655, allocations: 3.69 MB / 1.159 GB, free: 9.203 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008374/0.7739, allocations: 8.547 MB / 1.167 GB, free: 6.578 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/0.7773, allocations: 2.478 MB / 1.17 GB, free: 5.074 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.7803, allocations: 2.042 MB / 1.172 GB, free: 4.055 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.7821, allocations: 1.913 MB / 1.173 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.7824, allocations: 105.7 kB / 1.174 GB, free: 3.023 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/0.7876, allocations: 3.125 MB / 1.177 GB, free: 1.496 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000543/0.7882, allocations: 0.692 MB / 1.177 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.7899, allocations: 1.498 MB / 1.179 GB, free: 56 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.8017, allocations: 5.848 MB / 1.184 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8018, allocations: 0 / 1.184 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8018, allocations: 0 / 1.184 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000141/0.8019, allocations: 0 / 1.184 GB, free: 11.76 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.009878/0.8118, allocations: 3.449 MB / 1.188 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.8119, allocations: 8.031 kB / 1.188 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.8164, allocations: 0.6242 MB / 1.188 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007033/0.8235, allocations: 2.544 MB / 1.191 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.8237, allocations: 176.3 kB / 1.191 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006679/0.8244, allocations: 234.4 kB / 1.191 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007323/0.8318, allocations: 2.494 MB / 1.194 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.405e-05/0.8319, allocations: 4 kB / 1.194 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003428/0.8322, allocations: 99.03 kB / 1.194 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.512e-05/0.8323, allocations: 56 kB / 1.194 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006964/0.8393, allocations: 2.424 MB / 1.196 GB, free: 15.41 MB / 0.7292 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.02075/0.8601, allocations: 9.696 MB / 1.206 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005388/0.8655, allocations: 1.837 MB / 1.207 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/0.8679, allocations: 0.8349 MB / 1.208 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.8797, allocations: 5.798 MB / 1.214 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00302/0.8828, allocations: 0.9739 MB / 1.215 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001151/0.8839, allocations: 160.7 kB / 1.215 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=157): time 1.261e-05/0.884, allocations: 7.984 kB / 1.215 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=157): time 0.01447/0.8985, allocations: 3.079 MB / 1.218 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.8987, allocations: 300 kB / 1.218 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005012/0.9037, allocations: 2.398 MB / 1.221 GB, free: 5.379 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.904, allocations: 61.64 kB / 1.221 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.9053, allocations: 1.302 MB / 1.222 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005628/0.9059, allocations: 0.5283 MB / 1.223 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.9062, allocations: 169.6 kB / 1.223 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.9063, allocations: 305.1 kB / 1.223 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/0.9082, allocations: 0.7574 MB / 1.224 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.9108, allocations: 1.344 MB / 1.225 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004076/0.9149, allocations: 1.927 MB / 1.227 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.9149, allocations: 4 kB / 1.227 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.005351/0.9202, allocations: 2.508 MB / 1.229 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.9205, allocations: 418.2 kB / 1.23 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.9205, allocations: 12 kB / 1.23 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424/2.345, allocations: 193.6 MB / 1.419 GB, free: 366 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001843/2.346, allocations: 431.5 kB / 1.419 GB, free: 365.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002742/2.349, allocations: 2.823 MB / 1.422 GB, free: 363.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/2.352, allocations: 206.2 kB / 1.422 GB, free: 363.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/2.352, allocations: 100.4 kB / 1.422 GB, free: 363.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.986e-06/2.352, allocations: 4.562 kB / 1.422 GB, free: 363.4 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003936/2.356, allocations: 2.134 MB / 1.424 GB, free: 363.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/2.356, allocations: 10.69 kB / 1.424 GB, free: 363.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011/3.367, allocations: 193.6 MB / 1.613 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/3.369, allocations: 425.9 kB / 1.614 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/3.372, allocations: 2.82 MB / 1.617 GB, free: 167.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/3.374, allocations: 192 kB / 1.617 GB, free: 167.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003531/3.375, allocations: 91.72 kB / 1.617 GB, free: 167.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 11 (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,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: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,6), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001721/3.376, allocations: 0.6878 MB / 1.618 GB, free: 167.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007799/3.377, allocations: 277.9 kB / 1.618 GB, free: 166.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005324/3.383, allocations: 2.369 MB / 1.62 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003481/3.386, allocations: 1.997 MB / 1.622 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/3.386, allocations: 0 / 1.622 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/3.387, allocations: 0.5362 MB / 1.623 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005773/3.388, allocations: 33 kB / 1.623 GB, free: 163.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/3.389, allocations: 177.8 kB / 1.623 GB, free: 163.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/3.39, allocations: 114.2 kB / 1.623 GB, free: 163.2 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005444/3.395, allocations: 2.278 MB / 1.625 GB, free: 161.4 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004888/3.4, allocations: 3.107 MB / 1.628 GB, free: 158.4 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001248/3.401, allocations: 0.8354 MB / 1.629 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00226/3.404, allocations: 1.614 MB / 1.631 GB, free: 155.9 MB / 0.9167 GB Notification: Performance of Backend: time 6.42e-07/3.404, allocations: 0.875 kB / 1.631 GB, free: 155.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009134/3.413, allocations: 4.084 MB / 1.635 GB, free: 152.2 MB / 0.9167 GB Notification: Performance of SimCode: time 0.009927/3.423, allocations: 7.17 MB / 1.642 GB, free: 145.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.08857/3.511, allocations: 67.21 MB / 1.707 GB, free: 78.3 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.Merkel.pipe 2>&1)