Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.139/4.139, allocations: 464.6 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.884e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2499, allocations: 107.2 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.31/7.56, allocations: 2.253 GB / 2.931 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/7.56, allocations: 85.58 kB / 2.931 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.07/18.63, allocations: 1.982 GB / 4.913 GB, free: 93.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.943e-06/18.63, allocations: 0 / 4.913 GB, free: 93.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005081/18.63, allocations: 100.9 kB / 4.913 GB, free: 93.95 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.01423/18.64, allocations: 3.487 MB / 4.917 GB, free: 92.97 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/18.64, allocations: 11.56 kB / 4.917 GB, free: 92.97 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001887/18.65, allocations: 392.5 kB / 4.917 GB, free: 92.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009572/18.65, allocations: 0.9297 MB / 4.918 GB, free: 92.72 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/18.67, allocations: 2.87 MB / 4.921 GB, free: 92.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004669/18.67, allocations: 288.2 kB / 4.921 GB, free: 92.22 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/18.67, allocations: 300.9 kB / 4.921 GB, free: 92.22 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/18.68, allocations: 3.13 MB / 4.924 GB, free: 91.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/18.68, allocations: 11.31 kB / 4.924 GB, free: 91.97 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006638/18.68, allocations: 115.8 kB / 4.925 GB, free: 91.97 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/18.68, allocations: 108.4 kB / 4.925 GB, free: 91.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008859/18.69, allocations: 2.551 MB / 4.927 GB, free: 91.95 MB / 0.9636 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.02762/18.72, allocations: 13.24 MB / 4.94 GB, free: 84.86 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/18.72, allocations: 1.698 MB / 4.942 GB, free: 84.82 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/18.72, allocations: 1.049 MB / 4.943 GB, free: 84.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/18.72, allocations: 322.7 kB / 4.943 GB, free: 84.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/18.73, allocations: 64.06 kB / 4.943 GB, free: 84.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=182): time 5.23e-06/18.73, allocations: 0 / 4.943 GB, free: 84.48 MB / 0.9636 GB Notification: Performance of matching and sorting (n=182): time 0.006735/18.73, allocations: 1.924 MB / 4.945 GB, free: 84.27 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/18.73, allocations: 69.88 kB / 4.945 GB, free: 84.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/18.74, allocations: 1.702 MB / 4.947 GB, free: 83.98 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007237/18.74, allocations: 71.2 kB / 4.947 GB, free: 83.95 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001446/18.74, allocations: 1.42 MB / 4.948 GB, free: 83.55 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/18.74, allocations: 0.6458 MB / 4.949 GB, free: 83.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/18.74, allocations: 37.41 kB / 4.949 GB, free: 83.18 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000175/18.74, allocations: 388 kB / 4.949 GB, free: 82.87 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/18.74, allocations: 0.7492 MB / 4.95 GB, free: 82.86 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/18.74, allocations: 1.413 MB / 4.951 GB, free: 82.11 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/18.75, allocations: 1.025 MB / 4.952 GB, free: 82.07 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.948e-05/18.75, allocations: 3.812 kB / 4.952 GB, free: 82.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006955/18.75, allocations: 2.353 MB / 4.955 GB, free: 81.86 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001361/18.76, allocations: 5.516 MB / 4.96 GB, free: 76.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/18.76, allocations: 11.69 kB / 4.96 GB, free: 76.02 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.529e-05/18.76, allocations: 25.53 kB / 4.96 GB, free: 76.02 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/18.76, allocations: 0.5144 MB / 4.961 GB, free: 76.01 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/18.76, allocations: 4.146 MB / 4.965 GB, free: 71.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/18.77, allocations: 377 kB / 4.965 GB, free: 71.82 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005723/18.77, allocations: 96.11 kB / 4.965 GB, free: 71.82 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/18.77, allocations: 2.969 kB / 4.965 GB, free: 71.82 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005662/18.78, allocations: 2.085 MB / 4.967 GB, free: 71.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/18.78, allocations: 11.06 kB / 4.967 GB, free: 71.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/18.78, allocations: 26.97 kB / 4.967 GB, free: 71.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003713/18.78, allocations: 475.1 kB / 4.968 GB, free: 71.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.074e-05/18.78, allocations: 31.03 kB / 4.968 GB, free: 71.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005961/18.79, allocations: 357.1 kB / 4.968 GB, free: 71.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005179/18.79, allocations: 85.17 kB / 4.968 GB, free: 71.68 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * 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 prepare postOptimizeDAE: time 0.0008234/18.79, allocations: 241 kB / 4.968 GB, free: 71.57 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/18.79, allocations: 272.3 kB / 4.969 GB, free: 71.43 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005551/18.79, allocations: 2.024 MB / 4.971 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/18.79, allocations: 15.75 kB / 4.971 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/18.79, allocations: 0 / 4.971 GB, free: 71.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004157/18.8, allocations: 1.802 MB / 4.972 GB, free: 71 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/18.81, allocations: 5.08 MB / 4.977 GB, free: 70.46 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/18.81, allocations: 3.125 kB / 4.977 GB, free: 70.46 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004788/18.82, allocations: 0.518 MB / 4.978 GB, free: 70.46 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.23e-05/18.82, allocations: 9.156 kB / 4.978 GB, free: 70.46 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/18.82, allocations: 52 kB / 4.978 GB, free: 70.46 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/18.82, allocations: 4.119 MB / 4.982 GB, free: 66.37 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/18.82, allocations: 5.391 kB / 4.982 GB, free: 66.37 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007915/18.83, allocations: 3.47 MB / 4.985 GB, free: 65.61 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002755/18.83, allocations: 0.5856 MB / 4.986 GB, free: 65.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009556/18.83, allocations: 39.45 kB / 4.986 GB, free: 65.36 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00535/18.84, allocations: 263 kB / 4.986 GB, free: 65.34 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005502/18.84, allocations: 111.9 kB / 4.986 GB, free: 65.34 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000291/18.84, allocations: 76.3 kB / 4.986 GB, free: 65.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003216/18.84, allocations: 1.303 MB / 4.988 GB, free: 65.17 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7.41e-07/18.84, allocations: 0 / 4.988 GB, free: 65.17 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009762/18.85, allocations: 2.164 MB / 4.99 GB, free: 64.92 MB / 0.9636 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 (182): * Single equations (assignments): 175 * 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.01736/18.87, allocations: 9.522 MB / 4.999 GB, free: 60.61 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00958/18.88, allocations: 3.123 MB / 5.002 GB, free: 60.56 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/18.88, allocations: 1.641 kB / 5.002 GB, free: 60.56 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002814/18.88, allocations: 0.9628 MB / 5.003 GB, free: 60.55 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01414/18.9, allocations: 1.575 MB / 5.005 GB, free: 60.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/18.91, allocations: 6.375 MB / 5.011 GB, free: 59.13 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/18.92, allocations: 2.269 MB / 5.013 GB, free: 58.38 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.009113/18.93, allocations: 1.333 MB / 5.014 GB, free: 58.35 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002878/18.93, allocations: 1.224 MB / 5.015 GB, free: 58.34 MB / 0.9636 GB Notification: Performance of SimCode: time 1.283e-06/18.93, allocations: 3.562 kB / 5.015 GB, free: 58.34 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3608/19.29, allocations: 151.7 MB / 5.164 GB, free: 29.04 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/19.29, allocations: 228.4 kB / 5.164 GB, free: 28.74 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.932/29.22, allocations: 0 / 5.164 GB, free: 28.74 MB / 0.9636 GB