Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_HeatingCoolingHotWaterSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,fileNamePrefix="Buildings_8_Buildings_Obsolete_DistrictHeatingCooling_Validation_HeatingCoolingHotWaterSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008085/0.0008088, 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.0008326/0.0008326, 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.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0005598/0.0005599, allocations: 14.72 kB / 0.6738 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2559, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 1.997/2.253, allocations: 0.902 GB / 1.689 GB, free: 4.027 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 1.119/3.371, allocations: 157.9 MB / 1.844 GB, free: 50.69 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04983/3.421, allocations: 0.787 MB / 1.844 GB, free: 50.69 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.03827/3.46, allocations: 7.451 MB / 1.852 GB, free: 50.58 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1026/3.562, allocations: 23.63 MB / 1.875 GB, free: 45.45 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.06176/3.624, allocations: 12.47 MB / 1.887 GB, free: 42.13 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1026/3.727, allocations: 63.58 MB / 1.949 GB, free: 11.82 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04719/3.774, allocations: 15.94 MB / 1.964 GB, free: 14.99 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05555/3.83, allocations: 17.73 MB / 1.982 GB, free: 32 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0436/3.873, allocations: 14.78 MB / 1.996 GB, free: 3.934 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0101/3.883, allocations: 0.8047 MB / 1.997 GB, free: 3.129 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04122/3.925, allocations: 7.739 MB / 2.005 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.01312/3.938, allocations: 4.329 MB / 2.009 GB, free: 8.281 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.01711/3.955, allocations: 4.869 MB / 2.014 GB, free: 3.395 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.05738/4.012, allocations: 32.31 MB / 2.045 GB, free: 4.285 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/4.012, allocations: 0 / 2.045 GB, free: 4.285 MB / 1.186 GB Notification: Performance of FrontEnd: time 4.318e-06/4.012, allocations: 3.984 kB / 2.045 GB, free: 4.281 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.001665/4.014, allocations: 0 / 2.045 GB, free: 4.281 MB / 1.186 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.06189/4.076, allocations: 21.02 MB / 2.066 GB, free: 15.4 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/4.076, allocations: 8.031 kB / 2.066 GB, free: 15.39 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00784/4.084, allocations: 1.757 MB / 2.067 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0338/4.118, allocations: 6.7 MB / 2.074 GB, free: 6.895 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05246/4.17, allocations: 19.92 MB / 2.093 GB, free: 3.395 MB / 1.232 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.00494/4.175, allocations: 2.283 MB / 2.096 GB, free: 1.078 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005151/4.18, allocations: 1.413 MB / 2.097 GB, free: 15.67 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05791/4.238, allocations: 17.97 MB / 2.115 GB, free: 13.12 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004571/4.239, allocations: 27.75 kB / 2.115 GB, free: 13.1 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003519/4.242, allocations: 0.5659 MB / 2.115 GB, free: 12.54 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005369/4.243, allocations: 0.4975 MB / 2.116 GB, free: 12.04 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04861/4.291, allocations: 16.62 MB / 2.132 GB, free: 11.39 MB / 1.279 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.6742/4.966, allocations: 88.9 MB / 2.219 GB, free: 0.613 GB / 1.326 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0375/5.003, allocations: 13.46 MB / 2.232 GB, free: 0.6097 GB / 1.326 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01512/5.018, allocations: 6.227 MB / 2.238 GB, free: 0.6077 GB / 1.326 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.04962/5.068, allocations: 25.75 MB / 2.263 GB, free: 0.5908 GB / 1.326 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01684/5.085, allocations: 6.626 MB / 2.269 GB, free: 0.5886 GB / 1.326 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01487/5.1, allocations: 1.363 MB / 2.271 GB, free: 0.5883 GB / 1.326 GB Notification: Performance of pre-optimization done (n=792): time 5.034e-05/5.1, allocations: 2.562 kB / 2.271 GB, free: 0.5883 GB / 1.326 GB Notification: Performance of matching and sorting (n=802): time 0.3044/5.404, allocations: 85.46 MB / 2.354 GB, free: 0.5378 GB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/5.405, allocations: 0.5939 MB / 2.355 GB, free: 0.5371 GB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04399/5.449, allocations: 16.01 MB / 2.37 GB, free: 0.5216 GB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.002583/5.451, allocations: 229.3 kB / 2.371 GB, free: 0.5214 GB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.01039/5.462, allocations: 9.627 MB / 2.38 GB, free: 0.5121 GB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.004278/5.466, allocations: 2.741 MB / 2.383 GB, free: 0.5094 GB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/5.468, allocations: 209.6 kB / 2.383 GB, free: 0.5092 GB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0006583/5.469, allocations: 0.7052 MB / 2.384 GB, free: 0.5086 GB / 1.326 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01388/5.483, allocations: 5.818 MB / 2.389 GB, free: 0.5029 GB / 1.326 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01701/5.5, allocations: 9.645 MB / 2.399 GB, free: 0.4919 GB / 1.326 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.09605/5.596, allocations: 29.67 MB / 2.428 GB, free: 474.3 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/5.596, allocations: 24 kB / 2.428 GB, free: 474.3 MB / 1.326 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