Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.852/3.852, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.974e-05, allocations: 8 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5997/0.5997, allocations: 92.68 MB / 0.5897 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.401/8.001, allocations: 2.42 GB / 3.01 GB, free: 131.2 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/8.002, allocations: 94.19 kB / 3.01 GB, free: 131.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.889/12.89, allocations: 0.969 GB / 3.979 GB, free: 30.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.013e-06/12.89, allocations: 0 / 3.979 GB, free: 30.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002113/12.89, allocations: 51.98 kB / 3.979 GB, free: 30.25 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006458/12.9, allocations: 1.974 MB / 3.981 GB, free: 28.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/12.9, allocations: 11.97 kB / 3.981 GB, free: 28.22 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004682/12.9, allocations: 190.4 kB / 3.981 GB, free: 28.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/12.9, allocations: 357.2 kB / 3.981 GB, free: 27.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02405/12.92, allocations: 7.907 MB / 3.989 GB, free: 19.65 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.485e-05/12.92, allocations: 106.6 kB / 3.989 GB, free: 19.54 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/12.93, allocations: 140 kB / 3.989 GB, free: 19.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005347/12.93, allocations: 1.526 MB / 3.991 GB, free: 17.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.493e-05/12.93, allocations: 3.938 kB / 3.991 GB, free: 17.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/12.93, allocations: 52 kB / 3.991 GB, free: 17.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.61e-05/12.93, allocations: 62.45 kB / 3.991 GB, free: 17.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/12.94, allocations: 1.125 MB / 3.992 GB, free: 16.55 MB / 0.7761 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.01176/12.95, allocations: 7.1 MB / 3.999 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003493/12.95, allocations: 0.9463 MB / 4 GB, free: 7.914 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008634/12.95, allocations: 428.4 kB / 4 GB, free: 7.484 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/12.95, allocations: 101.6 kB / 4 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/12.95, allocations: 43.12 kB / 4 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=73): time 3.587e-06/12.95, allocations: 0 / 4 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73): time 0.008947/12.96, allocations: 1.213 MB / 4.002 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/12.96, allocations: 162.8 kB / 4.002 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/12.96, allocations: 1.136 MB / 4.003 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002797/12.96, allocations: 41.7 kB / 4.003 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/12.96, allocations: 0.7872 MB / 4.004 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000319/12.96, allocations: 268.1 kB / 4.004 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/12.96, allocations: 20 kB / 4.004 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.23e-05/12.96, allocations: 341.9 kB / 4.004 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/12.97, allocations: 297.9 kB / 4.005 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009772/12.97, allocations: 0.6039 MB / 4.005 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/12.97, allocations: 402.7 kB / 4.006 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/12.97, allocations: 7.875 kB / 4.006 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005841/12.97, allocations: 1.226 MB / 4.007 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001009/12.97, allocations: 2.421 MB / 4.009 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.302e-05/12.97, allocations: 8 kB / 4.009 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004687/12.97, allocations: 109.6 kB / 4.009 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/12.98, allocations: 403.5 kB / 4.01 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/12.98, allocations: 3.027 MB / 4.013 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/12.99, allocations: 214.8 kB / 4.013 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/12.99, allocations: 43.98 kB / 4.013 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/12.99, allocations: 4 kB / 4.013 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002483/12.99, allocations: 0.8515 MB / 4.014 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/12.99, allocations: 8 kB / 4.014 GB, free: 9.172 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003219/12.99, allocations: 78.12 kB / 4.014 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/12.99, allocations: 219.7 kB / 4.014 GB, free: 8.875 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/13, allocations: 3.509 MB / 4.017 GB, free: 5.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/13, allocations: 179.1 kB / 4.018 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/13, allocations: 43.98 kB / 4.018 GB, free: 4.848 MB / 0.7917 GB Warning: Assuming fixed start value for the following 1 variables: hex.vol1.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.1506650354665494 * hex.vol1.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true final = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006092/13, allocations: 173.4 kB / 4.018 GB, free: 4.676 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007614/13, allocations: 154.1 kB / 4.018 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00636/13.01, allocations: 1.051 MB / 4.019 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/13.01, allocations: 8 kB / 4.019 GB, free: 3.445 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/13.01, allocations: 4 kB / 4.019 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005835/13.01, allocations: 1.165 MB / 4.02 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/13.02, allocations: 2.967 MB / 4.023 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/13.02, allocations: 4 kB / 4.023 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00454/13.03, allocations: 363.7 kB / 4.023 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/13.03, allocations: 126.4 kB / 4.023 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/13.03, allocations: 23.94 kB / 4.024 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/13.04, allocations: 6.653 MB / 4.03 GB, free: 7.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/13.04, allocations: 7.938 kB / 4.03 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007406/13.05, allocations: 1.75 MB / 4.032 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001456/13.05, allocations: 343 kB / 4.032 GB, free: 5.148 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000434/13.05, allocations: 20.12 kB / 4.032 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/13.06, allocations: 143.8 kB / 4.032 GB, free: 4.988 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003274/13.06, allocations: 64.42 kB / 4.032 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/13.06, allocations: 39.91 kB / 4.032 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002182/13.06, allocations: 0.8882 MB / 4.033 GB, free: 4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.92e-07/13.06, allocations: 0 / 4.033 GB, free: 4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005732/13.06, allocations: 1.084 MB / 4.034 GB, free: 2.914 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (hex.vol1.dynBal.U,hex.vol1.dynBal.m,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.6566/13.72, allocations: 4.905 MB / 4.039 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0116/13.73, allocations: 1.661 MB / 4.041 GB, free: 113.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/13.73, allocations: 2.859 kB / 4.041 GB, free: 113.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.006545/13.74, allocations: 0.7745 MB / 4.041 GB, free: 113.5 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/13.75, allocations: 0.8625 MB / 4.042 GB, free: 113.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/13.77, allocations: 2.668 MB / 4.045 GB, free: 112.8 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/13.77, allocations: 1.372 MB / 4.046 GB, free: 112.1 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.006608/13.78, allocations: 0.5052 MB / 4.047 GB, free: 112 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/13.78, allocations: 0.6022 MB / 4.047 GB, free: 112 MB / 0.8073 GB Notification: Performance of SimCode: time 2.414e-06/13.78, allocations: 2.5 kB / 4.047 GB, free: 112 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1924/13.97, allocations: 80.14 MB / 4.126 GB, free: 109.5 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003375/13.97, allocations: 254.7 kB / 4.126 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.302/20.27, allocations: 6.734 kB / 4.126 GB, free: 109.2 MB / 0.8073 GB