Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.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.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 252 MB / 267.6 MB, free: 10.93 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.001077/0.001077, allocations: 183.1 kB / 327.3 MB, free: 2.207 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.869/1.869, allocations: 205.4 MB / 0.5783 GB, free: 20.49 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.0008138/0.0008139, allocations: 92.11 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 8.688 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2047, allocations: 106.3 MB / 0.9008 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 8.429/8.634, allocations: 2.626 GB / 3.527 GB, free: 28.05 MB / 1.589 GB Notification: Performance of NFInst.instExpressions: time 0.6843/9.318, allocations: 0.5009 GB / 4.028 GB, free: 14.27 MB / 1.776 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1302/9.449, allocations: 2.592 MB / 4.03 GB, free: 11.66 MB / 1.776 GB Notification: Performance of NFTyping.typeComponents: time 0.09654/9.545, allocations: 24.81 MB / 4.055 GB, free: 2.688 MB / 1.792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:2:1-88:16:writable] Warning: Pure function ‘Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad‘ 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/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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-50:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 1.806/11.35, allocations: 76.59 MB / 4.129 GB, free: 22.45 MB / 1.839 GB Notification: Performance of NFTyping.typeClassSections: time 0.1377/11.49, allocations: 40.37 MB / 4.169 GB, free: 21.11 MB / 1.839 GB Notification: Performance of NFFlatten.flatten: time 0.6796/12.17, allocations: 441.6 MB / 4.6 GB, free: 10.97 MB / 2.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1758/12.34, allocations: 55.54 MB / 4.654 GB, free: 14.34 MB / 2.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1921/12.54, allocations: 63.39 MB / 4.716 GB, free: 8.812 MB / 2.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1341/12.67, allocations: 51.52 MB / 4.766 GB, free: 14.52 MB / 2.151 GB Notification: Performance of NFPackage.collectConstants: time 0.03566/12.71, allocations: 2.73 MB / 4.769 GB, free: 11.79 MB / 2.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1256/12.83, allocations: 20.07 MB / 4.789 GB, free: 12.57 MB / 2.167 GB Notification: Performance of NFScalarize.scalarize: time 0.047/12.88, allocations: 14.56 MB / 4.803 GB, free: 1.777 MB / 2.167 GB Notification: Performance of NFVerifyModel.verify: time 0.06621/12.95, allocations: 16.77 MB / 4.819 GB, free: 7.93 MB / 2.182 GB Notification: Performance of NFConvertDAE.convert: time 3.291/16.24, allocations: 107.1 MB / 4.924 GB, free: 241.3 MB / 2.245 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/16.24, allocations: 1.156 kB / 4.924 GB, free: 241.3 MB / 2.245 GB Notification: Performance of FrontEnd: time 1.924e-06/16.24, allocations: 0 / 4.924 GB, free: 241.3 MB / 2.245 GB Notification: Performance of Transformations before backend: time 0.004113/16.24, allocations: 0 / 4.924 GB, free: 241.3 MB / 2.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11861 * Number of variables: 11861 Notification: Performance of Generate backend data structure: time 0.1797/16.42, allocations: 71.11 MB / 4.993 GB, free: 211.4 MB / 2.245 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/16.42, allocations: 10 kB / 4.993 GB, free: 211.4 MB / 2.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1027/16.52, allocations: 20.62 MB / 5.014 GB, free: 206.6 MB / 2.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1697/16.69, allocations: 71.06 MB / 5.083 GB, free: 197.8 MB / 2.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01779/16.71, allocations: 6.754 MB / 5.09 GB, free: 197.4 MB / 2.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02/16.73, allocations: 4.796 MB / 5.094 GB, free: 197.4 MB / 2.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2032/16.93, allocations: 60.68 MB / 5.153 GB, free: 189.9 MB / 2.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004267/16.94, allocations: 124 kB / 5.154 GB, free: 189.9 MB / 2.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02567/16.96, allocations: 1.927 MB / 5.155 GB, free: 189.9 MB / 2.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/16.97, allocations: 1.671 MB / 5.157 GB, free: 189.8 MB / 2.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.221/17.19, allocations: 53.35 MB / 5.209 GB, free: 188.9 MB / 2.245 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.6146/17.8, allocations: 309.3 MB / 5.511 GB, free: 14.03 MB / 2.261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1357/17.94, allocations: 45.88 MB / 5.556 GB, free: 9.625 MB / 2.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06386/18, allocations: 20.04 MB / 5.576 GB, free: 12.07 MB / 2.292 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 evalFunc (simulation): time 0.255/18.26, allocations: 80.98 MB / 5.655 GB, free: 7.223 MB / 2.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0772/18.33, allocations: 20.7 MB / 5.675 GB, free: 2.41 MB / 2.386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05079/18.38, allocations: 3.817 MB / 5.679 GB, free: 14.57 MB / 2.401 GB Notification: Performance of pre-optimization done (n=2481): time 0.0001122/18.39, allocations: 0 / 5.679 GB, free: 14.57 MB / 2.401 GB Notification: Performance of matching and sorting (n=2491): time 2.02/20.41, allocations: 345.1 MB / 6.016 GB, free: 1.404 GB / 2.495 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004879/20.41, allocations: 1.386 MB / 6.017 GB, free: 1.402 GB / 2.495 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.148/20.55, allocations: 54.32 MB / 6.07 GB, free: 1.399 GB / 2.495 GB Notification: Performance of collectPreVariables (initialization): time 0.0103/20.56, allocations: 0.6415 MB / 6.071 GB, free: 1.399 GB / 2.495 GB Notification: Performance of collectInitialEqns (initialization): time 0.04614/20.61, allocations: 36.62 MB / 6.106 GB, free: 1.377 GB / 2.495 GB Notification: Performance of collectInitialBindings (initialization): time 0.01612/20.63, allocations: 8.603 MB / 6.115 GB, free: 1.37 GB / 2.495 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008483/20.63, allocations: 0.6342 MB / 6.115 GB, free: 1.37 GB / 2.495 GB Notification: Performance of setup shared object (initialization): time 6.031e-05/20.63, allocations: 301.1 kB / 6.116 GB, free: 1.37 GB / 2.495 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05042/20.69, allocations: 16.78 MB / 6.132 GB, free: 1.364 GB / 2.495 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06113/20.75, allocations: 29.98 MB / 6.161 GB, free: 1.344 GB / 2.495 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start (pla.sinCoo.p = pla.coo.con.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start (pla.sinHea.p = pla.hea.eva.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.309/21.06, allocations: 88.35 MB / 6.248 GB, free: 1.323 GB / 2.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002628/21.06, allocations: 86.34 kB / 6.248 GB, free: 1.323 GB / 2.495 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: No system for the symbolic initialization was generated