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.83/3.83, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.341e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5978, allocations: 92.7 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.817, allocations: 420 MB / 0.9998 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.818, allocations: 95.94 kB / 0.9999 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.536/8.354, allocations: 1.202 GB / 2.202 GB, free: 78.59 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.584e-06/8.354, allocations: 0 / 2.202 GB, free: 78.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0006293/8.354, allocations: 80.58 kB / 2.202 GB, free: 78.57 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.01246/8.367, allocations: 2.707 MB / 2.204 GB, free: 76.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/8.367, allocations: 8.031 kB / 2.204 GB, free: 76.47 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00111/8.368, allocations: 269 kB / 2.205 GB, free: 76.2 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01309/8.381, allocations: 1.003 MB / 2.206 GB, free: 75.19 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/8.398, allocations: 3.253 MB / 2.209 GB, free: 71.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/8.398, allocations: 156.2 kB / 2.209 GB, free: 71.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009894/8.399, allocations: 200 kB / 2.209 GB, free: 71.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/8.411, allocations: 2.336 MB / 2.211 GB, free: 69.07 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.967e-05/8.411, allocations: 11.84 kB / 2.211 GB, free: 69.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004939/8.411, allocations: 84 kB / 2.211 GB, free: 68.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/8.412, allocations: 48 kB / 2.212 GB, free: 68.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/8.422, allocations: 1.772 MB / 2.213 GB, free: 67.16 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.02851/8.451, allocations: 12.81 MB / 2.226 GB, free: 53.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008573/8.459, allocations: 1.567 MB / 2.227 GB, free: 51.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/8.461, allocations: 0.6452 MB / 2.228 GB, free: 51.24 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/8.462, allocations: 1.029 MB / 2.229 GB, free: 49.99 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/8.463, allocations: 51.5 kB / 2.229 GB, free: 49.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002936/8.465, allocations: 298.5 kB / 2.229 GB, free: 49.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=109): time 6.152e-06/8.466, allocations: 0 / 2.229 GB, free: 49.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=116): time 0.03642/8.502, allocations: 5.526 MB / 2.235 GB, free: 44.04 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/8.502, allocations: 222.6 kB / 2.235 GB, free: 43.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003593/8.506, allocations: 1.703 MB / 2.237 GB, free: 42.04 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005284/8.506, allocations: 53.7 kB / 2.237 GB, free: 41.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/8.507, allocations: 1.207 MB / 2.238 GB, free: 40.76 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/8.508, allocations: 406.1 kB / 2.238 GB, free: 40.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/8.508, allocations: 30.84 kB / 2.238 GB, free: 40.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001158/8.508, allocations: 361.9 kB / 2.239 GB, free: 39.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/8.51, allocations: 0.5741 MB / 2.239 GB, free: 39.4 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/8.512, allocations: 1.052 MB / 2.24 GB, free: 38.14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/8.514, allocations: 0.6893 MB / 2.241 GB, free: 37.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/8.514, allocations: 0 / 2.241 GB, free: 37.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01691/8.531, allocations: 2.811 MB / 2.244 GB, free: 34.63 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001011/8.532, allocations: 4.569 MB / 2.248 GB, free: 29.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/8.532, allocations: 8 kB / 2.248 GB, free: 29.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01463/8.547, allocations: 1.726 MB / 2.25 GB, free: 27.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/8.549, allocations: 311.5 kB / 2.25 GB, free: 27.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006534/8.556, allocations: 2.113 MB / 2.252 GB, free: 25.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005978/8.562, allocations: 395 kB / 2.252 GB, free: 25.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/8.562, allocations: 79.95 kB / 2.253 GB, free: 25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/8.562, allocations: 4.625 kB / 2.253 GB, free: 25 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004647/8.567, allocations: 1.742 MB / 2.254 GB, free: 23.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/8.567, allocations: 23.62 kB / 2.254 GB, free: 23.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/8.58, allocations: 1.374 MB / 2.256 GB, free: 21.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002809/8.582, allocations: 339.5 kB / 2.256 GB, free: 21.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/8.585, allocations: 1.469 MB / 2.257 GB, free: 20.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004859/8.59, allocations: 311.4 kB / 2.258 GB, free: 19.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000499/8.591, allocations: 79.95 kB / 2.258 GB, free: 19.66 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.0007017/8.591, allocations: 197.9 kB / 2.258 GB, free: 19.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007848/8.592, allocations: 233 kB / 2.258 GB, free: 19.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02488/8.617, allocations: 3.027 MB / 2.261 GB, free: 16.19 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/8.617, allocations: 19.92 kB / 2.261 GB, free: 16.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/8.617, allocations: 4 kB / 2.261 GB, free: 16.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02321/8.64, allocations: 2.862 MB / 2.264 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03029/8.671, allocations: 5.508 MB / 2.269 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/8.671, allocations: 3.984 kB / 2.269 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/8.674, allocations: 291.2 kB / 2.27 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/8.675, allocations: 403.7 kB / 2.27 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002518/8.676, allocations: 43.97 kB / 2.27 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03004/8.706, allocations: 6.251 MB / 2.276 GB, free: 496 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/8.706, allocations: 0 / 2.276 GB, free: 496 kB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02795/8.734, allocations: 3.884 MB / 2.28 GB, free: 12.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/8.736, allocations: 493.9 kB / 2.28 GB, free: 12.02 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/8.737, allocations: 28 kB / 2.28 GB, free: 12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004523/8.741, allocations: 319.4 kB / 2.281 GB, free: 11.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/8.742, allocations: 97.16 kB / 2.281 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002447/8.742, allocations: 59.89 kB / 2.281 GB, free: 11.53 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003348/8.745, allocations: 1.295 MB / 2.282 GB, free: 10.22 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.252e-06/8.746, allocations: 0 / 2.282 GB, free: 10.22 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.007636/8.753, allocations: 1.222 MB / 2.283 GB, free: 8.996 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.785, allocations: 5.796 MB / 2.289 GB, free: 3.188 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0105/8.795, allocations: 2.588 MB / 2.291 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/8.795, allocations: 0 / 2.291 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.6611/9.456, allocations: 1.01 MB / 2.292 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009963/9.466, allocations: 1.046 MB / 2.293 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03558/9.502, allocations: 5.22 MB / 2.299 GB, free: 100.8 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/9.504, allocations: 1.665 MB / 2.3 GB, free: 100.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005286/9.509, allocations: 0.6063 MB / 2.301 GB, free: 100.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002488/9.511, allocations: 1.026 MB / 2.302 GB, free: 100.1 MB / 0.823 GB Notification: Performance of SimCode: time 2.034e-06/9.511, allocations: 0 / 2.302 GB, free: 100.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2155/9.727, allocations: 92.33 MB / 2.392 GB, free: 96.62 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/9.727, allocations: 273.1 kB / 2.392 GB, free: 96.28 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.084/16.81, allocations: 0 / 2.392 GB, free: 96.28 MB / 0.823 GB