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 3.689/3.689, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.35e-05/4.353e-05, allocations: 8 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6102/0.6103, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.325/6.936, allocations: 2.186 GB / 2.775 GB, free: 76.25 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/6.936, allocations: 89.08 kB / 2.776 GB, free: 76.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 15.09/22.03, allocations: 2.706 GB / 5.482 GB, free: 65.96 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.144e-06/22.03, allocations: 0 / 5.482 GB, free: 65.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003759/22.03, allocations: 77.48 kB / 5.482 GB, free: 65.95 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.01528/22.04, allocations: 3.65 MB / 5.485 GB, free: 64.26 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/22.04, allocations: 11.75 kB / 5.485 GB, free: 64.26 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001087/22.05, allocations: 316.5 kB / 5.486 GB, free: 64.21 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0171/22.06, allocations: 1.178 MB / 5.487 GB, free: 64.04 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007962/22.07, allocations: 2.205 MB / 5.489 GB, free: 63.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002493/22.07, allocations: 440.9 kB / 5.489 GB, free: 63.53 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/22.07, allocations: 231.2 kB / 5.49 GB, free: 63.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/22.09, allocations: 3.076 MB / 5.493 GB, free: 63.14 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/22.09, allocations: 9.984 kB / 5.493 GB, free: 63.14 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005498/22.09, allocations: 97.3 kB / 5.493 GB, free: 63.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/22.09, allocations: 96.06 kB / 5.493 GB, free: 63.13 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/22.1, allocations: 2.937 MB / 5.496 GB, free: 63.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03719/22.14, allocations: 14.45 MB / 5.51 GB, free: 55.08 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005609/22.14, allocations: 1.445 MB / 5.511 GB, free: 55.04 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/22.14, allocations: 0.5725 MB / 5.512 GB, free: 55.03 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/22.14, allocations: 122.7 kB / 5.512 GB, free: 54.93 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/22.14, allocations: 47.03 kB / 5.512 GB, free: 54.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002312/22.15, allocations: 172.8 kB / 5.512 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 8.657e-06/22.15, allocations: 0 / 5.512 GB, free: 54.81 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.008022/22.15, allocations: 1.552 MB / 5.514 GB, free: 54.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/22.15, allocations: 69.23 kB / 5.514 GB, free: 54.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005021/22.16, allocations: 1.868 MB / 5.515 GB, free: 54.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004838/22.16, allocations: 57.86 kB / 5.515 GB, free: 54.27 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001557/22.16, allocations: 1.435 MB / 5.517 GB, free: 53.61 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006744/22.16, allocations: 384.8 kB / 5.517 GB, free: 53.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/22.16, allocations: 48.66 kB / 5.517 GB, free: 53.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001762/22.16, allocations: 390.7 kB / 5.518 GB, free: 53.08 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002282/22.17, allocations: 0.7335 MB / 5.518 GB, free: 53.07 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003318/22.17, allocations: 1.763 MB / 5.52 GB, free: 51.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/22.17, allocations: 1.149 MB / 5.521 GB, free: 51.58 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.809e-05/22.17, allocations: 9.344 kB / 5.521 GB, free: 51.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.008719/22.18, allocations: 2.839 MB / 5.524 GB, free: 51.15 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003258/22.18, allocations: 13.02 MB / 5.537 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/22.18, allocations: 32.31 kB / 5.537 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.493e-05/22.18, allocations: 48.59 kB / 5.537 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01355/22.2, allocations: 1.26 MB / 5.538 GB, free: 37.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005916/22.2, allocations: 2.797 MB / 5.541 GB, free: 35.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007917/22.21, allocations: 0.5064 MB / 5.541 GB, free: 35.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007856/22.21, allocations: 129 kB / 5.541 GB, free: 35.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/22.21, allocations: 3.656 kB / 5.541 GB, free: 35.14 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007158/22.22, allocations: 2.599 MB / 5.544 GB, free: 34.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/22.22, allocations: 31.34 kB / 5.544 GB, free: 34.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.584e-05/22.22, allocations: 50.44 kB / 5.544 GB, free: 34.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006689/22.23, allocations: 0.6358 MB / 5.545 GB, free: 34.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.823e-05/22.23, allocations: 62.75 kB / 5.545 GB, free: 34.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008352/22.24, allocations: 383.4 kB / 5.545 GB, free: 34.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009283/22.24, allocations: 129.1 kB / 5.545 GB, free: 34.64 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.001162/22.24, allocations: 255.8 kB / 5.545 GB, free: 34.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/22.24, allocations: 245.7 kB / 5.546 GB, free: 34.35 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006015/22.24, allocations: 1.422 MB / 5.547 GB, free: 34.26 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/22.24, allocations: 10.84 kB / 5.547 GB, free: 34.26 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/22.24, allocations: 3.938 kB / 5.547 GB, free: 34.26 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/22.24, allocations: 6.781 kB / 5.547 GB, free: 34.26 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02124/22.27, allocations: 4.076 MB / 5.551 GB, free: 33.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/22.27, allocations: 9.531 kB / 5.551 GB, free: 33.73 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01482/22.28, allocations: 0.9527 MB / 5.552 GB, free: 33.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.28e-05/22.28, allocations: 11.19 kB / 5.552 GB, free: 33.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/22.28, allocations: 30.33 kB / 5.552 GB, free: 33.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02386/22.31, allocations: 6.352 MB / 5.558 GB, free: 28.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/22.31, allocations: 15.17 kB / 5.558 GB, free: 28.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/22.31, allocations: 1.905 MB / 5.56 GB, free: 27.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003523/22.31, allocations: 480.6 kB / 5.561 GB, free: 27.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/22.32, allocations: 21.06 kB / 5.561 GB, free: 27.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008158/22.32, allocations: 275.5 kB / 5.561 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004855/22.32, allocations: 81.61 kB / 5.561 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/22.32, allocations: 46.8 kB / 5.561 GB, free: 27.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003432/22.33, allocations: 1.375 MB / 5.562 GB, free: 27.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.51e-07/22.33, allocations: 0 / 5.562 GB, free: 27.13 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01116/22.34, allocations: 2.047 MB / 5.564 GB, free: 26.98 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.01902/22.36, allocations: 11.08 MB / 5.575 GB, free: 20.17 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01711/22.38, allocations: 4.31 MB / 5.579 GB, free: 19.15 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/22.38, allocations: 0 / 5.579 GB, free: 19.15 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01012/22.39, allocations: 1.28 MB / 5.581 GB, free: 19.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007814/22.39, allocations: 0.89 MB / 5.581 GB, free: 19.01 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/22.41, allocations: 3.659 MB / 5.585 GB, free: 17.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/22.41, allocations: 1.763 MB / 5.587 GB, free: 17.13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008286/22.42, allocations: 0.9163 MB / 5.588 GB, free: 16.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002098/22.42, allocations: 0.9353 MB / 5.589 GB, free: 16.93 MB / 0.8855 GB Notification: Performance of SimCode: time 1.523e-06/22.42, allocations: 0 / 5.589 GB, free: 16.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.134/23.55, allocations: 162.3 MB / 5.747 GB, free: 81.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/23.55, allocations: 234.7 kB / 5.747 GB, free: 81.22 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/33.93, allocations: 3.75 kB / 5.747 GB, free: 81.22 MB / 0.9167 GB