Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters.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.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") translateModel(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.11/2.11, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.00141/0.00141, allocations: 188.9 kB / 326.3 MB, free: 2.867 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.629/2.629, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009623/0.0009618, allocations: 85.73 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000731/0.0007313, allocations: 11.16 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2641, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 11.15/11.42, allocations: 2.626 GB / 3.526 GB, free: 28.06 MB / 1.589 GB Notification: Performance of NFInst.instExpressions: time 1.077/12.49, allocations: 0.5009 GB / 4.026 GB, free: 0.8047 MB / 1.76 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1407/12.64, allocations: 2.596 MB / 4.029 GB, free: 14.19 MB / 1.776 GB Notification: Performance of NFTyping.typeComponents: time 0.1353/12.77, allocations: 24.75 MB / 4.053 GB, free: 5.273 MB / 1.792 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.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‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 2.446/15.22, allocations: 76.6 MB / 4.128 GB, free: 22.11 MB / 1.839 GB Notification: Performance of NFTyping.typeClassSections: time 0.1999/15.42, allocations: 40.37 MB / 4.167 GB, free: 20.93 MB / 1.839 GB Notification: Performance of NFFlatten.flatten: time 0.9647/16.38, allocations: 443.5 MB / 4.6 GB, free: 11.53 MB / 2.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2124/16.59, allocations: 60.21 MB / 4.659 GB, free: 13.43 MB / 2.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2299/16.82, allocations: 63.39 MB / 4.721 GB, free: 7.906 MB / 2.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1478/16.97, allocations: 51.53 MB / 4.771 GB, free: 13.61 MB / 2.151 GB Notification: Performance of NFPackage.collectConstants: time 0.03399/17.01, allocations: 2.729 MB / 4.774 GB, free: 10.89 MB / 2.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1378/17.14, allocations: 20.07 MB / 4.794 GB, free: 11.67 MB / 2.167 GB Notification: Performance of NFScalarize.scalarize: time 0.04718/17.19, allocations: 14.57 MB / 4.808 GB, free: 0.8711 MB / 2.167 GB Notification: Performance of NFVerifyModel.verify: time 0.05471/17.25, allocations: 16.76 MB / 4.824 GB, free: 7.031 MB / 2.182 GB Notification: Performance of NFConvertDAE.convert: time 4.69/21.93, allocations: 107.1 MB / 4.929 GB, free: 241.4 MB / 2.245 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/21.93, allocations: 0.5 kB / 4.929 GB, free: 241.4 MB / 2.245 GB Notification: Performance of FrontEnd: time 2.705e-06/21.93, allocations: 0 / 4.929 GB, free: 241.4 MB / 2.245 GB Notification: Performance of Transformations before backend: time 0.004732/21.94, allocations: 1.906 kB / 4.929 GB, free: 241.4 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.276/22.22, allocations: 71.11 MB / 4.998 GB, free: 211.4 MB / 2.245 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/22.22, allocations: 8.969 kB / 4.998 GB, free: 211.4 MB / 2.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1746/22.39, allocations: 20.62 MB / 5.019 GB, free: 206.7 MB / 2.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2911/22.68, allocations: 71.06 MB / 5.088 GB, free: 197.9 MB / 2.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.03423/22.72, allocations: 6.751 MB / 5.094 GB, free: 197.5 MB / 2.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02482/22.74, allocations: 4.803 MB / 5.099 GB, free: 197.5 MB / 2.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3087/23.05, allocations: 60.67 MB / 5.158 GB, free: 190 MB / 2.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00374/23.05, allocations: 129.2 kB / 5.159 GB, free: 190 MB / 2.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02178/23.08, allocations: 1.922 MB / 5.16 GB, free: 190 MB / 2.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002593/23.08, allocations: 1.676 MB / 5.162 GB, free: 189.9 MB / 2.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2481/23.33, allocations: 53.36 MB / 5.214 GB, free: 189 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.6733/24, allocations: 309.5 MB / 5.516 GB, free: 14.03 MB / 2.261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2061/24.21, allocations: 45.9 MB / 5.561 GB, free: 10.16 MB / 2.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.09067/24.3, allocations: 20.04 MB / 5.581 GB, free: 12.62 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.3011/24.6, allocations: 80.99 MB / 5.66 GB, free: 7.801 MB / 2.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1417/24.74, allocations: 20.7 MB / 5.68 GB, free: 2.984 MB / 2.386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.06582/24.81, allocations: 3.814 MB / 5.684 GB, free: 15.15 MB / 2.401 GB Notification: Performance of pre-optimization done (n=2481): time 9.983e-05/24.81, allocations: 4 kB / 5.684 GB, free: 15.15 MB / 2.401 GB Notification: Performance of matching and sorting (n=2491): time 3.172/27.98, allocations: 345.1 MB / 6.021 GB, free: 1.373 GB / 2.479 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004649/27.98, allocations: 1.377 MB / 6.022 GB, free: 1.371 GB / 2.479 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1553/28.13, allocations: 54.32 MB / 6.075 GB, free: 1.368 GB / 2.479 GB Notification: Performance of collectPreVariables (initialization): time 0.009684/28.14, allocations: 0.6395 MB / 6.076 GB, free: 1.368 GB / 2.479 GB Notification: Performance of collectInitialEqns (initialization): time 0.05054/28.19, allocations: 36.63 MB / 6.112 GB, free: 1.343 GB / 2.479 GB Notification: Performance of collectInitialBindings (initialization): time 0.01608/28.21, allocations: 8.595 MB / 6.12 GB, free: 1.337 GB / 2.479 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00795/28.22, allocations: 0.6375 MB / 6.121 GB, free: 1.336 GB / 2.479 GB Notification: Performance of setup shared object (initialization): time 5.633e-05/28.22, allocations: 301.1 kB / 6.121 GB, free: 1.336 GB / 2.479 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.07677/28.29, allocations: 16.78 MB / 6.137 GB, free: 1.331 GB / 2.479 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08895/28.38, allocations: 29.98 MB / 6.167 GB, free: 1.31 GB / 2.479 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.5429/28.93, allocations: 88.35 MB / 6.253 GB, free: 1.284 GB / 2.479 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003117/28.93, allocations: 88 kB / 6.253 GB, free: 1.284 GB / 2.479 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