Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_HeatingCoolingHotWaterSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_DistrictHeatingCooling_Validation_HeatingCoolingHotWaterSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.696/1.696, allocations: 288.4 MB / 303.3 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001058, allocations: 184.5 kB / 372 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 0.6307 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007449/0.0007449, allocations: 98.3 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003993, allocations: 10.62 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1995, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 2.587/2.786, allocations: 0.902 GB / 1.882 GB, free: 32.63 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.2239/3.01, allocations: 157.9 MB / 2.036 GB, free: 29.79 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04118/3.052, allocations: 0.7897 MB / 2.037 GB, free: 29.79 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.03553/3.087, allocations: 7.452 MB / 2.044 GB, free: 29.68 MB / 1.089 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.09078/3.178, allocations: 23.64 MB / 2.067 GB, free: 21.05 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.05019/3.228, allocations: 12.47 MB / 2.079 GB, free: 17.58 MB / 1.089 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:34:5-36:23:writable] Error: Failed to evaluate function: Modelica.Utilities.Streams.readLine. Notification: Performance of NFFlatten.flatten: time 0.08531/3.313, allocations: 63.57 MB / 2.141 GB, free: 12.58 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04314/3.357, allocations: 15.94 MB / 2.157 GB, free: 12.87 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05213/3.409, allocations: 17.73 MB / 2.174 GB, free: 11.89 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03812/3.447, allocations: 14.78 MB / 2.188 GB, free: 14.25 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 0.01002/3.457, allocations: 0.8008 MB / 2.189 GB, free: 13.45 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03894/3.496, allocations: 7.746 MB / 2.197 GB, free: 5.973 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 0.01163/3.508, allocations: 4.328 MB / 2.201 GB, free: 1.742 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.01466/3.522, allocations: 4.865 MB / 2.206 GB, free: 12.86 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.04925/3.572, allocations: 32.31 MB / 2.237 GB, free: 13.75 MB / 1.214 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/3.572, allocations: 0 / 2.237 GB, free: 13.75 MB / 1.214 GB Notification: Performance of FrontEnd: time 2.986e-06/3.572, allocations: 5.859 kB / 2.237 GB, free: 13.74 MB / 1.214 GB Notification: Performance of Transformations before backend: time 0.001454/3.573, allocations: 0 / 2.237 GB, free: 13.74 MB / 1.214 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3490 * Number of variables: 3490 Notification: Performance of Generate backend data structure: time 0.05588/3.629, allocations: 21.02 MB / 2.258 GB, free: 8.863 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/3.629, allocations: 12.03 kB / 2.258 GB, free: 8.852 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006138/3.635, allocations: 1.745 MB / 2.26 GB, free: 7.098 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03473/3.67, allocations: 6.701 MB / 2.266 GB, free: 376 kB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05267/3.723, allocations: 19.92 MB / 2.286 GB, free: 12.88 MB / 1.26 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-ret.pumChi.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.ret.pumChi.eff.getArrayAsString({(ret.pumChi.eff.per.pressure.dp[2] - ret.pumChi.eff.per.pressure.dp[1]) / (ret.pumChi.eff.per.pressure.V_flow[2] - ret.pumChi.eff.per.pressure.V_flow[1])}, "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-ret.pumHotWat.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.ret.pumHotWat.eff.getArrayAsString({(ret.pumHotWat.eff.per.pressure.dp[2] - ret.pumHotWat.eff.per.pressure.dp[1]) / (ret.pumHotWat.eff.per.pressure.V_flow[2] - ret.pumHotWat.eff.per.pressure.V_flow[1])}, "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-ret.pumHea.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.ret.pumHea.eff.getArrayAsString({(ret.pumHea.eff.per.pressure.dp[2] - ret.pumHea.eff.per.pressure.dp[1]) / (ret.pumHea.eff.per.pressure.V_flow[2] - ret.pumHea.eff.per.pressure.V_flow[1])}, "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-larOff.pumChi.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.larOff.pumChi.eff.getArrayAsString({(larOff.pumChi.eff.per.pressure.dp[2] - larOff.pumChi.eff.per.pressure.dp[1]) / (larOff.pumChi.eff.per.pressure.V_flow[2] - larOff.pumChi.eff.per.pressure.V_flow[1])}, "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-larOff.pumHotWat.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.larOff.pumHotWat.eff.getArrayAsString({(larOff.pumHotWat.eff.per.pressure.dp[2] - larOff.pumHotWat.eff.per.pressure.dp[1]) / (larOff.pumHotWat.eff.per.pressure.V_flow[2] - larOff.pumHotWat.eff.per.pressure.V_flow[1])}, "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Movers/BaseClasses/FlowMachineInterface.mo:288:5-303:24:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning:========It is recommended that the volume flow rate versus pressure relationof the fan or pump satisfies the minimum decrease condition (per.pressure.dp[i+1]-per.pressure.dp[i])d[i] = ------------------------------------------------- < " + String(-larOff.pumHea.eff.kRes, 6, 0, true) + " (per.pressure.V_flow[i+1]-per.pressure.V_flow[i]) is" + Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.larOff.pumHea.eff.getArrayAsString({(larOff.pumHea.eff.per.pressure.dp[2] - larOff.pumHea.eff.per.pressure.dp[1]) / (larOff.pumHea.eff.per.pressure.V_flow[2] - larOff.pumHea.eff.per.pressure.V_flow[1])}, "d", 6, 6) + "Otherwise, a solution to the equations may not exist if the fan or pump speed is reduced.In this situation, the solver will fail due to non-convergence andthe simulation stops.", "");. Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005671/3.728, allocations: 2.287 MB / 2.288 GB, free: 10.56 MB / 1.26 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005933/3.734, allocations: 1.413 MB / 2.289 GB, free: 9.156 MB / 1.26 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06057/3.795, allocations: 17.97 MB / 2.307 GB, free: 6.605 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005009/3.796, allocations: 36.78 kB / 2.307 GB, free: 6.57 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004284/3.8, allocations: 0.5635 MB / 2.307 GB, free: 6.012 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005266/3.8, allocations: 0.5053 MB / 2.308 GB, free: 5.504 MB / 1.276 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04942/3.85, allocations: 16.62 MB / 2.324 GB, free: 4.863 MB / 1.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 removeSimpleEquations (simulation): time 1.036/4.886, allocations: 88.91 MB / 2.411 GB, free: 0.5554 GB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03822/4.924, allocations: 13.45 MB / 2.424 GB, free: 0.549 GB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01437/4.939, allocations: 6.222 MB / 2.43 GB, free: 0.5461 GB / 1.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.0485/4.987, allocations: 25.76 MB / 2.455 GB, free: 0.5244 GB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01437/5.002, allocations: 6.616 MB / 2.462 GB, free: 0.5209 GB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00993/5.012, allocations: 1.366 MB / 2.463 GB, free: 0.5203 GB / 1.292 GB Notification: Performance of pre-optimization done (n=792): time 2.609e-05/5.012, allocations: 3.875 kB / 2.463 GB, free: 0.5203 GB / 1.292 GB Notification: Performance of matching and sorting (n=802): time 0.3114/5.323, allocations: 85.47 MB / 2.547 GB, free: 467 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/5.323, allocations: 0.5881 MB / 2.547 GB, free: 466.3 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03192/5.355, allocations: 16.01 MB / 2.563 GB, free: 450.4 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002091/5.357, allocations: 229.7 kB / 2.563 GB, free: 450.2 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.009142/5.366, allocations: 9.623 MB / 2.572 GB, free: 440.5 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003402/5.37, allocations: 2.734 MB / 2.575 GB, free: 437.8 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/5.372, allocations: 219.6 kB / 2.575 GB, free: 437.6 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0005849/5.372, allocations: 0.7051 MB / 2.576 GB, free: 436.9 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/5.387, allocations: 5.806 MB / 2.582 GB, free: 431.1 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01699/5.404, allocations: 9.658 MB / 2.591 GB, free: 419.9 MB / 1.292 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.1053/5.509, allocations: 29.66 MB / 2.62 GB, free: 390.3 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.95e-05/5.509, allocations: 24 kB / 2.62 GB, free: 390.2 MB / 1.292 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