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={"static"}) Notification: Performance of loadModel(Buildings): time 3.734/3.734, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.785e-05/4.808e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6406/0.6407, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.194/1.835, allocations: 420 MB / 0.9998 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.835, allocations: 95.59 kB / 0.9999 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.427/8.263, allocations: 1.202 GB / 2.202 GB, free: 79.15 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.625e-06/8.263, allocations: 0 / 2.202 GB, free: 79.15 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0006875/8.264, allocations: 81.22 kB / 2.202 GB, free: 79.13 MB / 0.8073 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.01279/8.276, allocations: 2.707 MB / 2.204 GB, free: 76.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/8.276, allocations: 8.031 kB / 2.204 GB, free: 76.77 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001133/8.278, allocations: 270.2 kB / 2.205 GB, free: 76.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/8.291, allocations: 1.006 MB / 2.206 GB, free: 75.49 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01606/8.307, allocations: 3.246 MB / 2.209 GB, free: 72.18 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/8.307, allocations: 156.3 kB / 2.209 GB, free: 72.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007438/8.308, allocations: 196 kB / 2.209 GB, free: 71.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/8.319, allocations: 2.363 MB / 2.211 GB, free: 69.35 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/8.319, allocations: 11.84 kB / 2.211 GB, free: 69.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005347/8.32, allocations: 80 kB / 2.211 GB, free: 69.26 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/8.32, allocations: 51.98 kB / 2.212 GB, free: 69.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/8.333, allocations: 1.81 MB / 2.213 GB, free: 67.39 MB / 0.8073 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.0417/8.374, allocations: 12.81 MB / 2.226 GB, free: 53.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01228/8.387, allocations: 1.578 MB / 2.227 GB, free: 52.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/8.389, allocations: 0.6498 MB / 2.228 GB, free: 51.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/8.39, allocations: 1.029 MB / 2.229 GB, free: 50.23 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/8.39, allocations: 51.56 kB / 2.229 GB, free: 50.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002776/8.393, allocations: 298.5 kB / 2.229 GB, free: 49.87 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 7.084e-06/8.393, allocations: 3.938 kB / 2.229 GB, free: 49.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.03661/8.429, allocations: 5.537 MB / 2.235 GB, free: 44.25 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.499e-05/8.429, allocations: 218.6 kB / 2.235 GB, free: 43.99 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/8.433, allocations: 1.704 MB / 2.237 GB, free: 42.27 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005055/8.434, allocations: 53.7 kB / 2.237 GB, free: 42.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/8.435, allocations: 1.199 MB / 2.238 GB, free: 40.99 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006069/8.436, allocations: 406.1 kB / 2.238 GB, free: 40.59 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/8.436, allocations: 32 kB / 2.238 GB, free: 40.56 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001211/8.436, allocations: 365.9 kB / 2.239 GB, free: 40.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/8.438, allocations: 0.5663 MB / 2.239 GB, free: 39.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/8.44, allocations: 1.071 MB / 2.24 GB, free: 38.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/8.441, allocations: 0.6816 MB / 2.241 GB, free: 37.67 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/8.441, allocations: 6.297 kB / 2.241 GB, free: 37.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.02476/8.466, allocations: 3.361 MB / 2.244 GB, free: 34.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001034/8.467, allocations: 4.573 MB / 2.249 GB, free: 29.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/8.467, allocations: 12 kB / 2.249 GB, free: 29.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01479/8.482, allocations: 1.728 MB / 2.25 GB, free: 27.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/8.485, allocations: 307.5 kB / 2.251 GB, free: 27.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006227/8.491, allocations: 2.109 MB / 2.253 GB, free: 25.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005716/8.497, allocations: 391.4 kB / 2.253 GB, free: 24.74 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004615/8.497, allocations: 79.95 kB / 2.253 GB, free: 24.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/8.497, allocations: 4 kB / 2.253 GB, free: 24.66 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01863/8.516, allocations: 2.52 MB / 2.256 GB, free: 22.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/8.516, allocations: 8 kB / 2.256 GB, free: 22.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01438/8.53, allocations: 1.393 MB / 2.257 GB, free: 20.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00366/8.534, allocations: 335.5 kB / 2.257 GB, free: 20.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/8.538, allocations: 1.469 MB / 2.259 GB, free: 18.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/8.545, allocations: 311.4 kB / 2.259 GB, free: 18.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004993/8.546, allocations: 75.97 kB / 2.259 GB, free: 18.54 MB / 0.8073 GB Warning: Assuming fixed start value for the following 1 variables: hex.valHea.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 1.004433569776996 * hex.valHea.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real 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 (129): * Single equations (assignments): 128 * 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: 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 60} Notification: Performance of prepare postOptimizeDAE: time 0.0008812/8.547, allocations: 205.7 kB / 2.259 GB, free: 18.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009928/8.548, allocations: 237 kB / 2.259 GB, free: 18.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03513/8.583, allocations: 3.025 MB / 2.262 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.376e-05/8.583, allocations: 19.98 kB / 2.262 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/8.583, allocations: 0 / 2.262 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02863/8.612, allocations: 2.874 MB / 2.265 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/8.643, allocations: 5.514 MB / 2.271 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-05/8.643, allocations: 4 kB / 2.271 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002742/8.645, allocations: 287.5 kB / 2.271 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/8.647, allocations: 397.4 kB / 2.271 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002768/8.648, allocations: 35.97 kB / 2.271 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03/8.678, allocations: 6.253 MB / 2.277 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/8.678, allocations: 0 / 2.277 GB, free: 15.36 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02761/8.705, allocations: 3.88 MB / 2.281 GB, free: 11.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/8.708, allocations: 0.4901 MB / 2.282 GB, free: 10.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008853/8.708, allocations: 27.98 kB / 2.282 GB, free: 10.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004913/8.713, allocations: 319.4 kB / 2.282 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000542/8.714, allocations: 105 kB / 2.282 GB, free: 10.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002919/8.714, allocations: 51.95 kB / 2.282 GB, free: 10.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00363/8.718, allocations: 1.295 MB / 2.283 GB, free: 9.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.72e-07/8.718, allocations: 0 / 2.283 GB, free: 9.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007853/8.726, allocations: 1.222 MB / 2.285 GB, free: 7.867 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (hex.valCoo.vol.dynBal.medium.T,hex.valHea.vol.dynBal.medium.T,hex.valHea.vol.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 29,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03138/8.757, allocations: 5.765 MB / 2.29 GB, free: 2.094 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.6612/9.419, allocations: 2.623 MB / 2.293 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/9.419, allocations: 3.062 kB / 2.293 GB, free: 103.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004472/9.423, allocations: 1.041 MB / 2.294 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009335/9.432, allocations: 1.046 MB / 2.295 GB, free: 103 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03593/9.468, allocations: 5.219 MB / 2.3 GB, free: 102 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001582/9.47, allocations: 1.673 MB / 2.302 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005961/9.476, allocations: 0.6132 MB / 2.302 GB, free: 101.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/9.479, allocations: 1.02 MB / 2.303 GB, free: 101.3 MB / 0.823 GB Notification: Performance of SimCode: time 9.12e-07/9.479, allocations: 0 / 2.303 GB, free: 101.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2184/9.697, allocations: 92.5 MB / 2.394 GB, free: 98.07 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/9.697, allocations: 285 kB / 2.394 GB, free: 97.72 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/16.67, allocations: 0 / 2.394 GB, free: 97.72 MB / 0.823 GB