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/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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_HeatingCoolingHotWaterSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_Validation_HeatingCoolingHotWaterSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 252 MB / 267 MB, free: 10.98 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.0009446/0.0009448, allocations: 184.5 kB / 326.6 MB, free: 2.23 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.655/1.655, allocations: 205.4 MB / 0.5776 GB, free: 20.28 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.0007738/0.0007738, allocations: 102.2 kB / 0.6823 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 10.41 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2341, allocations: 106.4 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 3.084/3.319, allocations: 0.9025 GB / 1.803 GB, free: 33.45 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.249/3.568, allocations: 157.8 MB / 1.957 GB, free: 30.84 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04611/3.614, allocations: 0.7874 MB / 1.958 GB, free: 30.83 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.03759/3.651, allocations: 7.452 MB / 1.965 GB, free: 30.73 MB / 1.042 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.1032/3.755, allocations: 23.65 MB / 1.988 GB, free: 23.98 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.05099/3.806, allocations: 12.33 MB / 2 GB, free: 20.52 MB / 1.042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:24:5-26:23:writable] Error: Failed to evaluate function: Modelica.Utilities.Streams.readLine. Notification: Performance of NFFlatten.flatten: time 0.1034/3.909, allocations: 63.71 MB / 2.062 GB, free: 4.156 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05342/3.963, allocations: 15.94 MB / 2.078 GB, free: 7.301 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05781/4.02, allocations: 17.61 MB / 2.095 GB, free: 6.41 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03912/4.06, allocations: 14.82 MB / 2.11 GB, free: 8.727 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.01097/4.071, allocations: 0.8008 MB / 2.11 GB, free: 7.926 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04782/4.119, allocations: 7.619 MB / 2.118 GB, free: 0.5703 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.01545/4.134, allocations: 4.327 MB / 2.122 GB, free: 12.34 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.02044/4.155, allocations: 4.875 MB / 2.127 GB, free: 7.453 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.06522/4.22, allocations: 32.14 MB / 2.158 GB, free: 8.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/4.22, allocations: 8 kB / 2.158 GB, free: 8.492 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.647e-06/4.22, allocations: 0 / 2.158 GB, free: 8.492 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00179/4.222, allocations: 0 / 2.158 GB, free: 8.492 MB / 1.151 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.07774/4.299, allocations: 20.97 MB / 2.179 GB, free: 3.656 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/4.3, allocations: 9.234 kB / 2.179 GB, free: 3.648 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00856/4.308, allocations: 1.753 MB / 2.18 GB, free: 1.887 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03888/4.347, allocations: 6.701 MB / 2.187 GB, free: 11.16 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06472/4.412, allocations: 19.9 MB / 2.206 GB, free: 7.68 MB / 1.198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.Experimental.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 7.0.3-maint.7.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.Experimental.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 7.0.3-maint.7.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.Experimental.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 7.0.3-maint.7.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.Experimental.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 7.0.3-maint.7.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.Experimental.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 7.0.3-maint.7.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.Experimental.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.006186/4.418, allocations: 2.293 MB / 2.209 GB, free: 5.355 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006811/4.425, allocations: 1.415 MB / 2.21 GB, free: 3.945 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06635/4.491, allocations: 17.94 MB / 2.228 GB, free: 1.426 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005684/4.492, allocations: 31.75 kB / 2.228 GB, free: 1.395 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005167/4.497, allocations: 0.5668 MB / 2.228 GB, free: 0.832 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000535/4.498, allocations: 0.5109 MB / 2.229 GB, free: 328 kB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05595/4.554, allocations: 16.61 MB / 2.245 GB, free: 15.68 MB / 1.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.7175/5.271, allocations: 89.36 MB / 2.332 GB, free: 0.5653 GB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03467/5.306, allocations: 13.27 MB / 2.345 GB, free: 0.5603 GB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0159/5.322, allocations: 6.212 MB / 2.351 GB, free: 0.5575 GB / 1.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 evalFunc (simulation): time 0.05382/5.376, allocations: 25.6 MB / 2.376 GB, free: 0.5359 GB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01594/5.392, allocations: 6.589 MB / 2.383 GB, free: 0.5324 GB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01156/5.403, allocations: 1.363 MB / 2.384 GB, free: 0.5318 GB / 1.245 GB Notification: Performance of pre-optimization done (n=794): time 3.264e-05/5.403, allocations: 0 / 2.384 GB, free: 0.5318 GB / 1.245 GB Notification: Performance of matching and sorting (n=804): time 0.3452/5.748, allocations: 85.48 MB / 2.467 GB, free: 475 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/5.749, allocations: 0.5938 MB / 2.468 GB, free: 474.3 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03759/5.786, allocations: 16.03 MB / 2.484 GB, free: 458.5 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.003281/5.79, allocations: 221.7 kB / 2.484 GB, free: 458.3 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01167/5.801, allocations: 9.635 MB / 2.493 GB, free: 448.6 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.005234/5.807, allocations: 2.746 MB / 2.496 GB, free: 445.9 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002807/5.809, allocations: 211.7 kB / 2.496 GB, free: 445.7 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001077/5.811, allocations: 0.7052 MB / 2.497 GB, free: 445 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01698/5.828, allocations: 5.814 MB / 2.502 GB, free: 439.1 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02079/5.848, allocations: 9.654 MB / 2.512 GB, free: 427.9 MB / 1.245 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.113/5.961, allocations: 29.64 MB / 2.541 GB, free: 398.4 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001741/5.962, allocations: 24 kB / 2.541 GB, free: 398.3 MB / 1.245 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