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.723/3.723, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.964e-05/4.968e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7128, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.385/7.098, allocations: 2.182 GB / 2.771 GB, free: 79.61 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/7.098, allocations: 86.58 kB / 2.771 GB, free: 79.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 10.85/17.95, allocations: 1.989 GB / 4.76 GB, free: 69.54 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.295e-06/17.95, allocations: 0 / 4.76 GB, free: 69.54 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005121/17.95, allocations: 99.81 kB / 4.76 GB, free: 69.54 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.01562/17.97, allocations: 3.828 MB / 4.764 GB, free: 68.25 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/17.97, allocations: 10.66 kB / 4.764 GB, free: 68.25 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001855/17.97, allocations: 442.5 kB / 4.764 GB, free: 68.19 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009561/17.98, allocations: 0.9567 MB / 4.765 GB, free: 67.97 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/17.99, allocations: 2.606 MB / 4.768 GB, free: 67.55 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005821/17.99, allocations: 312.7 kB / 4.768 GB, free: 67.48 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001616/17.99, allocations: 338.5 kB / 4.768 GB, free: 67.47 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/18.01, allocations: 3.811 MB / 4.772 GB, free: 67.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/18.01, allocations: 2.953 kB / 4.772 GB, free: 67.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006658/18.01, allocations: 141.3 kB / 4.772 GB, free: 67.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000142/18.01, allocations: 119.6 kB / 4.772 GB, free: 67.19 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/18.02, allocations: 3.138 MB / 4.775 GB, free: 67.18 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.03019/18.05, allocations: 15.94 MB / 4.791 GB, free: 58.96 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007087/18.06, allocations: 1.891 MB / 4.793 GB, free: 58.86 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00248/18.06, allocations: 1.082 MB / 4.794 GB, free: 58.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/18.06, allocations: 53.45 kB / 4.794 GB, free: 58.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.912e-05/18.06, allocations: 77.66 kB / 4.794 GB, free: 58.77 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=192): time 4.608e-06/18.06, allocations: 0 / 4.794 GB, free: 58.77 MB / 0.8542 GB Notification: Performance of matching and sorting (n=192): time 0.0113/18.07, allocations: 2.355 MB / 4.796 GB, free: 58.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/18.07, allocations: 152.7 kB / 4.797 GB, free: 58.39 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/18.07, allocations: 1.935 MB / 4.798 GB, free: 58.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000825/18.08, allocations: 76.77 kB / 4.798 GB, free: 58.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001554/18.08, allocations: 1.579 MB / 4.8 GB, free: 57.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/18.08, allocations: 0.6775 MB / 4.801 GB, free: 57.05 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/18.08, allocations: 51.47 kB / 4.801 GB, free: 57.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001804/18.08, allocations: 400.5 kB / 4.801 GB, free: 56.74 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002362/18.08, allocations: 0.8911 MB / 4.802 GB, free: 56.73 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002854/18.08, allocations: 1.646 MB / 4.804 GB, free: 55.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/18.09, allocations: 1.271 MB / 4.805 GB, free: 55.74 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/18.09, allocations: 7.219 kB / 4.805 GB, free: 55.74 MB / 0.8542 GB Notification: Performance of matching and sorting (n=307) (initialization): time 0.008024/18.1, allocations: 2.892 MB / 4.808 GB, free: 55.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001885/18.1, allocations: 7.864 MB / 4.815 GB, free: 47.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-05/18.1, allocations: 18.66 kB / 4.815 GB, free: 47.12 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-05/18.1, allocations: 34.06 kB / 4.815 GB, free: 47.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01359/18.11, allocations: 1.146 MB / 4.817 GB, free: 47.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/18.12, allocations: 4.493 MB / 4.821 GB, free: 43.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007135/18.12, allocations: 484.1 kB / 4.821 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005087/18.13, allocations: 108.4 kB / 4.821 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/18.13, allocations: 4.531 kB / 4.821 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006324/18.13, allocations: 2.56 MB / 4.824 GB, free: 42.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.174e-05/18.13, allocations: 18.66 kB / 4.824 GB, free: 42.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.901e-05/18.13, allocations: 33.44 kB / 4.824 GB, free: 42.75 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/18.14, allocations: 0.5545 MB / 4.825 GB, free: 42.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.297e-05/18.14, allocations: 36.91 kB / 4.825 GB, free: 42.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/18.14, allocations: 412.6 kB / 4.825 GB, free: 42.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004754/18.14, allocations: 113.7 kB / 4.825 GB, free: 42.64 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.0009939/18.14, allocations: 263.8 kB / 4.825 GB, free: 42.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/18.14, allocations: 295 kB / 4.826 GB, free: 42.38 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000991/18.15, allocations: 322.1 kB / 4.826 GB, free: 42.33 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/18.15, allocations: 19.84 kB / 4.826 GB, free: 42.33 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.854e-05/18.15, allocations: 3.844 kB / 4.826 GB, free: 42.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004235/18.15, allocations: 1.894 MB / 4.828 GB, free: 42.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/18.17, allocations: 5.668 MB / 4.833 GB, free: 41.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/18.17, allocations: 4.25 kB / 4.833 GB, free: 41.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01439/18.18, allocations: 1.187 MB / 4.835 GB, free: 41.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.415e-05/18.18, allocations: 8.906 kB / 4.835 GB, free: 41.26 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004516/18.18, allocations: 56.72 kB / 4.835 GB, free: 41.26 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01879/18.2, allocations: 10.03 MB / 4.844 GB, free: 32.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/18.2, allocations: 6.578 kB / 4.844 GB, free: 32.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008731/18.21, allocations: 3.686 MB / 4.848 GB, free: 31.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003035/18.21, allocations: 0.6378 MB / 4.849 GB, free: 31.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001177/18.21, allocations: 52.72 kB / 4.849 GB, free: 31.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00624/18.22, allocations: 305.8 kB / 4.849 GB, free: 31 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006474/18.22, allocations: 129.1 kB / 4.849 GB, free: 30.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003622/18.22, allocations: 90.33 kB / 4.849 GB, free: 30.99 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003313/18.22, allocations: 1.461 MB / 4.851 GB, free: 30.83 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.72e-07/18.22, allocations: 0 / 4.851 GB, free: 30.83 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.009712/18.23, allocations: 2.398 MB / 4.853 GB, free: 30.56 MB / 0.8542 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.01813/18.25, allocations: 9.761 MB / 4.862 GB, free: 42.25 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01863/18.27, allocations: 4.418 MB / 4.867 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/18.27, allocations: 5.594 kB / 4.867 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/18.28, allocations: 1.617 MB / 4.868 GB, free: 41.82 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01486/18.3, allocations: 1.697 MB / 4.87 GB, free: 41.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/18.32, allocations: 6.737 MB / 4.877 GB, free: 40.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004139/18.33, allocations: 2.382 MB / 4.879 GB, free: 39.55 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.01333/18.34, allocations: 1.432 MB / 4.88 GB, free: 39.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004013/18.34, allocations: 1.353 MB / 4.882 GB, free: 39.52 MB / 0.8698 GB Notification: Performance of SimCode: time 1.754e-06/18.34, allocations: 0 / 4.882 GB, free: 39.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3561/18.7, allocations: 160.5 MB / 5.038 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/18.7, allocations: 227.2 kB / 5.039 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/29.25, allocations: 2.406 kB / 5.039 GB, free: 3.566 MB / 0.9011 GB