Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.881/4.881, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.673e-05, allocations: 4 kB / 0.4945 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.679/0.6791, allocations: 92.69 MB / 0.585 GB, free: 2.32 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.978/8.657, allocations: 2.181 GB / 2.766 GB, free: 108 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/8.658, allocations: 89.33 kB / 2.766 GB, free: 107.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 13.34/22, allocations: 1.966 GB / 4.732 GB, free: 67.39 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.216e-06/22, allocations: 0 / 4.732 GB, free: 67.39 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0006401/22, allocations: 107.5 kB / 4.733 GB, free: 67.39 MB / 0.8386 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.0182/22.02, allocations: 3.819 MB / 4.736 GB, free: 66.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/22.02, allocations: 10.03 kB / 4.736 GB, free: 66.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01224/22.03, allocations: 0.9581 MB / 4.737 GB, free: 65.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01202/22.04, allocations: 2.599 MB / 4.74 GB, free: 65.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/22.04, allocations: 196.7 kB / 4.74 GB, free: 65.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001793/22.04, allocations: 203.3 kB / 4.74 GB, free: 65.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0129/22.05, allocations: 2.832 MB / 4.743 GB, free: 65.39 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/22.07, allocations: 3.181 MB / 4.746 GB, free: 65.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001567/22.07, allocations: 7.188 kB / 4.746 GB, free: 65.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009731/22.07, allocations: 2.656 kB / 4.746 GB, free: 65.12 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/22.07, allocations: 125.7 kB / 4.746 GB, free: 65.11 MB / 0.8386 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.04112/22.11, allocations: 15.3 MB / 4.761 GB, free: 56.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004883/22.12, allocations: 1.659 MB / 4.763 GB, free: 56.85 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003055/22.12, allocations: 1.033 MB / 4.764 GB, free: 56.8 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003122/22.12, allocations: 61.39 kB / 4.764 GB, free: 56.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.762e-05/22.12, allocations: 66.33 kB / 4.764 GB, free: 56.76 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=192): time 6.612e-06/22.12, allocations: 0 / 4.764 GB, free: 56.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=192): time 0.01105/22.13, allocations: 2.063 MB / 4.766 GB, free: 56.54 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.841e-05/22.13, allocations: 153.4 kB / 4.766 GB, free: 56.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004768/22.14, allocations: 1.567 MB / 4.768 GB, free: 56.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0008491/22.14, allocations: 33.05 kB / 4.768 GB, free: 56.13 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001907/22.14, allocations: 1.588 MB / 4.769 GB, free: 55.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/22.14, allocations: 0.6554 MB / 4.77 GB, free: 55.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003818/22.14, allocations: 2.906 kB / 4.77 GB, free: 55.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000243/22.14, allocations: 405.6 kB / 4.77 GB, free: 54.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/22.14, allocations: 0.8344 MB / 4.771 GB, free: 54.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003684/22.15, allocations: 1.588 MB / 4.772 GB, free: 53.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/22.15, allocations: 1.125 MB / 4.774 GB, free: 53.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-05/22.15, allocations: 5.562 kB / 4.774 GB, free: 53.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01006/22.16, allocations: 2.598 MB / 4.776 GB, free: 53.59 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002008/22.16, allocations: 7.774 MB / 4.784 GB, free: 45.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.335e-05/22.16, allocations: 17.81 kB / 4.784 GB, free: 45.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.464e-05/22.16, allocations: 33.75 kB / 4.784 GB, free: 45.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/22.18, allocations: 1.146 MB / 4.785 GB, free: 45.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008368/22.19, allocations: 4.528 MB / 4.789 GB, free: 41.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00947/22.2, allocations: 401.4 kB / 4.79 GB, free: 41.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000823/22.2, allocations: 111.2 kB / 4.79 GB, free: 41.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/22.2, allocations: 6.75 kB / 4.79 GB, free: 41.07 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008826/22.21, allocations: 2.229 MB / 4.792 GB, free: 41.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/22.21, allocations: 20.41 kB / 4.792 GB, free: 41.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.769e-05/22.21, allocations: 33.03 kB / 4.792 GB, free: 41.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005663/22.22, allocations: 0.5381 MB / 4.793 GB, free: 41.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.476e-05/22.22, allocations: 46.62 kB / 4.793 GB, free: 41.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007597/22.23, allocations: 328 kB / 4.793 GB, free: 40.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007572/22.23, allocations: 107 kB / 4.793 GB, free: 40.93 MB / 0.8386 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 (303): * Single equations (assignments): 293 * 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.00108/22.23, allocations: 186.2 kB / 4.793 GB, free: 40.81 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006587/22.23, allocations: 1.861 MB / 4.795 GB, free: 40.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/22.24, allocations: 277.3 kB / 4.795 GB, free: 40.47 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/22.24, allocations: 278.9 kB / 4.796 GB, free: 40.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.581e-05/22.24, allocations: 20.97 kB / 4.796 GB, free: 40.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.669e-05/22.24, allocations: 0 / 4.796 GB, free: 40.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005124/22.24, allocations: 1.796 MB / 4.797 GB, free: 40.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01739/22.26, allocations: 5.17 MB / 4.802 GB, free: 39.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/22.26, allocations: 4.875 kB / 4.802 GB, free: 39.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01748/22.28, allocations: 1.177 MB / 4.804 GB, free: 39.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.347e-05/22.28, allocations: 16.22 kB / 4.804 GB, free: 39.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004712/22.28, allocations: 31.16 kB / 4.804 GB, free: 39.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02525/22.3, allocations: 9.709 MB / 4.813 GB, free: 46.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/22.3, allocations: 8.406 kB / 4.813 GB, free: 46.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009527/22.31, allocations: 3.518 MB / 4.816 GB, free: 45.85 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003258/22.32, allocations: 0.6131 MB / 4.817 GB, free: 45.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/22.32, allocations: 13.06 kB / 4.817 GB, free: 45.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007375/22.32, allocations: 269.9 kB / 4.817 GB, free: 45.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008443/22.33, allocations: 130.7 kB / 4.817 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004793/22.33, allocations: 95.75 kB / 4.818 GB, free: 45.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003296/22.33, allocations: 1.151 MB / 4.819 GB, free: 45.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.485e-06/22.33, allocations: 0 / 4.819 GB, free: 45.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01185/22.34, allocations: 2.186 MB / 4.821 GB, free: 45.12 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.02199/22.36, allocations: 9.943 MB / 4.831 GB, free: 40.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02332/22.39, allocations: 4.256 MB / 4.835 GB, free: 40.53 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.62e-05/22.39, allocations: 9.469 kB / 4.835 GB, free: 40.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02217/22.41, allocations: 1.591 MB / 4.836 GB, free: 40.52 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04508/22.45, allocations: 1.477 MB / 4.838 GB, free: 40.48 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/22.49, allocations: 6.528 MB / 4.844 GB, free: 39.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/22.49, allocations: 2.38 MB / 4.846 GB, free: 38.28 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.01093/22.5, allocations: 1.311 MB / 4.848 GB, free: 38.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003579/22.5, allocations: 1.338 MB / 4.849 GB, free: 38.24 MB / 0.8542 GB Notification: Performance of SimCode: time 2.004e-06/22.5, allocations: 2.516 kB / 4.849 GB, free: 38.24 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.369/22.87, allocations: 111.4 MB / 4.958 GB, free: 18.55 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002564/22.87, allocations: 183.7 kB / 4.958 GB, free: 18.36 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.758/32.63, allocations: 0 / 4.958 GB, free: 18.36 MB / 0.8542 GB