Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.293/4.293, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/4.011e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.625 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2611, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.612, allocations: 419.8 MB / 1.088 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/1.612, allocations: 94.08 kB / 1.088 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.01/6.622, allocations: 0.9457 GB / 2.034 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.884e-06/6.623, allocations: 0 / 2.034 GB, free: 95.62 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004737/6.623, allocations: 78.81 kB / 2.034 GB, free: 95.55 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.009389/6.632, allocations: 2.688 MB / 2.036 GB, free: 92.81 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/6.632, allocations: 12.03 kB / 2.036 GB, free: 92.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001236/6.634, allocations: 332.9 kB / 2.037 GB, free: 92.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001804/6.636, allocations: 352 kB / 2.037 GB, free: 92.12 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009754/6.645, allocations: 3.012 MB / 2.04 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/6.646, allocations: 176.6 kB / 2.04 GB, free: 88.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008067/6.646, allocations: 240 kB / 2.04 GB, free: 88.66 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00817/6.655, allocations: 2.939 MB / 2.043 GB, free: 85.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.57e-05/6.655, allocations: 7.906 kB / 2.043 GB, free: 85.59 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003979/6.655, allocations: 92 kB / 2.043 GB, free: 85.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/6.655, allocations: 75.92 kB / 2.043 GB, free: 85.43 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006916/6.662, allocations: 2.297 MB / 2.046 GB, free: 83.12 MB / 0.8855 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.02558/6.688, allocations: 12.94 MB / 2.058 GB, free: 69.38 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003862/6.692, allocations: 1.599 MB / 2.06 GB, free: 67.77 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/6.694, allocations: 1.117 MB / 2.061 GB, free: 66.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/6.695, allocations: 0.7175 MB / 2.062 GB, free: 65.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/6.695, allocations: 47.52 kB / 2.062 GB, free: 65.74 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002653/6.698, allocations: 234.6 kB / 2.062 GB, free: 65.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 7.694e-06/6.698, allocations: 2.344 kB / 2.062 GB, free: 65.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.004662/6.703, allocations: 1.694 MB / 2.063 GB, free: 63.81 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.176e-05/6.703, allocations: 145.5 kB / 2.064 GB, free: 63.63 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/6.707, allocations: 1.848 MB / 2.065 GB, free: 61.74 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004862/6.707, allocations: 60.23 kB / 2.065 GB, free: 61.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/6.709, allocations: 1.258 MB / 2.067 GB, free: 60.41 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000748/6.709, allocations: 437.8 kB / 2.067 GB, free: 59.97 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/6.71, allocations: 35.09 kB / 2.067 GB, free: 59.94 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001358/6.71, allocations: 369.9 kB / 2.068 GB, free: 59.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/6.711, allocations: 0.6911 MB / 2.068 GB, free: 58.88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/6.713, allocations: 1.212 MB / 2.069 GB, free: 57.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002078/6.716, allocations: 0.9251 MB / 2.07 GB, free: 56.52 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/6.716, allocations: 4 kB / 2.07 GB, free: 56.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005952/6.722, allocations: 2.288 MB / 2.073 GB, free: 54.21 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001214/6.723, allocations: 5.713 MB / 2.078 GB, free: 48.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/6.723, allocations: 16 kB / 2.078 GB, free: 48.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003168/6.726, allocations: 473.8 kB / 2.079 GB, free: 47.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002745/6.729, allocations: 355.4 kB / 2.079 GB, free: 47.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004307/6.733, allocations: 3.092 MB / 2.082 GB, free: 43.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004007/6.737, allocations: 231.4 kB / 2.082 GB, free: 43.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003788/6.738, allocations: 83.97 kB / 2.082 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/6.738, allocations: 4 kB / 2.082 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005105/6.743, allocations: 2.062 MB / 2.084 GB, free: 41.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/6.743, allocations: 16 kB / 2.084 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000917/6.744, allocations: 242.3 kB / 2.084 GB, free: 41.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/6.747, allocations: 371.4 kB / 2.085 GB, free: 40.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/6.752, allocations: 4.133 MB / 2.089 GB, free: 36.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003844/6.756, allocations: 227.5 kB / 2.089 GB, free: 36.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004012/6.756, allocations: 79.98 kB / 2.089 GB, free: 36.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005803/6.757, allocations: 204.5 kB / 2.089 GB, free: 36.04 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000716/6.758, allocations: 205.5 kB / 2.09 GB, free: 35.84 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005119/6.763, allocations: 1.992 MB / 2.092 GB, free: 33.83 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/6.763, allocations: 15.98 kB / 2.092 GB, free: 33.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/6.763, allocations: 4 kB / 2.092 GB, free: 33.81 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003569/6.767, allocations: 1.589 MB / 2.093 GB, free: 32.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/6.779, allocations: 4.564 MB / 2.098 GB, free: 27.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/6.779, allocations: 4 kB / 2.098 GB, free: 27.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/6.781, allocations: 211.7 kB / 2.098 GB, free: 27.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/6.784, allocations: 426 kB / 2.098 GB, free: 26.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/6.784, allocations: 43.91 kB / 2.098 GB, free: 26.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/6.788, allocations: 3 MB / 2.101 GB, free: 23.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/6.788, allocations: 0 / 2.101 GB, free: 23.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006457/6.794, allocations: 2.926 MB / 2.104 GB, free: 20.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/6.796, allocations: 0.5141 MB / 2.104 GB, free: 20.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006471/6.797, allocations: 39.92 kB / 2.105 GB, free: 20.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003058/6.8, allocations: 191.6 kB / 2.105 GB, free: 19.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/6.8, allocations: 101.1 kB / 2.105 GB, free: 19.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/6.8, allocations: 51.97 kB / 2.105 GB, free: 19.82 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003123/6.804, allocations: 1.432 MB / 2.106 GB, free: 18.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.22e-07/6.804, allocations: 0 / 2.106 GB, free: 18.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006947/6.811, allocations: 1.515 MB / 2.108 GB, free: 16.84 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.008061/6.819, allocations: 4.152 MB / 2.112 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007751/6.827, allocations: 3.228 MB / 2.115 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/6.827, allocations: 0 / 2.115 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002137/6.829, allocations: 0.9591 MB / 2.116 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009765/6.839, allocations: 1.136 MB / 2.117 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/6.853, allocations: 5.041 MB / 2.122 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6448/7.498, allocations: 2.206 MB / 2.124 GB, free: 158 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.009151/7.507, allocations: 1.371 MB / 2.125 GB, free: 158 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002871/7.51, allocations: 0.983 MB / 2.126 GB, free: 158 MB / 0.8855 GB Notification: Performance of SimCode: time 2.064e-06/7.51, allocations: 1.469 kB / 2.126 GB, free: 158 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1872/7.697, allocations: 72.84 MB / 2.197 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002604/7.697, allocations: 246.7 kB / 2.198 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.297/12.99, allocations: 0 / 2.198 GB, free: 155.8 MB / 0.8855 GB