Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.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.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009125/0.0009123, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001038/0.001038, allocations: 172.7 kB / 15.95 MB, free: 208 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.606/1.606, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.7/1.7, allocations: 252 MB / 0.5102 GB, free: 4.742 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.0005357/0.0005358, allocations: 16 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.6201, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 2.257/2.877, allocations: 0.9025 GB / 1.631 GB, free: 5.516 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 1.111/3.988, allocations: 157.8 MB / 1.785 GB, free: 50.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05487/4.043, allocations: 0.7817 MB / 1.786 GB, free: 50.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.04169/4.085, allocations: 7.457 MB / 1.793 GB, free: 50.72 MB / 1.061 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‘. Notification: Performance of NFTyping.typeBindings: time 0.1045/4.189, allocations: 23.67 MB / 1.816 GB, free: 48.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.05302/4.242, allocations: 12.32 MB / 1.828 GB, free: 45.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.1843/4.427, allocations: 117.2 MB / 1.942 GB, free: 6.66 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05514/4.482, allocations: 16.08 MB / 1.958 GB, free: 9.68 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06028/4.542, allocations: 18.2 MB / 1.976 GB, free: 10.3 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03592/4.578, allocations: 14.67 MB / 1.99 GB, free: 14.26 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.01028/4.588, allocations: 0.7812 MB / 1.991 GB, free: 13.48 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04507/4.634, allocations: 7.581 MB / 1.998 GB, free: 7.484 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.01345/4.647, allocations: 4.294 MB / 2.003 GB, free: 4.285 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.01608/4.663, allocations: 4.872 MB / 2.007 GB, free: 1.43 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.05497/4.718, allocations: 31.88 MB / 2.038 GB, free: 4.832 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/4.718, allocations: 0 / 2.038 GB, free: 4.832 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.585e-06/4.718, allocations: 0 / 2.038 GB, free: 4.832 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.001509/4.72, allocations: 0 / 2.038 GB, free: 4.832 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3494 * Number of variables: 3494 Notification: Performance of Generate backend data structure: time 0.06608/4.786, allocations: 20.88 MB / 2.059 GB, free: 84 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/4.786, allocations: 8.031 kB / 2.059 GB, free: 76 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03479/4.821, allocations: 6.706 MB / 2.065 GB, free: 9.34 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06131/4.882, allocations: 20.08 MB / 2.085 GB, free: 5.691 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004652/4.887, allocations: 1.853 MB / 2.087 GB, free: 3.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005789/4.893, allocations: 1.412 MB / 2.088 GB, free: 2.434 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05908/4.952, allocations: 17.94 MB / 2.106 GB, free: 15.91 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007508/4.952, allocations: 31.66 kB / 2.106 GB, free: 15.88 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004674/4.957, allocations: 0.566 MB / 2.106 GB, free: 15.31 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005825/4.958, allocations: 0.5052 MB / 2.107 GB, free: 14.81 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05298/5.011, allocations: 16.62 MB / 2.123 GB, free: 14.17 MB / 1.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.6887/5.699, allocations: 88.81 MB / 2.21 GB, free: 0.5872 GB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03384/5.733, allocations: 13.26 MB / 2.223 GB, free: 0.5812 GB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01517/5.749, allocations: 6.214 MB / 2.229 GB, free: 0.5784 GB / 1.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.05266/5.801, allocations: 25.19 MB / 2.253 GB, free: 0.5571 GB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01709/5.818, allocations: 6.605 MB / 2.26 GB, free: 0.5536 GB / 1.264 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01226/5.831, allocations: 1.355 MB / 2.261 GB, free: 0.553 GB / 1.264 GB Notification: Performance of pre-optimization done (n=794): time 3.657e-05/5.831, allocations: 0 / 2.261 GB, free: 0.553 GB / 1.264 GB Notification: Performance of matching and sorting (n=804): time 0.321/6.152, allocations: 85.49 MB / 2.345 GB, free: 492.4 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/6.152, allocations: 0.5938 MB / 2.345 GB, free: 491.7 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04126/6.193, allocations: 15.59 MB / 2.36 GB, free: 476.3 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.00272/6.196, allocations: 229.4 kB / 2.361 GB, free: 476.1 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.01228/6.208, allocations: 9.693 MB / 2.37 GB, free: 466.3 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.005315/6.214, allocations: 2.734 MB / 2.373 GB, free: 463.6 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002474/6.216, allocations: 203.8 kB / 2.373 GB, free: 463.4 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.001008/6.217, allocations: 0.6804 MB / 2.374 GB, free: 462.7 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01434/6.232, allocations: 5.317 MB / 2.379 GB, free: 457.4 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01679/6.248, allocations: 9.061 MB / 2.388 GB, free: 446.8 MB / 1.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.1045/6.353, allocations: 29.27 MB / 2.416 GB, free: 417.6 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000136/6.353, allocations: 24 kB / 2.416 GB, free: 417.6 MB / 1.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