Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.898/3.898, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.502e-05/3.508e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.589/0.589, allocations: 92.68 MB / 0.5896 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.684, allocations: 381.6 MB / 0.9623 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/1.685, allocations: 82.2 kB / 0.9623 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.157/10.84, allocations: 1.74 GB / 2.703 GB, free: 113.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.535e-06/10.84, allocations: 0 / 2.703 GB, free: 113.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001147/10.84, allocations: 197.6 kB / 2.703 GB, free: 113.5 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: 1609 * Number of variables: 1609 Notification: Performance of Generate backend data structure: time 0.0244/10.87, allocations: 6.197 MB / 2.709 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/10.87, allocations: 12.81 kB / 2.709 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003751/10.87, allocations: 0.8505 MB / 2.71 GB, free: 111.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006076/10.88, allocations: 0.873 MB / 2.711 GB, free: 110.7 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02959/10.91, allocations: 8.564 MB / 2.719 GB, free: 109.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000692/10.91, allocations: 470.4 kB / 2.719 GB, free: 109.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002797/10.91, allocations: 0.6196 MB / 2.72 GB, free: 109.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/10.94, allocations: 8.44 MB / 2.728 GB, free: 108.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003068/10.94, allocations: 34.16 kB / 2.728 GB, free: 108.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/10.94, allocations: 264.5 kB / 2.728 GB, free: 108.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002475/10.94, allocations: 189 kB / 2.729 GB, free: 108.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02226/10.96, allocations: 6.748 MB / 2.735 GB, free: 108.6 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.07464/11.04, allocations: 37.49 MB / 2.772 GB, free: 83.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/11.05, allocations: 4.404 MB / 2.776 GB, free: 82.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00828/11.06, allocations: 3.698 MB / 2.78 GB, free: 80.91 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/11.06, allocations: 497.4 kB / 2.78 GB, free: 80.52 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006596/11.06, allocations: 2.65 MB / 2.783 GB, free: 79.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004659/11.07, allocations: 0.5034 MB / 2.783 GB, free: 79.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=362): time 1.503e-05/11.07, allocations: 0 / 2.783 GB, free: 79.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=390): time 0.05268/11.12, allocations: 16.35 MB / 2.799 GB, free: 64.55 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/11.12, allocations: 252.7 kB / 2.8 GB, free: 64.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/11.14, allocations: 5.103 MB / 2.805 GB, free: 59.81 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001079/11.14, allocations: 105.6 kB / 2.805 GB, free: 59.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.004385/11.14, allocations: 3.193 MB / 2.808 GB, free: 56.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002401/11.14, allocations: 1.37 MB / 2.809 GB, free: 55.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/11.14, allocations: 100 kB / 2.809 GB, free: 55.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003761/11.14, allocations: 0.5014 MB / 2.81 GB, free: 55.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005849/11.15, allocations: 2.371 MB / 2.812 GB, free: 52.96 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00738/11.16, allocations: 3.904 MB / 2.816 GB, free: 48.45 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/11.17, allocations: 3.204 MB / 2.819 GB, free: 45.23 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.664e-05/11.17, allocations: 12 kB / 2.819 GB, free: 45.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.02103/11.19, allocations: 7.178 MB / 2.826 GB, free: 38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/11.19, allocations: 55.58 kB / 2.826 GB, free: 37.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-05/11.19, allocations: 48 kB / 2.826 GB, free: 37.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/11.19, allocations: 440.9 kB / 2.826 GB, free: 37.46 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008706/11.2, allocations: 1.17 MB / 2.828 GB, free: 36.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007445/11.2, allocations: 5.289 MB / 2.833 GB, free: 30.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009585/11.21, allocations: 0.5027 MB / 2.833 GB, free: 30.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/11.22, allocations: 240 kB / 2.833 GB, free: 30.01 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (607): * Single equations (assignments): 604 * 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.0013/11.22, allocations: 423.2 kB / 2.834 GB, free: 29.59 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001737/11.22, allocations: 0.5442 MB / 2.834 GB, free: 29.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/11.24, allocations: 6.386 MB / 2.841 GB, free: 22.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.32e-05/11.24, allocations: 43.98 kB / 2.841 GB, free: 22.62 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/11.24, allocations: 8 kB / 2.841 GB, free: 22.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.013/11.25, allocations: 5.16 MB / 2.846 GB, free: 17.42 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04083/11.29, allocations: 13.99 MB / 2.859 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/11.29, allocations: 8 kB / 2.859 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007281/11.3, allocations: 0.8121 MB / 2.86 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/11.3, allocations: 376.2 kB / 2.861 GB, free: 2.09 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008553/11.3, allocations: 123.9 kB / 2.861 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6679/11.97, allocations: 5.206 MB / 2.866 GB, free: 111.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-05/11.97, allocations: 19.88 kB / 2.866 GB, free: 111.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02277/11.99, allocations: 9.898 MB / 2.875 GB, free: 109.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005676/12, allocations: 1.338 MB / 2.877 GB, free: 109.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002763/12, allocations: 98.77 kB / 2.877 GB, free: 109.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008787/12.01, allocations: 483.3 kB / 2.877 GB, free: 109.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/12.01, allocations: 280.9 kB / 2.878 GB, free: 109.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005399/12.01, allocations: 150.2 kB / 2.878 GB, free: 109.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.009992/12.02, allocations: 3.975 MB / 2.882 GB, free: 109.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.002e-06/12.02, allocations: 2.953 kB / 2.882 GB, free: 109.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01019/12.03, allocations: 1.797 MB / 2.883 GB, free: 109.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 20 (tanEnh.vol[1].ports[3].h_outflow,tanEnh.vol[2].ports[3].h_outflow,tanEnh.vol[3].ports[3].h_outflow,tanEnh.vol[4].ports[3].h_outflow,tanEnh.vol[5].ports[3].h_outflow,tanEnh.vol[6].ports[3].h_outflow,tanEnh.vol[7].ports[3].h_outflow,tan.port_a.h_outflow,tan.port_b.h_outflow,tan.vol[2].ports[2].h_outflow,tan.vol[3].ports[2].h_outflow,tan.vol[4].ports[2].h_outflow,tan.vol[5].ports[2].h_outflow,tan.vol[6].ports[2].h_outflow,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 (394): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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.02406/12.05, allocations: 12.95 MB / 2.896 GB, free: 105 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01429/12.07, allocations: 5.916 MB / 2.902 GB, free: 104.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/12.07, allocations: 2.969 kB / 2.902 GB, free: 104.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00713/12.08, allocations: 2.96 MB / 2.905 GB, free: 104.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02588/12.1, allocations: 3.272 MB / 2.908 GB, free: 104.4 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04384/12.14, allocations: 15.33 MB / 2.923 GB, free: 101.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008832/12.15, allocations: 4.933 MB / 2.928 GB, free: 100.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01333/12.17, allocations: 2.158 MB / 2.93 GB, free: 100.8 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008158/12.18, allocations: 2.856 MB / 2.933 GB, free: 100.8 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/12.18, allocations: 0 / 2.933 GB, free: 100.8 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4185/12.59, allocations: 185.1 MB / 3.113 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/12.59, allocations: 234.8 kB / 3.114 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.369/21.96, allocations: 1.594 kB / 3.114 GB, free: 13.21 MB / 0.8073 GB