Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.186/4.186, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-05/5.059e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.6584, allocations: 92.68 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.828/7.486, allocations: 2.186 GB / 2.775 GB, free: 74.88 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/7.487, allocations: 89.34 kB / 2.776 GB, free: 74.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 15.22/22.71, allocations: 2.706 GB / 5.482 GB, free: 63.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.385e-06/22.71, allocations: 0 / 5.482 GB, free: 63.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004402/22.71, allocations: 71.19 kB / 5.482 GB, free: 63.87 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: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.0155/22.72, allocations: 3.652 MB / 5.485 GB, free: 62.17 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/22.72, allocations: 14.23 kB / 5.485 GB, free: 62.17 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001045/22.73, allocations: 314.4 kB / 5.486 GB, free: 62.12 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01693/22.74, allocations: 1.184 MB / 5.487 GB, free: 61.96 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008223/22.75, allocations: 2.197 MB / 5.489 GB, free: 61.45 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002436/22.75, allocations: 447.7 kB / 5.489 GB, free: 61.45 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/22.75, allocations: 234.2 kB / 5.49 GB, free: 61.45 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/22.77, allocations: 3.04 MB / 5.493 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.606e-05/22.77, allocations: 12.03 kB / 5.493 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006232/22.77, allocations: 96.16 kB / 5.493 GB, free: 61.07 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/22.77, allocations: 97.34 kB / 5.493 GB, free: 61.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/22.78, allocations: 2.899 MB / 5.496 GB, free: 61.04 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/22.82, allocations: 14.46 MB / 5.51 GB, free: 53.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/22.82, allocations: 1.42 MB / 5.511 GB, free: 53 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/22.82, allocations: 0.5718 MB / 5.512 GB, free: 52.98 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/22.82, allocations: 119.4 kB / 5.512 GB, free: 52.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/22.82, allocations: 50.41 kB / 5.512 GB, free: 52.85 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002178/22.83, allocations: 176.5 kB / 5.512 GB, free: 52.77 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 6.994e-06/22.83, allocations: 3.188 kB / 5.512 GB, free: 52.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.00777/22.83, allocations: 1.55 MB / 5.513 GB, free: 52.58 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/22.83, allocations: 66.61 kB / 5.514 GB, free: 52.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004684/22.84, allocations: 1.872 MB / 5.515 GB, free: 52.25 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004755/22.84, allocations: 54.61 kB / 5.515 GB, free: 52.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/22.84, allocations: 1.435 MB / 5.517 GB, free: 51.56 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000622/22.84, allocations: 380.1 kB / 5.517 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003494/22.84, allocations: 45.94 kB / 5.517 GB, free: 51.34 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001729/22.84, allocations: 394.9 kB / 5.518 GB, free: 51.03 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/22.84, allocations: 0.7344 MB / 5.518 GB, free: 51.02 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/22.85, allocations: 1.753 MB / 5.52 GB, free: 49.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/22.85, allocations: 1.15 MB / 5.521 GB, free: 49.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-05/22.85, allocations: 9.688 kB / 5.521 GB, free: 49.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009155/22.86, allocations: 2.748 MB / 5.524 GB, free: 49.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003104/22.86, allocations: 13.03 MB / 5.537 GB, free: 35.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000112/22.86, allocations: 31.06 kB / 5.537 GB, free: 35.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.502e-05/22.86, allocations: 48.75 kB / 5.537 GB, free: 35.55 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/22.88, allocations: 1.259 MB / 5.538 GB, free: 35.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005914/22.88, allocations: 2.793 MB / 5.541 GB, free: 33.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007816/22.89, allocations: 0.5074 MB / 5.541 GB, free: 33.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007795/22.89, allocations: 127.8 kB / 5.541 GB, free: 33.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/22.89, allocations: 3.844 kB / 5.541 GB, free: 33.11 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007262/22.9, allocations: 2.51 MB / 5.544 GB, free: 32.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/22.9, allocations: 34.47 kB / 5.544 GB, free: 32.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.468e-05/22.9, allocations: 49.28 kB / 5.544 GB, free: 32.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005185/22.9, allocations: 0.6313 MB / 5.544 GB, free: 32.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.751e-05/22.9, allocations: 62.92 kB / 5.544 GB, free: 32.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00611/22.91, allocations: 384.2 kB / 5.545 GB, free: 32.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000772/22.91, allocations: 128.1 kB / 5.545 GB, free: 32.66 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008505/22.91, allocations: 260.5 kB / 5.545 GB, free: 32.49 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008237/22.91, allocations: 245.5 kB / 5.545 GB, free: 32.36 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/22.92, allocations: 1.423 MB / 5.547 GB, free: 32.28 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/22.92, allocations: 7.656 kB / 5.547 GB, free: 32.28 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/22.92, allocations: 5.656 kB / 5.547 GB, free: 32.28 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/22.92, allocations: 7.781 kB / 5.547 GB, free: 32.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01644/22.93, allocations: 4.061 MB / 5.551 GB, free: 31.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/22.93, allocations: 6.125 kB / 5.551 GB, free: 31.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01122/22.95, allocations: 0.9525 MB / 5.552 GB, free: 31.73 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.71e-05/22.95, allocations: 8.938 kB / 5.552 GB, free: 31.73 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002164/22.95, allocations: 33.42 kB / 5.552 GB, free: 31.73 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/22.96, allocations: 6.353 MB / 5.558 GB, free: 26.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/22.96, allocations: 13.67 kB / 5.558 GB, free: 26.43 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/22.97, allocations: 1.901 MB / 5.56 GB, free: 25.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/22.97, allocations: 479.3 kB / 5.56 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000713/22.97, allocations: 23.34 kB / 5.56 GB, free: 25.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00438/22.98, allocations: 277.2 kB / 5.561 GB, free: 25.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/22.98, allocations: 80.67 kB / 5.561 GB, free: 25.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/22.98, allocations: 50.89 kB / 5.561 GB, free: 25.31 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003088/22.98, allocations: 1.37 MB / 5.562 GB, free: 25.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.82e-07/22.98, allocations: 3.344 kB / 5.562 GB, free: 25.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.009842/22.99, allocations: 2.045 MB / 5.564 GB, free: 25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01726/23.01, allocations: 11.27 MB / 5.575 GB, free: 18.03 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01668/23.02, allocations: 4.217 MB / 5.579 GB, free: 17.04 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/23.02, allocations: 3.562 kB / 5.579 GB, free: 17.04 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.009872/23.03, allocations: 1.262 MB / 5.58 GB, free: 16.98 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007213/23.04, allocations: 0.8878 MB / 5.581 GB, free: 16.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/23.05, allocations: 3.648 MB / 5.585 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/23.06, allocations: 1.753 MB / 5.587 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01071/23.07, allocations: 0.9184 MB / 5.587 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/23.07, allocations: 0.9438 MB / 5.588 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of SimCode: time 1.222e-06/23.07, allocations: 0 / 5.588 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.206/24.28, allocations: 162.8 MB / 5.747 GB, free: 83.09 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001033/24.28, allocations: 230.6 kB / 5.748 GB, free: 82.78 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/34.9, allocations: 0 / 5.748 GB, free: 82.78 MB / 0.9167 GB