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.443/1.443, allocations: 251.9 MB / 266.9 MB, free: 11.06 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.00149/0.001491, allocations: 187.3 kB / 326.5 MB, free: 2.242 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.746/1.746, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008304/0.0008304, allocations: 90.36 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 12.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2421, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 2.186/2.428, allocations: 0.8136 GB / 1.714 GB, free: 14.94 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 1.288/3.717, allocations: 147.3 MB / 1.858 GB, free: 45.11 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05331/3.77, allocations: 0.7319 MB / 1.858 GB, free: 45.11 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.05059/3.821, allocations: 10.17 MB / 1.868 GB, free: 45.09 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.125/3.946, allocations: 29.82 MB / 1.897 GB, free: 44.71 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.06519/4.011, allocations: 19.04 MB / 1.916 GB, free: 43.84 MB / 1.073 GB [/var/lib/jenkins1/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.08065/4.092, allocations: 32.89 MB / 1.948 GB, free: 40.92 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04582/4.138, allocations: 16.21 MB / 1.964 GB, free: 35.41 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05844/4.196, allocations: 16.31 MB / 1.98 GB, free: 33.32 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0347/4.231, allocations: 10.72 MB / 1.99 GB, free: 31.62 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.01264/4.244, allocations: 0.8001 MB / 1.991 GB, free: 31.62 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04811/4.292, allocations: 7.953 MB / 1.999 GB, free: 30.71 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0149/4.307, allocations: 4.187 MB / 2.003 GB, free: 29.5 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.01871/4.325, allocations: 4.936 MB / 2.008 GB, free: 27.37 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.05403/4.38, allocations: 32.26 MB / 2.039 GB, free: 448 kB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/4.38, allocations: 0 / 2.039 GB, free: 448 kB / 1.073 GB Notification: Performance of FrontEnd: time 3.327e-06/4.38, allocations: 0 / 2.039 GB, free: 448 kB / 1.073 GB Notification: Performance of Transformations before backend: time 0.002057/4.382, allocations: 0 / 2.039 GB, free: 448 kB / 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.0741/4.456, allocations: 21.18 MB / 2.06 GB, free: 13.33 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/4.456, allocations: 12.02 kB / 2.06 GB, free: 13.32 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008042/4.464, allocations: 1.767 MB / 2.062 GB, free: 12.41 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03873/4.503, allocations: 6.738 MB / 2.068 GB, free: 5.715 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05902/4.562, allocations: 19.47 MB / 2.087 GB, free: 10.18 MB / 1.12 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(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.", "");. [/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(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.", "");. [/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(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.", "");. [/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(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.", "");. [/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(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.", "");. [/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(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.005857/4.568, allocations: 2.335 MB / 2.089 GB, free: 8.281 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006558/4.574, allocations: 1.438 MB / 2.091 GB, free: 7.305 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07033/4.645, allocations: 18.05 MB / 2.109 GB, free: 10.55 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001166/4.646, allocations: 37.97 kB / 2.109 GB, free: 10.54 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006159/4.652, allocations: 0.5697 MB / 2.109 GB, free: 10.4 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006879/4.653, allocations: 0.508 MB / 2.11 GB, free: 9.902 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05724/4.71, allocations: 16.68 MB / 2.126 GB, free: 14.72 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.1967/4.907, allocations: 91.2 MB / 2.215 GB, free: 4.172 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04432/4.951, allocations: 13.4 MB / 2.228 GB, free: 11.02 MB / 1.229 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.07662/5.028, allocations: 25.63 MB / 2.253 GB, free: 3.246 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02361/5.052, allocations: 6.629 MB / 2.26 GB, free: 12.55 MB / 1.26 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01339/5.065, allocations: 1.252 MB / 2.261 GB, free: 11.3 MB / 1.26 GB Notification: Performance of pre-optimization done (n=813): time 4.103e-05/5.065, allocations: 4 kB / 2.261 GB, free: 11.29 MB / 1.26 GB Notification: Performance of matching and sorting (n=823): time 0.842/5.907, allocations: 68.23 MB / 2.327 GB, free: 0.6363 GB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005704/5.908, allocations: 0.9037 MB / 2.328 GB, free: 0.6353 GB / 1.292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.05622/5.964, allocations: 16.77 MB / 2.345 GB, free: 0.6343 GB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.003625/5.968, allocations: 230.9 kB / 2.345 GB, free: 0.6343 GB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.01414/5.982, allocations: 9.747 MB / 2.354 GB, free: 0.6291 GB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00468/5.987, allocations: 2.818 MB / 2.357 GB, free: 0.627 GB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002546/5.989, allocations: 217.1 kB / 2.357 GB, free: 0.6269 GB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.001056/5.99, allocations: 0.7205 MB / 2.358 GB, free: 0.6264 GB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0169/6.007, allocations: 5.958 MB / 2.364 GB, free: 0.6244 GB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02161/6.029, allocations: 9.849 MB / 2.374 GB, free: 0.618 GB / 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.1142/6.143, allocations: 30.39 MB / 2.403 GB, free: 0.6106 GB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/6.143, allocations: 24.78 kB / 2.403 GB, free: 0.6106 GB / 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