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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.12 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.542/1.542, allocations: 252 MB / 0.5102 GB, free: 4.77 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005428/0.0005431, allocations: 19.98 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.6105, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3Clusters): time 8.627/9.237, allocations: 2.626 GB / 3.354 GB, free: 31.66 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.7684/10.01, allocations: 0.5009 GB / 3.855 GB, free: 10.54 MB / 1.732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1555/10.16, allocations: 2.592 MB / 3.858 GB, free: 7.934 MB / 1.732 GB Notification: Performance of NFTyping.typeComponents: time 0.1173/10.28, allocations: 24.82 MB / 3.882 GB, free: 14.95 MB / 1.764 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 0.292/10.57, allocations: 76.6 MB / 3.957 GB, free: 2.039 MB / 1.826 GB Notification: Performance of NFTyping.typeClassSections: time 1.762/12.33, allocations: 40.35 MB / 3.996 GB, free: 28.79 MB / 1.857 GB Notification: Performance of NFFlatten.flatten: time 0.6995/13.03, allocations: 441.7 MB / 4.427 GB, free: 15.1 MB / 1.982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1957/13.23, allocations: 55.55 MB / 4.482 GB, free: 4.52 MB / 2.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1837/13.41, allocations: 63.38 MB / 4.543 GB, free: 36 kB / 2.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.128/13.54, allocations: 51.53 MB / 4.594 GB, free: 5.742 MB / 2.107 GB Notification: Performance of NFPackage.collectConstants: time 0.03279/13.57, allocations: 2.727 MB / 4.596 GB, free: 3.016 MB / 2.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.11/13.68, allocations: 20.07 MB / 4.616 GB, free: 3.797 MB / 2.123 GB Notification: Performance of NFScalarize.scalarize: time 0.03552/13.72, allocations: 14.57 MB / 4.63 GB, free: 9.004 MB / 2.139 GB Notification: Performance of NFVerifyModel.verify: time 0.04935/13.77, allocations: 16.89 MB / 4.647 GB, free: 15.99 MB / 2.154 GB Notification: Performance of NFConvertDAE.convert: time 0.1663/13.93, allocations: 107.1 MB / 4.751 GB, free: 8.277 MB / 2.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/13.93, allocations: 4 kB / 4.751 GB, free: 8.273 MB / 2.232 GB Notification: Performance of FrontEnd: time 4.729e-06/13.93, allocations: 0 / 4.751 GB, free: 8.273 MB / 2.232 GB Notification: Performance of Transformations before backend: time 0.004936/13.94, allocations: 0 / 4.751 GB, free: 8.273 MB / 2.232 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 1.321/15.26, allocations: 71.1 MB / 4.821 GB, free: 1.461 GB / 2.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/15.26, allocations: 7.844 kB / 4.821 GB, free: 1.461 GB / 2.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09902/15.36, allocations: 20.62 MB / 4.841 GB, free: 1.457 GB / 2.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1799/15.54, allocations: 71.07 MB / 4.91 GB, free: 1.414 GB / 2.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01571/15.55, allocations: 6.753 MB / 4.917 GB, free: 1.411 GB / 2.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01894/15.57, allocations: 4.792 MB / 4.922 GB, free: 1.41 GB / 2.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1839/15.76, allocations: 60.68 MB / 4.981 GB, free: 1.373 GB / 2.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002299/15.76, allocations: 123.5 kB / 4.981 GB, free: 1.373 GB / 2.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0156/15.77, allocations: 1.92 MB / 4.983 GB, free: 1.372 GB / 2.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001209/15.78, allocations: 1.673 MB / 4.985 GB, free: 1.372 GB / 2.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1493/15.93, allocations: 53.36 MB / 5.037 GB, free: 1.332 GB / 2.264 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.5071/16.43, allocations: 308.9 MB / 5.338 GB, free: 1.015 GB / 2.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1118/16.54, allocations: 45.89 MB / 5.383 GB, free: 0.972 GB / 2.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04989/16.59, allocations: 20.03 MB / 5.403 GB, free: 0.9524 GB / 2.264 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.1944/16.79, allocations: 80.99 MB / 5.482 GB, free: 0.8685 GB / 2.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06187/16.85, allocations: 20.69 MB / 5.502 GB, free: 0.8481 GB / 2.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04362/16.89, allocations: 3.826 MB / 5.506 GB, free: 0.8444 GB / 2.264 GB Notification: Performance of pre-optimization done (n=2481): time 0.0001605/16.89, allocations: 0 / 5.506 GB, free: 0.8444 GB / 2.264 GB Notification: Performance of matching and sorting (n=2491): time 1.087/17.98, allocations: 345.1 MB / 5.843 GB, free: 0.5029 GB / 2.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006278/17.98, allocations: 1.38 MB / 5.844 GB, free: 0.5013 GB / 2.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1423/18.12, allocations: 54.32 MB / 5.897 GB, free: 459.4 MB / 2.264 GB Notification: Performance of collectPreVariables (initialization): time 0.008997/18.13, allocations: 0.6397 MB / 5.898 GB, free: 458.8 MB / 2.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.04386/18.18, allocations: 36.64 MB / 5.934 GB, free: 421.6 MB / 2.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.01433/18.19, allocations: 8.592 MB / 5.942 GB, free: 413.1 MB / 2.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006832/18.2, allocations: 0.6331 MB / 5.943 GB, free: 412.4 MB / 2.264 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/18.2, allocations: 305.1 kB / 5.943 GB, free: 412.1 MB / 2.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04383/18.24, allocations: 16.78 MB / 5.959 GB, free: 395.3 MB / 2.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05365/18.3, allocations: 29.98 MB / 5.988 GB, free: 359.7 MB / 2.264 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.4346/18.73, allocations: 88.34 MB / 6.075 GB, free: 271.4 MB / 2.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006987/18.73, allocations: 92 kB / 6.075 GB, free: 271.3 MB / 2.264 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