Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,fileNamePrefix="Buildings_5_0_1_Buildings_Experimental_DistrictHeatingCooling_Plants_Validation_LakeWaterHeatExchanger_T_Cooling",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.655/4.655, allocations: 404.1 MB / 411.3 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.993e-05, allocations: 0 / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6788, allocations: 92.68 MB / 0.585 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.331/2.01, allocations: 419.3 MB / 0.9945 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/2.01, allocations: 95.48 kB / 0.9946 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.645/9.655, allocations: 1.196 GB / 2.191 GB, free: 70.34 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.975e-06/9.655, allocations: 0 / 2.191 GB, free: 70.34 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0006062/9.656, allocations: 76.48 kB / 2.191 GB, free: 70.33 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01127/9.667, allocations: 2.713 MB / 2.194 GB, free: 68.44 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/9.667, allocations: 11.19 kB / 2.194 GB, free: 68.44 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/9.68, allocations: 1.005 MB / 2.195 GB, free: 68.01 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01501/9.695, allocations: 3.249 MB / 2.198 GB, free: 65.7 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/9.695, allocations: 61.36 kB / 2.198 GB, free: 65.7 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/9.696, allocations: 118.4 kB / 2.198 GB, free: 65.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006935/9.703, allocations: 1.53 MB / 2.199 GB, free: 64.26 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007462/9.711, allocations: 1.92 MB / 2.201 GB, free: 62.21 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.104e-05/9.711, allocations: 11.84 kB / 2.201 GB, free: 62.2 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/9.711, allocations: 4 kB / 2.201 GB, free: 62.2 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.486e-05/9.711, allocations: 55.98 kB / 2.201 GB, free: 62.14 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or 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.02887/9.74, allocations: 12.43 MB / 2.214 GB, free: 48.95 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008704/9.749, allocations: 1.388 MB / 2.215 GB, free: 47.54 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/9.752, allocations: 0.6461 MB / 2.216 GB, free: 46.89 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/9.753, allocations: 1.022 MB / 2.217 GB, free: 45.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.036e-05/9.754, allocations: 59.86 kB / 2.217 GB, free: 45.59 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003898/9.758, allocations: 245.6 kB / 2.217 GB, free: 45.36 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=109): time 1.463e-05/9.758, allocations: 0 / 2.217 GB, free: 45.36 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117): time 0.0351/9.793, allocations: 4.658 MB / 2.221 GB, free: 40.63 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/9.793, allocations: 218.9 kB / 2.222 GB, free: 40.37 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00491/9.798, allocations: 1.451 MB / 2.223 GB, free: 38.89 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0006002/9.798, allocations: 25.7 kB / 2.223 GB, free: 38.86 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001916/9.8, allocations: 1.202 MB / 2.224 GB, free: 37.64 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001013/9.801, allocations: 390.1 kB / 2.225 GB, free: 37.25 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/9.802, allocations: 4 kB / 2.225 GB, free: 37.25 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001905/9.802, allocations: 365.9 kB / 2.225 GB, free: 36.89 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/9.804, allocations: 0.5546 MB / 2.225 GB, free: 36.33 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/9.808, allocations: 1.03 MB / 2.226 GB, free: 35.1 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004572/9.812, allocations: 0.7347 MB / 2.227 GB, free: 34.37 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/9.812, allocations: 4 kB / 2.227 GB, free: 34.37 MB / 0.7917 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.04967/9.862, allocations: 3.418 MB / 2.231 GB, free: 30.93 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001222/9.863, allocations: 4.527 MB / 2.235 GB, free: 25.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/9.863, allocations: 12 kB / 2.235 GB, free: 25.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007464/9.871, allocations: 0.9172 MB / 2.236 GB, free: 25 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/9.875, allocations: 355.4 kB / 2.236 GB, free: 24.66 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/9.882, allocations: 2.916 MB / 2.239 GB, free: 21.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007549/9.89, allocations: 359.4 kB / 2.239 GB, free: 21.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007676/9.891, allocations: 83.91 kB / 2.239 GB, free: 21.23 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/9.891, allocations: 4 kB / 2.239 GB, free: 21.23 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01493/9.906, allocations: 2.027 MB / 2.241 GB, free: 19.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-05/9.906, allocations: 12.16 kB / 2.241 GB, free: 19.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005318/9.911, allocations: 0.6178 MB / 2.242 GB, free: 18.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/9.915, allocations: 379.4 kB / 2.242 GB, free: 18.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/9.923, allocations: 4.272 MB / 2.247 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005368/9.928, allocations: 267.7 kB / 2.247 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004295/9.928, allocations: 75.95 kB / 2.247 GB, free: 13.33 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 22,1 18,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006737/9.929, allocations: 147.4 kB / 2.247 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02124/9.95, allocations: 2.271 MB / 2.249 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/9.952, allocations: 213.3 kB / 2.249 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/9.969, allocations: 2.067 MB / 2.252 GB, free: 8.609 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.231e-05/9.969, allocations: 12 kB / 2.252 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/9.969, allocations: 8 kB / 2.252 GB, free: 8.59 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009683/9.979, allocations: 1.949 MB / 2.253 GB, free: 6.547 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02762/10.01, allocations: 4.927 MB / 2.258 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/10.01, allocations: 4 kB / 2.258 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/10.01, allocations: 285.8 kB / 2.259 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/10.01, allocations: 407.2 kB / 2.259 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002367/10.01, allocations: 23.97 kB / 2.259 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/10.03, allocations: 3.413 MB / 2.262 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.527e-05/10.03, allocations: 4 kB / 2.262 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02502/10.05, allocations: 3.456 MB / 2.266 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/10.05, allocations: 482.1 kB / 2.266 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006424/10.05, allocations: 4 kB / 2.266 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004865/10.06, allocations: 307.5 kB / 2.266 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003641/10.06, allocations: 96.66 kB / 2.266 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/10.06, allocations: 47.97 kB / 2.267 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00292/10.06, allocations: 1.078 MB / 2.268 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.61e-07/10.06, allocations: 0 / 2.268 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00957/10.07, allocations: 1.152 MB / 2.269 GB, free: 6.566 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (hex.valCoo.vol.dynBal.medium.T,hex.valHea.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 18,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.02846/10.1, allocations: 5.504 MB / 2.274 GB, free: 1.117 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.7231/10.82, allocations: 2.681 MB / 2.277 GB, free: 93.83 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/10.82, allocations: 1.75 kB / 2.277 GB, free: 93.83 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005026/10.83, allocations: 0.9477 MB / 2.278 GB, free: 93.73 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/10.84, allocations: 0.9436 MB / 2.279 GB, free: 93.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04153/10.88, allocations: 5.048 MB / 2.283 GB, free: 92.78 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/10.88, allocations: 1.663 MB / 2.285 GB, free: 92.05 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007104/10.89, allocations: 0.5931 MB / 2.286 GB, free: 92.03 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/10.89, allocations: 1.014 MB / 2.287 GB, free: 92.02 MB / 0.8073 GB Notification: Performance of SimCode: time 2.014e-06/10.89, allocations: 1.5 kB / 2.287 GB, free: 92.02 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2791/11.17, allocations: 75.98 MB / 2.361 GB, free: 89.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002784/11.17, allocations: 234.3 kB / 2.361 GB, free: 88.91 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.767/19.94, allocations: 0 / 2.361 GB, free: 88.91 MB / 0.8073 GB