Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.958/3.958, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.663e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.6022, allocations: 92.69 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.505/7.107, allocations: 2.182 GB / 2.771 GB, free: 80.51 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/7.107, allocations: 90.81 kB / 2.771 GB, free: 80.46 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 11.1/18.2, allocations: 1.989 GB / 4.76 GB, free: 70.08 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.615e-06/18.2, allocations: 0 / 4.76 GB, free: 70.08 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004899/18.2, allocations: 106.1 kB / 4.76 GB, free: 70.08 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 808 * Number of variables: 808 Notification: Performance of Generate backend data structure: time 0.01541/18.22, allocations: 3.822 MB / 4.764 GB, free: 68.79 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/18.22, allocations: 10.66 kB / 4.764 GB, free: 68.79 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001951/18.22, allocations: 447.1 kB / 4.764 GB, free: 68.73 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009885/18.23, allocations: 0.9489 MB / 4.765 GB, free: 68.52 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/18.24, allocations: 2.61 MB / 4.768 GB, free: 68.09 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005101/18.24, allocations: 308.4 kB / 4.768 GB, free: 68.02 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/18.24, allocations: 338.9 kB / 4.768 GB, free: 68.02 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/18.26, allocations: 3.851 MB / 4.772 GB, free: 67.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001537/18.26, allocations: 4.938 kB / 4.772 GB, free: 67.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/18.26, allocations: 139.2 kB / 4.772 GB, free: 67.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/18.26, allocations: 115.1 kB / 4.772 GB, free: 67.72 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01321/18.28, allocations: 3.183 MB / 4.776 GB, free: 67.69 MB / 0.8542 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.03447/18.31, allocations: 15.95 MB / 4.791 GB, free: 59.46 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006775/18.32, allocations: 1.912 MB / 4.793 GB, free: 59.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/18.32, allocations: 1.085 MB / 4.794 GB, free: 59.32 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/18.32, allocations: 51.61 kB / 4.794 GB, free: 59.32 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.599e-05/18.32, allocations: 69.59 kB / 4.794 GB, free: 59.28 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=192): time 4.338e-06/18.32, allocations: 0 / 4.794 GB, free: 59.28 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192): time 0.01155/18.33, allocations: 2.368 MB / 4.796 GB, free: 59.05 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/18.33, allocations: 154.9 kB / 4.797 GB, free: 58.89 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004313/18.34, allocations: 1.931 MB / 4.798 GB, free: 58.64 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008198/18.34, allocations: 73.89 kB / 4.799 GB, free: 58.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001483/18.34, allocations: 1.574 MB / 4.8 GB, free: 57.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/18.34, allocations: 0.6832 MB / 4.801 GB, free: 57.54 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/18.34, allocations: 51.12 kB / 4.801 GB, free: 57.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001739/18.34, allocations: 393.4 kB / 4.801 GB, free: 57.24 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/18.34, allocations: 0.8962 MB / 4.802 GB, free: 57.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003073/18.35, allocations: 1.662 MB / 4.804 GB, free: 56.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/18.35, allocations: 1.274 MB / 4.805 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/18.35, allocations: 4.969 kB / 4.805 GB, free: 56.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008189/18.36, allocations: 2.94 MB / 4.808 GB, free: 55.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001847/18.36, allocations: 7.861 MB / 4.815 GB, free: 47.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.755e-05/18.36, allocations: 16.97 kB / 4.815 GB, free: 47.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.357e-05/18.36, allocations: 35.16 kB / 4.816 GB, free: 47.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/18.37, allocations: 1.146 MB / 4.817 GB, free: 47.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006333/18.38, allocations: 4.5 MB / 4.821 GB, free: 43.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007336/18.39, allocations: 487.2 kB / 4.821 GB, free: 43.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006374/18.39, allocations: 110.1 kB / 4.822 GB, free: 43.38 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/18.39, allocations: 6.469 kB / 4.822 GB, free: 43.38 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00661/18.39, allocations: 2.603 MB / 4.824 GB, free: 43.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-05/18.39, allocations: 20.59 kB / 4.824 GB, free: 43.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.086e-05/18.39, allocations: 37.52 kB / 4.824 GB, free: 43.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/18.4, allocations: 0.5433 MB / 4.825 GB, free: 43.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.918e-05/18.4, allocations: 42.97 kB / 4.825 GB, free: 43.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006396/18.4, allocations: 406.9 kB / 4.825 GB, free: 43.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005756/18.41, allocations: 109.6 kB / 4.825 GB, free: 43.13 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 297 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001007/18.41, allocations: 270.4 kB / 4.826 GB, free: 43.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/18.41, allocations: 301.7 kB / 4.826 GB, free: 42.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/18.41, allocations: 317.2 kB / 4.826 GB, free: 42.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/18.41, allocations: 24.25 kB / 4.826 GB, free: 42.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.547e-05/18.41, allocations: 3.844 kB / 4.826 GB, free: 42.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004401/18.41, allocations: 1.892 MB / 4.828 GB, free: 42.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/18.43, allocations: 5.688 MB / 4.834 GB, free: 41.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/18.43, allocations: 3.625 kB / 4.834 GB, free: 41.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01447/18.44, allocations: 1.173 MB / 4.835 GB, free: 41.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.131e-05/18.44, allocations: 14.02 kB / 4.835 GB, free: 41.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004558/18.44, allocations: 60.45 kB / 4.835 GB, free: 41.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/18.47, allocations: 10.04 MB / 4.845 GB, free: 48.53 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/18.47, allocations: 2.062 kB / 4.845 GB, free: 48.53 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008852/18.47, allocations: 3.69 MB / 4.848 GB, free: 47.77 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003087/18.48, allocations: 0.635 MB / 4.849 GB, free: 47.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/18.48, allocations: 45.64 kB / 4.849 GB, free: 47.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006334/18.48, allocations: 310.7 kB / 4.849 GB, free: 47.48 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007028/18.49, allocations: 130.8 kB / 4.849 GB, free: 47.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003895/18.49, allocations: 88.38 kB / 4.849 GB, free: 47.48 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003469/18.49, allocations: 1.458 MB / 4.851 GB, free: 47.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.01e-07/18.49, allocations: 0 / 4.851 GB, free: 47.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01086/18.5, allocations: 2.403 MB / 4.853 GB, free: 47.05 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01832/18.52, allocations: 9.665 MB / 4.863 GB, free: 42.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01911/18.54, allocations: 4.492 MB / 4.867 GB, free: 42.44 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/18.54, allocations: 8.219 kB / 4.867 GB, free: 42.44 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01227/18.55, allocations: 1.63 MB / 4.869 GB, free: 42.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01548/18.57, allocations: 1.698 MB / 4.87 GB, free: 42.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02562/18.59, allocations: 6.753 MB / 4.877 GB, free: 40.94 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005562/18.6, allocations: 2.377 MB / 4.879 GB, free: 40.17 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01099/18.61, allocations: 1.428 MB / 4.881 GB, free: 40.14 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/18.61, allocations: 1.355 MB / 4.882 GB, free: 40.13 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/18.61, allocations: 0 / 4.882 GB, free: 40.13 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4794/19.09, allocations: 160.3 MB / 5.038 GB, free: 4.848 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004169/19.09, allocations: 232.5 kB / 5.039 GB, free: 4.535 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/29.59, allocations: 0 / 5.039 GB, free: 4.535 MB / 0.9011 GB