Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.874/2.874, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.531e-05/4.545e-05, allocations: 4.625 kB / 370.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 67.01 MB / 437.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.125/7.276, allocations: 2.22 GB / 2.647 GB, free: 95.13 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/7.276, allocations: 91.75 kB / 2.648 GB, free: 95.09 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 11.14/18.42, allocations: 1.982 GB / 4.629 GB, free: 46.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.743e-06/18.42, allocations: 3.844 kB / 4.629 GB, free: 46.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000529/18.42, allocations: 96.64 kB / 4.629 GB, free: 46.1 MB / 0.6511 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.01425/18.43, allocations: 3.497 MB / 4.633 GB, free: 44.86 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/18.43, allocations: 10.59 kB / 4.633 GB, free: 44.86 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001715/18.43, allocations: 388.5 kB / 4.633 GB, free: 44.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/18.44, allocations: 0.9278 MB / 4.634 GB, free: 44.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01224/18.45, allocations: 2.864 MB / 4.637 GB, free: 44.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/18.45, allocations: 287.5 kB / 4.637 GB, free: 44.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/18.46, allocations: 304.3 kB / 4.637 GB, free: 44.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/18.47, allocations: 3.137 MB / 4.64 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/18.47, allocations: 2.438 kB / 4.64 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007006/18.47, allocations: 118.2 kB / 4.641 GB, free: 43.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001477/18.47, allocations: 105.2 kB / 4.641 GB, free: 43.78 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00938/18.48, allocations: 2.547 MB / 4.643 GB, free: 43.77 MB / 0.6511 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.02834/18.51, allocations: 13.25 MB / 4.656 GB, free: 36.56 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004154/18.51, allocations: 1.704 MB / 4.658 GB, free: 36.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/18.51, allocations: 1.044 MB / 4.659 GB, free: 36.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/18.51, allocations: 331.9 kB / 4.659 GB, free: 36.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.405e-05/18.51, allocations: 68.7 kB / 4.659 GB, free: 36.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=182): time 6.933e-06/18.51, allocations: 0 / 4.659 GB, free: 36.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=182): time 0.006273/18.52, allocations: 1.927 MB / 4.661 GB, free: 35.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/18.52, allocations: 69.34 kB / 4.661 GB, free: 35.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/18.53, allocations: 1.696 MB / 4.663 GB, free: 35.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0006651/18.53, allocations: 73.75 kB / 4.663 GB, free: 35.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/18.53, allocations: 1.413 MB / 4.664 GB, free: 35.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001091/18.53, allocations: 0.647 MB / 4.665 GB, free: 34.68 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/18.53, allocations: 37.25 kB / 4.665 GB, free: 34.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001555/18.53, allocations: 388.1 kB / 4.665 GB, free: 34.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/18.53, allocations: 0.7432 MB / 4.666 GB, free: 34.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/18.53, allocations: 1.42 MB / 4.667 GB, free: 33.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/18.54, allocations: 1.018 MB / 4.668 GB, free: 33.58 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/18.54, allocations: 3.5 kB / 4.668 GB, free: 33.58 MB / 0.6511 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.007034/18.54, allocations: 2.346 MB / 4.671 GB, free: 33.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001354/18.54, allocations: 5.518 MB / 4.676 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/18.54, allocations: 16.95 kB / 4.676 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-05/18.54, allocations: 22.81 kB / 4.676 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004892/18.55, allocations: 0.5192 MB / 4.677 GB, free: 27.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/18.55, allocations: 4.15 MB / 4.681 GB, free: 23.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006159/18.56, allocations: 377.9 kB / 4.681 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/18.56, allocations: 91.69 kB / 4.681 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/18.56, allocations: 8.188 kB / 4.681 GB, free: 23.32 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005235/18.56, allocations: 2.083 MB / 4.683 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/18.56, allocations: 11.91 kB / 4.683 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.936e-05/18.56, allocations: 25.31 kB / 4.683 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/18.57, allocations: 471.7 kB / 4.684 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.652e-05/18.57, allocations: 37.05 kB / 4.684 GB, free: 23.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/18.57, allocations: 356.1 kB / 4.684 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/18.57, allocations: 88.3 kB / 4.684 GB, free: 23.18 MB / 0.6511 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.0007931/18.57, allocations: 238.6 kB / 4.684 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009434/18.58, allocations: 272.8 kB / 4.685 GB, free: 22.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/18.58, allocations: 2.012 MB / 4.687 GB, free: 22.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.239e-05/18.58, allocations: 18.91 kB / 4.687 GB, free: 22.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/18.58, allocations: 0 / 4.687 GB, free: 22.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00376/18.58, allocations: 1.804 MB / 4.688 GB, free: 22.51 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/18.6, allocations: 5.085 MB / 4.693 GB, free: 21.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/18.6, allocations: 3.438 kB / 4.693 GB, free: 21.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004859/18.6, allocations: 0.5054 MB / 4.694 GB, free: 21.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.5e-05/18.6, allocations: 7.906 kB / 4.694 GB, free: 21.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003775/18.6, allocations: 60.94 kB / 4.694 GB, free: 21.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/18.61, allocations: 4.123 MB / 4.698 GB, free: 33.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/18.61, allocations: 3.812 kB / 4.698 GB, free: 33.88 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/18.62, allocations: 3.464 MB / 4.701 GB, free: 33.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/18.62, allocations: 0.591 MB / 4.702 GB, free: 32.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009781/18.62, allocations: 38.91 kB / 4.702 GB, free: 32.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005343/18.62, allocations: 268.4 kB / 4.702 GB, free: 32.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005085/18.62, allocations: 113.1 kB / 4.702 GB, free: 32.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/18.63, allocations: 76.27 kB / 4.702 GB, free: 32.84 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003266/18.63, allocations: 1.297 MB / 4.704 GB, free: 32.68 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.61e-07/18.63, allocations: 0 / 4.704 GB, free: 32.68 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.009685/18.64, allocations: 2.158 MB / 4.706 GB, free: 32.43 MB / 0.6667 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.0176/18.66, allocations: 9.527 MB / 4.715 GB, free: 28.12 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009465/18.67, allocations: 3.12 MB / 4.718 GB, free: 28.07 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.688e-05/18.67, allocations: 4.531 kB / 4.718 GB, free: 28.07 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002982/18.67, allocations: 0.9618 MB / 4.719 GB, free: 28.06 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0143/18.68, allocations: 1.562 MB / 4.721 GB, free: 28.02 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/18.7, allocations: 6.394 MB / 4.727 GB, free: 26.64 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/18.71, allocations: 2.266 MB / 4.729 GB, free: 25.88 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.009092/18.72, allocations: 1.336 MB / 4.73 GB, free: 25.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002898/18.72, allocations: 1.225 MB / 4.731 GB, free: 25.85 MB / 0.6667 GB Notification: Performance of SimCode: time 1.332e-06/18.72, allocations: 0 / 4.731 GB, free: 25.85 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/19.79, allocations: 151.7 MB / 4.88 GB, free: 80.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/19.79, allocations: 219.7 kB / 4.88 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/30.31, allocations: 0 / 4.88 GB, free: 80.05 MB / 0.6823 GB