Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") Notification: Performance of loadModel(Buildings): time 3.454/3.454, allocations: 402.1 MB / 416 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.209e-05, allocations: 4 kB / 0.5003 GB, free: 8.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1745, allocations: 92.69 MB / 0.5909 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.51/5.685, allocations: 2.15 GB / 2.741 GB, free: 140.7 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/5.685, allocations: 89 kB / 2.741 GB, free: 140.7 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.1138/5.799, allocations: 40.69 MB / 2.781 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.424e-06/5.799, allocations: 3.938 kB / 2.781 GB, free: 105.2 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.274e-05/5.799, allocations: 4 kB / 2.781 GB, free: 105.2 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005034/5.8, allocations: 451.1 kB / 2.781 GB, free: 104.7 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/5.8, allocations: 8.031 kB / 2.781 GB, free: 104.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/5.8, allocations: 35.78 kB / 2.781 GB, free: 104.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/5.8, allocations: 202.9 kB / 2.781 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/5.8, allocations: 11.94 kB / 2.781 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/5.8, allocations: 15.94 kB / 2.781 GB, free: 104.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/5.801, allocations: 125.6 kB / 2.781 GB, free: 104.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/5.801, allocations: 0 / 2.781 GB, free: 104.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/5.801, allocations: 0 / 2.781 GB, free: 104.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-06/5.801, allocations: 4 kB / 2.781 GB, free: 104.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/5.801, allocations: 106.1 kB / 2.781 GB, free: 104.2 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007009/5.802, allocations: 464.2 kB / 2.782 GB, free: 103.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/5.802, allocations: 94.48 kB / 2.782 GB, free: 103.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/5.802, allocations: 4 kB / 2.782 GB, free: 103.6 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/5.802, allocations: 30.56 kB / 2.782 GB, free: 103.5 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=7): time 2.138e-06/5.802, allocations: 0 / 2.782 GB, free: 103.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=7): time 0.0004985/5.803, allocations: 161.6 kB / 2.782 GB, free: 103.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/5.803, allocations: 55.34 kB / 2.782 GB, free: 103.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/5.803, allocations: 166.5 kB / 2.782 GB, free: 103.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/5.803, allocations: 25.7 kB / 2.782 GB, free: 103.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/5.803, allocations: 123.9 kB / 2.783 GB, free: 103 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/5.803, allocations: 19.7 kB / 2.783 GB, free: 103 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-06/5.803, allocations: 4 kB / 2.783 GB, free: 103 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 5.571e-05/5.803, allocations: 322.8 kB / 2.783 GB, free: 102.6 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/5.803, allocations: 31.98 kB / 2.783 GB, free: 102.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/5.803, allocations: 44.11 kB / 2.783 GB, free: 102.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/5.803, allocations: 39.98 kB / 2.783 GB, free: 102.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-06/5.803, allocations: 0 / 2.783 GB, free: 102.5 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003379/5.804, allocations: 121.6 kB / 2.783 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/5.804, allocations: 8 kB / 2.783 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.772e-06/5.804, allocations: 3.938 kB / 2.783 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/5.804, allocations: 3.953 kB / 2.783 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/5.804, allocations: 23.92 kB / 2.783 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.467e-06/5.804, allocations: 0 / 2.783 GB, free: 102.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/5.804, allocations: 27.83 kB / 2.783 GB, free: 102.3 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/5.804, allocations: 4 kB / 2.783 GB, free: 102.3 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.614e-05/5.804, allocations: 117.8 kB / 2.783 GB, free: 102.2 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/5.804, allocations: 15.81 kB / 2.783 GB, free: 102.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/5.805, allocations: 135 kB / 2.783 GB, free: 102 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/5.805, allocations: 0 / 2.783 GB, free: 102 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.954e-06/5.805, allocations: 7.891 kB / 2.783 GB, free: 102 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-06/5.805, allocations: 0 / 2.783 GB, free: 102 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/5.805, allocations: 225.6 kB / 2.784 GB, free: 101.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/5.805, allocations: 0 / 2.784 GB, free: 101.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/5.805, allocations: 15.98 kB / 2.784 GB, free: 101.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.886e-06/5.805, allocations: 0 / 2.784 GB, free: 101.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/5.805, allocations: 8 kB / 2.784 GB, free: 101.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.17e-06/5.805, allocations: 3.984 kB / 2.784 GB, free: 101.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.78e-06/5.805, allocations: 0 / 2.784 GB, free: 101.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/5.806, allocations: 212 kB / 2.784 GB, free: 101.5 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/5.806, allocations: 104.8 kB / 2.784 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/5.806, allocations: 4 kB / 2.784 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/5.806, allocations: 11.98 kB / 2.784 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/5.806, allocations: 3.984 kB / 2.784 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/5.806, allocations: 4 kB / 2.784 GB, free: 101.4 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001104/5.806, allocations: 139.2 kB / 2.784 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.31e-07/5.806, allocations: 0 / 2.784 GB, free: 101.2 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004284/5.806, allocations: 55.98 kB / 2.784 GB, free: 101.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006456/5.807, allocations: 0.5677 MB / 2.785 GB, free: 100.6 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003155/5.807, allocations: 83.95 kB / 2.785 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/5.807, allocations: 0 / 2.785 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/5.808, allocations: 47.91 kB / 2.785 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/5.808, allocations: 27.98 kB / 2.785 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/5.809, allocations: 317.3 kB / 2.785 GB, free: 100.1 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/5.809, allocations: 0.7159 MB / 2.786 GB, free: 99.37 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001032/5.809, allocations: 20.86 kB / 2.786 GB, free: 99.35 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/5.809, allocations: 11.44 kB / 2.786 GB, free: 99.34 MB / 0.7605 GB Notification: Performance of SimCode: time 1.478e-06/5.809, allocations: 0 / 2.786 GB, free: 99.34 MB / 0.7605 GB Notification: Performance of Templates: time 0.01748/5.826, allocations: 10.19 MB / 2.796 GB, free: 89.16 MB / 0.7605 GB