Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadModel(Buildings): time 3.793/3.793, allocations: 402 MB / 416.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.931e-05, allocations: 7.984 kB / 0.501 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 92.68 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling): time 0.6337/0.836, allocations: 92.63 MB / 0.6819 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04643/0.8825, allocations: 20.16 MB / 0.7016 GB, free: 13.77 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005461/0.888, allocations: 147.2 kB / 0.7017 GB, free: 13.62 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.006917/0.895, allocations: 1.333 MB / 0.703 GB, free: 12.29 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.9092, allocations: 2.94 MB / 0.7059 GB, free: 9.336 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0155/0.9247, allocations: 3.617 MB / 0.7095 GB, free: 5.734 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.01113/0.9359, allocations: 3.594 MB / 0.713 GB, free: 2.129 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/0.9403, allocations: 1.694 MB / 0.7146 GB, free: 444 kB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007073/0.9475, allocations: 2.037 MB / 0.7166 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/0.9516, allocations: 1.351 MB / 0.7179 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005517/0.9572, allocations: 1.01 MB / 0.7189 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.9585, allocations: 108 kB / 0.719 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0009732/0.9595, allocations: 0.5056 MB / 0.7195 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.9609, allocations: 288 kB / 0.7198 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.008792/0.9697, allocations: 4.331 MB / 0.724 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9698, allocations: 0 / 0.724 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.046e-06/0.9698, allocations: 0 / 0.724 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001869/0.97, allocations: 0 / 0.724 GB, free: 6.789 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.008958/0.979, allocations: 2.671 MB / 0.7266 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.815e-05/0.9791, allocations: 11.97 kB / 0.7266 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.9898, allocations: 1.132 MB / 0.7277 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007437/0.9973, allocations: 2.522 MB / 0.7302 GB, free: 316 kB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.9975, allocations: 164 kB / 0.7304 GB, free: 148 kB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00066/0.9982, allocations: 223.9 kB / 0.7306 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/1.01, allocations: 2.992 MB / 0.7335 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-05/1.01, allocations: 7.938 kB / 0.7335 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000371/1.011, allocations: 95.86 kB / 0.7336 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/1.011, allocations: 63.98 kB / 0.7337 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01395/1.025, allocations: 2.681 MB / 0.7363 GB, free: 9.879 MB / 0.6042 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.03165/1.056, allocations: 13.92 MB / 0.7499 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/1.072, allocations: 2.547 MB / 0.7524 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/1.073, allocations: 1.053 MB / 0.7534 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/1.073, allocations: 55.56 kB / 0.7534 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00244/1.076, allocations: 270.4 kB / 0.7537 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=123): time 5.671e-06/1.076, allocations: 0 / 0.7537 GB, free: 6.871 MB / 0.6198 GB Notification: Performance of matching and sorting (n=130): time 0.03938/1.115, allocations: 7.356 MB / 0.7609 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000284/1.116, allocations: 0.5228 MB / 0.7614 GB, free: 14.77 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.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 5.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.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 5.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.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 5.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.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 5.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.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 5.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.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 5.0.1/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter hex.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 5.0.1/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter hex.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.005349/1.121, allocations: 2.038 MB / 0.7634 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005156/1.121, allocations: 53.7 kB / 0.7634 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0017/1.123, allocations: 1.341 MB / 0.7647 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007842/1.124, allocations: 465.3 kB / 0.7652 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/1.124, allocations: 36 kB / 0.7652 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002225/1.124, allocations: 377.9 kB / 0.7656 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00553/1.13, allocations: 1.136 MB / 0.7667 GB, free: 9.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006326/1.136, allocations: 1.686 MB / 0.7683 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006058/1.142, allocations: 1.277 MB / 0.7696 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/1.143, allocations: 4 kB / 0.7696 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01845/1.161, allocations: 3.587 MB / 0.7731 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.002138/1.163, allocations: 4.815 MB / 0.7778 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.361e-05/1.163, allocations: 15.98 kB / 0.7778 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01582/1.179, allocations: 1.698 MB / 0.7795 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/1.183, allocations: 459.4 kB / 0.7799 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/1.191, allocations: 1.957 MB / 0.7818 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006271/1.197, allocations: 415.4 kB / 0.7822 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000538/1.198, allocations: 91.95 kB / 0.7823 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/1.198, allocations: 4 kB / 0.7823 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/1.211, allocations: 2.929 MB / 0.7852 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.609e-05/1.211, allocations: 19.98 kB / 0.7852 GB, free: 5.695 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01508/1.226, allocations: 1.574 MB / 0.7867 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/1.23, allocations: 435.3 kB / 0.7871 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/1.236, allocations: 1.739 MB / 0.7888 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005207/1.241, allocations: 351.4 kB / 0.7892 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/1.242, allocations: 83.95 kB / 0.7892 GB, free: 1.5 MB / 0.6511 GB Warning: Assuming fixed start value for the following 1 variables: hex.valHea.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = hex.valHea.vol.V * hex.valHea.vol.rho_start unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 176 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 36} Notification: Performance of prepare postOptimizeDAE: time 0.002364/1.244, allocations: 0.6495 MB / 0.7899 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009063/1.245, allocations: 256.8 kB / 0.7901 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.262, allocations: 2.919 MB / 0.793 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01519/1.277, allocations: 2.718 MB / 0.7956 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.277, allocations: 3.953 kB / 0.7956 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.279, allocations: 0.5833 MB / 0.7962 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006455/1.28, allocations: 36.12 kB / 0.7962 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004932/1.285, allocations: 335.5 kB / 0.7966 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004229/1.286, allocations: 97.16 kB / 0.7966 GB, free: 9.781 MB / 0.6667 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: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01202/1.298, allocations: 1.936 MB / 0.7985 GB, free: 7.836 MB / 0.6667 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.