Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.142/4.142, allocations: 460.5 MB / 472.6 MB, free: 5.398 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.769e-05, allocations: 4 kB / 0.5682 GB, free: 10.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.253, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.193/7.446, allocations: 2.253 GB / 2.925 GB, free: 144 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/7.446, allocations: 86.95 kB / 2.925 GB, free: 144 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.9/18.35, allocations: 1.982 GB / 4.907 GB, free: 94.85 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.864e-06/18.35, allocations: 0 / 4.907 GB, free: 94.85 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004887/18.35, allocations: 94.05 kB / 4.907 GB, free: 94.84 MB / 0.948 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.01398/18.36, allocations: 3.485 MB / 4.91 GB, free: 93.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/18.36, allocations: 7.5 kB / 4.91 GB, free: 93.55 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001619/18.37, allocations: 393.5 kB / 4.911 GB, free: 93.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009472/18.37, allocations: 0.9272 MB / 4.912 GB, free: 93.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/18.39, allocations: 2.873 MB / 4.914 GB, free: 92.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003865/18.39, allocations: 282.2 kB / 4.915 GB, free: 92.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/18.39, allocations: 297.2 kB / 4.915 GB, free: 92.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009748/18.4, allocations: 3.14 MB / 4.918 GB, free: 92.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/18.4, allocations: 3.906 kB / 4.918 GB, free: 92.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000517/18.4, allocations: 118.8 kB / 4.918 GB, free: 92.42 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/18.4, allocations: 104.9 kB / 4.918 GB, free: 92.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008161/18.41, allocations: 2.547 MB / 4.921 GB, free: 92.4 MB / 0.948 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.02628/18.43, allocations: 13.23 MB / 4.934 GB, free: 85.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/18.44, allocations: 1.7 MB / 4.935 GB, free: 85.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/18.44, allocations: 1.042 MB / 4.936 GB, free: 85.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007085/18.44, allocations: 329.3 kB / 4.937 GB, free: 84.85 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.052e-05/18.44, allocations: 66.52 kB / 4.937 GB, free: 84.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=182): time 5.781e-06/18.44, allocations: 0 / 4.937 GB, free: 84.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=182): time 0.006056/18.45, allocations: 1.919 MB / 4.938 GB, free: 84.59 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/18.45, allocations: 70.94 kB / 4.939 GB, free: 84.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003864/18.45, allocations: 1.689 MB / 4.94 GB, free: 84.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006781/18.45, allocations: 66.08 kB / 4.94 GB, free: 84.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001243/18.45, allocations: 1.415 MB / 4.942 GB, free: 83.72 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/18.45, allocations: 0.6392 MB / 4.942 GB, free: 83.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/18.45, allocations: 40.56 kB / 4.942 GB, free: 83.31 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001509/18.45, allocations: 383.2 kB / 4.943 GB, free: 83 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001861/18.46, allocations: 0.7478 MB / 4.943 GB, free: 83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/18.46, allocations: 1.388 MB / 4.945 GB, free: 82.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/18.46, allocations: 1.021 MB / 4.946 GB, free: 82.23 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/18.46, allocations: 3.188 kB / 4.946 GB, free: 82.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.006167/18.47, allocations: 2.342 MB / 4.948 GB, free: 82.03 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001237/18.47, allocations: 5.508 MB / 4.953 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.856e-05/18.47, allocations: 14.28 kB / 4.953 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.658e-05/18.47, allocations: 25.97 kB / 4.953 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004798/18.47, allocations: 0.512 MB / 4.954 GB, free: 76.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/18.48, allocations: 4.148 MB / 4.958 GB, free: 72.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/18.48, allocations: 379 kB / 4.958 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005112/18.48, allocations: 91.23 kB / 4.958 GB, free: 71.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/18.48, allocations: 3.625 kB / 4.958 GB, free: 71.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00523/18.49, allocations: 2.087 MB / 4.961 GB, free: 71.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/18.49, allocations: 14.06 kB / 4.961 GB, free: 71.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.852e-05/18.49, allocations: 24.25 kB / 4.961 GB, free: 71.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/18.49, allocations: 473.7 kB / 4.961 GB, free: 71.93 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.137e-05/18.49, allocations: 30.16 kB / 4.961 GB, free: 71.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0058/18.5, allocations: 357.8 kB / 4.961 GB, free: 71.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003777/18.5, allocations: 92.41 kB / 4.961 GB, free: 71.84 MB / 0.948 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.0008085/18.5, allocations: 236.5 kB / 4.962 GB, free: 71.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009098/18.5, allocations: 273.8 kB / 4.962 GB, free: 71.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005171/18.5, allocations: 2.012 MB / 4.964 GB, free: 71.47 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/18.5, allocations: 18.62 kB / 4.964 GB, free: 71.47 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/18.5, allocations: 3.125 kB / 4.964 GB, free: 71.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00385/18.51, allocations: 1.802 MB / 4.966 GB, free: 71.17 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/18.52, allocations: 5.069 MB / 4.971 GB, free: 70.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/18.52, allocations: 3.812 kB / 4.971 GB, free: 70.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004587/18.53, allocations: 0.5114 MB / 4.971 GB, free: 70.63 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.969e-05/18.53, allocations: 8.781 kB / 4.971 GB, free: 70.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002396/18.53, allocations: 58.67 kB / 4.971 GB, free: 70.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001688/18.53, allocations: 4.114 MB / 4.975 GB, free: 66.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/18.53, allocations: 5.109 kB / 4.975 GB, free: 66.54 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/18.54, allocations: 3.466 MB / 4.979 GB, free: 65.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002662/18.54, allocations: 0.5857 MB / 4.979 GB, free: 65.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008208/18.54, allocations: 39.2 kB / 4.979 GB, free: 65.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005029/18.55, allocations: 260.4 kB / 4.979 GB, free: 65.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/18.55, allocations: 122.6 kB / 4.98 GB, free: 65.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/18.55, allocations: 74.03 kB / 4.98 GB, free: 65.51 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002945/18.55, allocations: 1.285 MB / 4.981 GB, free: 65.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.51e-07/18.55, allocations: 0 / 4.981 GB, free: 65.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009058/18.56, allocations: 2.157 MB / 4.983 GB, free: 65.1 MB / 0.948 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.0165/18.57, allocations: 9.531 MB / 4.992 GB, free: 60.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009347/18.58, allocations: 3.122 MB / 4.995 GB, free: 60.73 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-05/18.58, allocations: 3.844 kB / 4.995 GB, free: 60.73 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002886/18.59, allocations: 0.9589 MB / 4.996 GB, free: 60.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01415/18.6, allocations: 1.576 MB / 4.998 GB, free: 60.68 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01941/18.62, allocations: 6.359 MB / 5.004 GB, free: 59.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/18.62, allocations: 2.26 MB / 5.006 GB, free: 58.54 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008992/18.63, allocations: 1.336 MB / 5.008 GB, free: 58.51 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002899/18.64, allocations: 1.217 MB / 5.009 GB, free: 58.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/18.64, allocations: 0 / 5.009 GB, free: 58.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.106/19.74, allocations: 151.1 MB / 5.156 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/19.74, allocations: 232.3 kB / 5.157 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.886/29.63, allocations: 3.938 kB / 5.157 GB, free: 121.4 MB / 0.9792 GB