Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.275/4.275, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.287e-05, allocations: 4 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2347, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.449, allocations: 399.8 MB / 1.068 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.45, allocations: 86.39 kB / 1.068 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 11.76/13.21, allocations: 2.128 GB / 3.196 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.063e-06/13.21, allocations: 0 / 3.196 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001218/13.21, allocations: 192.6 kB / 3.197 GB, free: 126.2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.02632/13.24, allocations: 6.122 MB / 3.203 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/13.24, allocations: 12.75 kB / 3.203 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004259/13.24, allocations: 0.832 MB / 3.203 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006475/13.25, allocations: 0.8392 MB / 3.204 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02756/13.28, allocations: 7.691 MB / 3.212 GB, free: 123 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007184/13.28, allocations: 459.3 kB / 3.212 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003048/13.28, allocations: 0.6021 MB / 3.213 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03108/13.31, allocations: 8.148 MB / 3.221 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004694/13.31, allocations: 21.62 kB / 3.221 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002807/13.31, allocations: 264.7 kB / 3.221 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/13.31, allocations: 180.2 kB / 3.221 GB, free: 122.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/13.34, allocations: 6.659 MB / 3.228 GB, free: 122 MB / 0.9011 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.07755/13.42, allocations: 33.37 MB / 3.26 GB, free: 108.2 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/13.43, allocations: 4.256 MB / 3.264 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008174/13.43, allocations: 3.464 MB / 3.268 GB, free: 108 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001879/13.44, allocations: 0.9662 MB / 3.269 GB, free: 107.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006887/13.44, allocations: 2.257 MB / 3.271 GB, free: 107 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005063/13.45, allocations: 498 kB / 3.271 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=329): time 1.705e-05/13.45, allocations: 0 / 3.271 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=329): time 0.01417/13.46, allocations: 4.566 MB / 3.276 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/13.46, allocations: 90.25 kB / 3.276 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/13.48, allocations: 5.127 MB / 3.281 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001044/13.48, allocations: 84.98 kB / 3.281 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004741/13.48, allocations: 3.12 MB / 3.284 GB, free: 104.6 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002264/13.48, allocations: 1.16 MB / 3.285 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/13.49, allocations: 90.66 kB / 3.285 GB, free: 103.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0004111/13.49, allocations: 493.1 kB / 3.286 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005667/13.49, allocations: 2.071 MB / 3.288 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007081/13.5, allocations: 3.528 MB / 3.291 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00744/13.51, allocations: 2.847 MB / 3.294 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.951e-05/13.51, allocations: 13.66 kB / 3.294 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.0203/13.53, allocations: 6.428 MB / 3.3 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/13.53, allocations: 54.95 kB / 3.3 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.842e-05/13.53, allocations: 45.66 kB / 3.3 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/13.53, allocations: 430.5 kB / 3.301 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008435/13.54, allocations: 1.047 MB / 3.302 GB, free: 101.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007977/13.55, allocations: 5.295 MB / 3.307 GB, free: 98.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009969/13.56, allocations: 482.8 kB / 3.308 GB, free: 98.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/13.56, allocations: 218.6 kB / 3.308 GB, free: 98.48 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002041/13.56, allocations: 394.4 kB / 3.308 GB, free: 98.34 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/13.56, allocations: 0.5134 MB / 3.309 GB, free: 98.08 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/13.58, allocations: 5.147 MB / 3.314 GB, free: 97.84 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-05/13.58, allocations: 40 kB / 3.314 GB, free: 97.84 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/13.58, allocations: 3.969 kB / 3.314 GB, free: 97.84 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01218/13.59, allocations: 4.421 MB / 3.318 GB, free: 97.16 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.0396/13.63, allocations: 11.91 MB / 3.33 GB, free: 92.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/13.63, allocations: 0 / 3.33 GB, free: 92.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006391/13.64, allocations: 0.6438 MB / 3.33 GB, free: 92.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001522/13.64, allocations: 368 kB / 3.331 GB, free: 92.55 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008981/13.64, allocations: 89.45 kB / 3.331 GB, free: 92.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007634/13.65, allocations: 5.22 MB / 3.336 GB, free: 88.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/13.65, allocations: 3.828 kB / 3.336 GB, free: 88.73 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/13.67, allocations: 7.643 MB / 3.343 GB, free: 85.58 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005654/13.67, allocations: 1.244 MB / 3.344 GB, free: 84.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002648/13.68, allocations: 77.22 kB / 3.345 GB, free: 84.85 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00879/13.68, allocations: 411.3 kB / 3.345 GB, free: 84.79 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/13.69, allocations: 203.8 kB / 3.345 GB, free: 84.76 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005981/13.69, allocations: 132.9 kB / 3.345 GB, free: 84.73 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01097/13.7, allocations: 3.975 MB / 3.349 GB, free: 83.33 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.31e-07/13.7, allocations: 0.75 kB / 3.349 GB, free: 83.33 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01106/13.71, allocations: 2.059 MB / 3.351 GB, free: 82.89 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02479/13.73, allocations: 9.171 MB / 3.36 GB, free: 78.87 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01356/13.75, allocations: 5.142 MB / 3.365 GB, free: 77.05 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/13.75, allocations: 6.984 kB / 3.365 GB, free: 77.05 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0063/13.75, allocations: 2.434 MB / 3.367 GB, free: 76.09 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02651/13.78, allocations: 3.17 MB / 3.371 GB, free: 75.55 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04351/13.82, allocations: 13.92 MB / 3.384 GB, free: 64.74 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008951/13.83, allocations: 4.726 MB / 3.389 GB, free: 61.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01251/13.84, allocations: 2.04 MB / 3.391 GB, free: 59.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007749/13.85, allocations: 2.668 MB / 3.393 GB, free: 57.34 MB / 0.9011 GB Notification: Performance of SimCode: time 1.673e-06/13.85, allocations: 0 / 3.393 GB, free: 57.34 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.15/15, allocations: 175.3 MB / 3.565 GB, free: 90.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/15, allocations: 227.5 kB / 3.565 GB, free: 90.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/23.7, allocations: 0 / 3.565 GB, free: 90.69 MB / 0.9167 GB