Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Validation_HeatingCoolingHotWaterSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01515/0.01516, allocations: 90.17 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001834/0.001833, allocations: 174.4 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.629/2.629, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.709/2.709, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004914, allocations: 12.31 kB / 0.6243 GB, free: 28.41 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 106.2 MB / 0.728 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 2.901/3.133, allocations: 0.8137 GB / 1.542 GB, free: 14.62 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 1.433/4.566, allocations: 147.4 MB / 1.686 GB, free: 46.02 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04697/4.613, allocations: 0.7362 MB / 1.686 GB, free: 46.02 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.05328/4.667, allocations: 10.17 MB / 1.696 GB, free: 46 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.1449/4.812, allocations: 29.81 MB / 1.726 GB, free: 43.59 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0867/4.898, allocations: 19.03 MB / 1.744 GB, free: 38.86 MB / 1.042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFEvalFunction.mo:1112:9-1112:97:writable] Error: Internal error NFEvalFunction.evaluateKnownExternal: failed to evaluate ModelicaInternal_readLine Notification: Performance of NFFlatten.flatten: time 0.09182/4.99, allocations: 32.89 MB / 1.776 GB, free: 35.11 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04985/5.04, allocations: 16.23 MB / 1.792 GB, free: 29.58 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05937/5.099, allocations: 16.3 MB / 1.808 GB, free: 22.26 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03388/5.133, allocations: 10.73 MB / 1.818 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.01353/5.147, allocations: 0.8008 MB / 1.819 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06922/5.216, allocations: 7.952 MB / 1.827 GB, free: 8.758 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.01699/5.233, allocations: 4.191 MB / 1.831 GB, free: 5.809 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.01893/5.252, allocations: 4.93 MB / 1.836 GB, free: 2.93 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.07004/5.322, allocations: 32.27 MB / 1.867 GB, free: 7.953 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/5.323, allocations: 0 / 1.867 GB, free: 7.953 MB / 1.073 GB Notification: Performance of FrontEnd: time 5.571e-06/5.323, allocations: 4 kB / 1.867 GB, free: 7.949 MB / 1.073 GB Notification: Performance of Transformations before backend: time 0.0014/5.324, allocations: 0 / 1.867 GB, free: 7.949 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3526 * Number of variables: 3526 Notification: Performance of Generate backend data structure: time 0.08578/5.41, allocations: 21.18 MB / 1.888 GB, free: 4.711 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/5.41, allocations: 15.98 kB / 1.888 GB, free: 4.695 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008585/5.418, allocations: 1.766 MB / 1.89 GB, free: 3.785 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05889/5.477, allocations: 6.741 MB / 1.896 GB, free: 13.09 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06916/5.547, allocations: 19.47 MB / 1.915 GB, free: 1.195 MB / 1.104 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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(array((ret.pumChi.eff.per.pressure.dp[i + 1] - ret.pumChi.eff.per.pressure.dp[i]) / (ret.pumChi.eff.per.pressure.V_flow[i + 1] - ret.pumChi.eff.per.pressure.V_flow[i]) for i in 1: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.", "");. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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(array((ret.pumHotWat.eff.per.pressure.dp[i + 1] - ret.pumHotWat.eff.per.pressure.dp[i]) / (ret.pumHotWat.eff.per.pressure.V_flow[i + 1] - ret.pumHotWat.eff.per.pressure.V_flow[i]) for i in 1: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.", "");. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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(array((ret.pumHea.eff.per.pressure.dp[i + 1] - ret.pumHea.eff.per.pressure.dp[i]) / (ret.pumHea.eff.per.pressure.V_flow[i + 1] - ret.pumHea.eff.per.pressure.V_flow[i]) for i in 1: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.", "");. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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(array((larOff.pumChi.eff.per.pressure.dp[i + 1] - larOff.pumChi.eff.per.pressure.dp[i]) / (larOff.pumChi.eff.per.pressure.V_flow[i + 1] - larOff.pumChi.eff.per.pressure.V_flow[i]) for i in 1: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.", "");. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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(array((larOff.pumHotWat.eff.per.pressure.dp[i + 1] - larOff.pumHotWat.eff.per.pressure.dp[i]) / (larOff.pumHotWat.eff.per.pressure.V_flow[i + 1] - larOff.pumHotWat.eff.per.pressure.V_flow[i]) for i in 1: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.", "");. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/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(array((larOff.pumHea.eff.per.pressure.dp[i + 1] - larOff.pumHea.eff.per.pressure.dp[i]) / (larOff.pumHea.eff.per.pressure.V_flow[i + 1] - larOff.pumHea.eff.per.pressure.V_flow[i]) for i in 1: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.009893/5.557, allocations: 2.318 MB / 1.918 GB, free: 15.31 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007038/5.564, allocations: 1.44 MB / 1.919 GB, free: 14.33 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09832/5.662, allocations: 18.05 MB / 1.937 GB, free: 14.42 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008251/5.663, allocations: 29.12 kB / 1.937 GB, free: 14.39 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006059/5.669, allocations: 0.5717 MB / 1.937 GB, free: 13.82 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007343/5.67, allocations: 0.5094 MB / 1.938 GB, free: 13.31 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08216/5.752, allocations: 16.69 MB / 1.954 GB, free: 12.61 MB / 1.151 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.229/5.981, allocations: 91.2 MB / 2.043 GB, free: 12.34 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 1.34/7.321, allocations: 13.4 MB / 2.056 GB, free: 0.5995 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.07711/7.398, allocations: 25.64 MB / 2.081 GB, free: 0.5883 GB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03083/7.429, allocations: 6.63 MB / 2.088 GB, free: 0.5861 GB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01479/7.444, allocations: 1.259 MB / 2.089 GB, free: 0.5859 GB / 1.245 GB Notification: Performance of pre-optimization done (n=813): time 6.061e-05/7.444, allocations: 0 / 2.089 GB, free: 0.5859 GB / 1.245 GB Notification: Performance of matching and sorting (n=823): time 0.4302/7.874, allocations: 68.23 MB / 2.156 GB, free: 0.5569 GB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003045/7.875, allocations: 0.9028 MB / 2.157 GB, free: 0.5559 GB / 1.245 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter bayWatHex.valHea.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter bayWatHex.valHea.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter bayWatHex.valHea.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter bayWatHex.valHea.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter bayWatHex.valCoo.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter bayWatHex.valCoo.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter bayWatHex.valCoo.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter bayWatHex.valCoo.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05557/7.93, allocations: 16.76 MB / 2.173 GB, free: 0.5473 GB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.00351/7.934, allocations: 236.5 kB / 2.173 GB, free: 0.5471 GB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.01818/7.952, allocations: 9.738 MB / 2.183 GB, free: 0.5389 GB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.006437/7.959, allocations: 2.817 MB / 2.185 GB, free: 0.5365 GB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002994/7.962, allocations: 216.5 kB / 2.186 GB, free: 0.5364 GB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.001129/7.963, allocations: 0.7106 MB / 2.186 GB, free: 0.5358 GB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0301/7.993, allocations: 5.961 MB / 2.192 GB, free: 0.5319 GB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03127/8.024, allocations: 9.854 MB / 2.202 GB, free: 0.5209 GB / 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.206/8.23, allocations: 30.4 MB / 2.231 GB, free: 0.4915 GB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.78e-05/8.23, allocations: 28 kB / 2.231 GB, free: 0.4915 GB / 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