Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 2.995/2.995, allocations: 325.3 MB / 337.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.596e-05, allocations: 4 kB / 414.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1677, allocations: 74.41 MB / 489.3 MB, free: 11.48 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.797/6.965, allocations: 2.166 GB / 2.644 GB, free: 87.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/6.965, allocations: 95.44 kB / 2.644 GB, free: 87.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 10.95/17.92, allocations: 2.033 GB / 4.678 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.974e-06/17.92, allocations: 0 / 4.678 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004984/17.92, allocations: 99.19 kB / 4.678 GB, free: 46.04 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 757 * Number of variables: 757 Notification: Performance of Generate backend data structure: time 0.01459/17.93, allocations: 3.709 MB / 4.681 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/17.93, allocations: 10.22 kB / 4.681 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001836/17.93, allocations: 425.7 kB / 4.682 GB, free: 44.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/17.94, allocations: 0.9479 MB / 4.683 GB, free: 44.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/17.95, allocations: 2.615 MB / 4.685 GB, free: 43.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004957/17.95, allocations: 295.3 kB / 4.686 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/17.95, allocations: 321.3 kB / 4.686 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01464/17.97, allocations: 3.581 MB / 4.689 GB, free: 43.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/17.97, allocations: 5.938 kB / 4.689 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007383/17.97, allocations: 126.4 kB / 4.69 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/17.97, allocations: 113.1 kB / 4.69 GB, free: 43.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0122/17.98, allocations: 2.969 MB / 4.693 GB, free: 43.08 MB / 0.7136 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.03292/18.02, allocations: 15.05 MB / 4.707 GB, free: 35.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006756/18.02, allocations: 1.863 MB / 4.709 GB, free: 35.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/18.03, allocations: 1.076 MB / 4.71 GB, free: 35.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006807/18.03, allocations: 325.2 kB / 4.71 GB, free: 34.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.378e-05/18.03, allocations: 64.64 kB / 4.71 GB, free: 34.81 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=192): time 5.22e-06/18.03, allocations: 0 / 4.71 GB, free: 34.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=192): time 0.01194/18.04, allocations: 2.375 MB / 4.713 GB, free: 34.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/18.04, allocations: 74.17 kB / 4.713 GB, free: 34.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/18.04, allocations: 1.769 MB / 4.715 GB, free: 34.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0007601/18.04, allocations: 72.45 kB / 4.715 GB, free: 34.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/18.04, allocations: 1.503 MB / 4.716 GB, free: 33.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001243/18.05, allocations: 0.6786 MB / 4.717 GB, free: 33.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/18.05, allocations: 50.66 kB / 4.717 GB, free: 33.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000203/18.05, allocations: 396.1 kB / 4.717 GB, free: 32.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002316/18.05, allocations: 0.8421 MB / 4.718 GB, free: 32.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003019/18.05, allocations: 1.557 MB / 4.72 GB, free: 32.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003188/18.05, allocations: 1.208 MB / 4.721 GB, free: 31.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/18.06, allocations: 3.812 kB / 4.721 GB, free: 31.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.008002/18.06, allocations: 2.731 MB / 4.723 GB, free: 31.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001587/18.06, allocations: 6.731 MB / 4.73 GB, free: 24.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-05/18.06, allocations: 17.59 kB / 4.73 GB, free: 24.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-05/18.06, allocations: 26.41 kB / 4.73 GB, free: 24.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01364/18.08, allocations: 1.117 MB / 4.731 GB, free: 24.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/18.08, allocations: 4.478 MB / 4.735 GB, free: 20.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00702/18.09, allocations: 445.4 kB / 4.736 GB, free: 20.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006262/18.09, allocations: 105.8 kB / 4.736 GB, free: 20.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/18.09, allocations: 9.047 kB / 4.736 GB, free: 20.21 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006365/18.1, allocations: 2.408 MB / 4.738 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.912e-05/18.1, allocations: 17.56 kB / 4.738 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.406e-05/18.1, allocations: 32.16 kB / 4.738 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004099/18.1, allocations: 0.5137 MB / 4.739 GB, free: 19.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.905e-05/18.1, allocations: 39.23 kB / 4.739 GB, free: 19.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006167/18.11, allocations: 381.9 kB / 4.739 GB, free: 19.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000572/18.11, allocations: 96.77 kB / 4.739 GB, free: 19.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 276 * 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.0009218/18.11, allocations: 248.2 kB / 4.74 GB, free: 19.71 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/18.11, allocations: 289.5 kB / 4.74 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/18.11, allocations: 311.5 kB / 4.74 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/18.11, allocations: 25.06 kB / 4.74 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.603e-05/18.11, allocations: 0 / 4.74 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004579/18.12, allocations: 1.92 MB / 4.742 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01597/18.13, allocations: 5.371 MB / 4.747 GB, free: 18.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/18.13, allocations: 3.719 kB / 4.747 GB, free: 18.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01458/18.15, allocations: 1.175 MB / 4.749 GB, free: 18.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.934e-05/18.15, allocations: 15.09 kB / 4.749 GB, free: 18.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004437/18.15, allocations: 54.52 kB / 4.749 GB, free: 18.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/18.17, allocations: 10.03 MB / 4.758 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/18.17, allocations: 6.344 kB / 4.758 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008535/18.18, allocations: 3.694 MB / 4.762 GB, free: 24.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002834/18.18, allocations: 0.5988 MB / 4.763 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/18.18, allocations: 45.08 kB / 4.763 GB, free: 24.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005998/18.19, allocations: 306.3 kB / 4.763 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006584/18.19, allocations: 130.5 kB / 4.763 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00035/18.19, allocations: 83.92 kB / 4.763 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003212/18.19, allocations: 1.34 MB / 4.764 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.62e-07/18.19, allocations: 0 / 4.764 GB, free: 24.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01041/18.2, allocations: 2.296 MB / 4.767 GB, free: 23.68 MB / 0.7292 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.01846/18.22, allocations: 9.876 MB / 4.776 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01832/18.24, allocations: 4.273 MB / 4.78 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/18.24, allocations: 8.062 kB / 4.78 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.01178/18.25, allocations: 1.62 MB / 4.782 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01425/18.27, allocations: 1.602 MB / 4.784 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02048/18.29, allocations: 6.581 MB / 4.79 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003902/18.29, allocations: 2.336 MB / 4.792 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.009659/18.3, allocations: 1.366 MB / 4.794 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003436/18.3, allocations: 1.304 MB / 4.795 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of SimCode: time 1.233e-06/18.3, allocations: 3.172 kB / 4.795 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.025/19.33, allocations: 157.1 MB / 4.948 GB, free: 50.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000293/19.33, allocations: 235.4 kB / 4.949 GB, free: 50.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.785/29.12, allocations: 0 / 4.949 GB, free: 50.62 MB / 0.7292 GB