Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.345/4.345, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.771e-05, allocations: 4 kB / 0.5732 GB, free: 5.641 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2328, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.951/2.183, allocations: 456.4 MB / 1.124 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/2.184, allocations: 92.03 kB / 1.124 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 35.16/37.35, allocations: 6.241 GB / 7.365 GB, free: 79.77 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.345e-06/37.35, allocations: 3.562 kB / 7.365 GB, free: 79.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004779/37.35, allocations: 0.5211 MB / 7.366 GB, free: 79.66 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2061 * Number of variables: 2061 Notification: Performance of Generate backend data structure: time 0.07252/37.43, allocations: 14.16 MB / 7.379 GB, free: 73.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/37.43, allocations: 7.75 kB / 7.379 GB, free: 73.48 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006304/37.43, allocations: 1.055 MB / 7.381 GB, free: 73.39 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/37.45, allocations: 2.313 MB / 7.383 GB, free: 72.36 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1093/37.56, allocations: 23.31 MB / 7.406 GB, free: 69.42 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00135/37.56, allocations: 0.7239 MB / 7.406 GB, free: 69.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00673/37.57, allocations: 1.035 MB / 7.407 GB, free: 69.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05282/37.62, allocations: 16.62 MB / 7.423 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005975/37.62, allocations: 7.531 kB / 7.423 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004928/37.63, allocations: 366.4 kB / 7.424 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003218/37.63, allocations: 217.4 kB / 7.424 GB, free: 67.42 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05051/37.68, allocations: 19.42 MB / 7.443 GB, free: 67.36 MB / 1.151 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.2254/37.9, allocations: 78.46 MB / 7.52 GB, free: 27.22 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02876/37.93, allocations: 12.24 MB / 7.532 GB, free: 19.39 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02094/37.95, allocations: 9.46 MB / 7.541 GB, free: 10.84 MB / 1.151 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 evalFunc (simulation): time 1.306/39.26, allocations: 34.02 MB / 7.574 GB, free: 109.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02848/39.29, allocations: 9.288 MB / 7.583 GB, free: 109 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08881/39.38, allocations: 15.15 MB / 7.598 GB, free: 109 MB / 1.167 GB Notification: Performance of pre-optimization done (n=606): time 5.902e-05/39.38, allocations: 0 / 7.598 GB, free: 109 MB / 1.167 GB Notification: Performance of matching and sorting (n=860): time 1.498/40.88, allocations: 173.4 MB / 7.767 GB, free: 98.95 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008332/40.88, allocations: 2.535 MB / 7.77 GB, free: 95.94 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04621/40.92, allocations: 14.7 MB / 7.784 GB, free: 95.11 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005368/40.93, allocations: 271.3 kB / 7.784 GB, free: 95.08 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01462/40.94, allocations: 7.887 MB / 7.792 GB, free: 93.66 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007525/40.95, allocations: 2.985 MB / 7.795 GB, free: 92.14 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00483/40.95, allocations: 218.5 kB / 7.795 GB, free: 92.13 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001164/40.96, allocations: 0.7533 MB / 7.796 GB, free: 91.81 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02803/40.98, allocations: 9.707 MB / 7.805 GB, free: 91.79 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03312/41.02, allocations: 13.38 MB / 7.818 GB, free: 87.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03146/41.05, allocations: 11.08 MB / 7.829 GB, free: 87.46 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001182/41.05, allocations: 14.5 kB / 7.829 GB, free: 87.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 1.288/42.34, allocations: 129.6 MB / 7.956 GB, free: 28.59 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.008635/42.35, allocations: 32.97 MB / 7.988 GB, free: 10.07 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006979/42.35, allocations: 113.6 kB / 7.988 GB, free: 9.957 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.676/45.02, allocations: 151.8 MB / 8.136 GB, free: 126.3 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02689/45.05, allocations: 2.502 MB / 8.139 GB, free: 126.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2938/45.34, allocations: 75.89 MB / 8.213 GB, free: 119.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03768/45.38, allocations: 1.51 MB / 8.214 GB, free: 119.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006621/45.39, allocations: 0.9099 MB / 8.215 GB, free: 119.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/45.39, allocations: 3.156 kB / 8.215 GB, free: 119.2 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.278/46.67, allocations: 128.1 MB / 8.34 GB, free: 83.89 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006147/46.67, allocations: 110.6 kB / 8.341 GB, free: 83.79 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.671/49.34, allocations: 152.7 MB / 8.49 GB, free: 148.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02317/49.36, allocations: 2.479 MB / 8.492 GB, free: 148.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3292/49.69, allocations: 82.55 MB / 8.573 GB, free: 144.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0375/49.73, allocations: 1.486 MB / 8.574 GB, free: 144.7 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006127/49.73, allocations: 0.866 MB / 8.575 GB, free: 144.7 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (990): * Single equations (assignments): 910 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {33 119,33 119} Notification: Performance of prepare postOptimizeDAE: time 0.01023/49.74, allocations: 0.729 MB / 8.576 GB, free: 144.6 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009853/49.75, allocations: 1.562 MB / 8.577 GB, free: 144.6 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4138/50.17, allocations: 50.98 MB / 8.627 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002445/50.17, allocations: 98.56 kB / 8.627 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001344/50.17, allocations: 30.44 kB / 8.627 GB, free: 143.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3308/50.5, allocations: 44.82 MB / 8.671 GB, free: 142.9 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4246/50.92, allocations: 70.15 MB / 8.739 GB, free: 138.3 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001617/50.92, allocations: 3.781 kB / 8.739 GB, free: 138.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01823/50.94, allocations: 1.69 MB / 8.741 GB, free: 138.3 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3451/51.29, allocations: 44.73 MB / 8.785 GB, free: 114.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003083/51.29, allocations: 349.5 kB / 8.785 GB, free: 114.4 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1128/51.4, allocations: 33.11 MB / 8.817 GB, free: 94.12 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/51.4, allocations: 2.75 kB / 8.817 GB, free: 94.12 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3556/51.76, allocations: 58.69 MB / 8.875 GB, free: 60.89 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0172/51.78, allocations: 3.723 MB / 8.878 GB, free: 57.76 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008695/51.78, allocations: 287.6 kB / 8.879 GB, free: 57.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03028/51.82, allocations: 1.303 MB / 8.88 GB, free: 56.68 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004543/51.82, allocations: 0.5976 MB / 8.88 GB, free: 56.32 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002833/51.82, allocations: 362.6 kB / 8.881 GB, free: 56.01 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03046/51.85, allocations: 11.24 MB / 8.892 GB, free: 46.23 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.253e-06/51.85, allocations: 0 / 8.892 GB, free: 46.23 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06495/51.92, allocations: 8.8 MB / 8.9 GB, free: 37.73 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.vol.dynBal.U,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.vol.dynBal.U,valNorth.filter.x[1],valNorth.filter.x[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (669): * Single equations (assignments): 645 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {33 118,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 1.608/53.53, allocations: 64.05 MB / 8.963 GB, free: 153.6 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1533/53.68, allocations: 43.06 MB / 9.005 GB, free: 150.3 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.376e-05/53.68, allocations: 10.56 kB / 9.005 GB, free: 150.3 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03985/53.72, allocations: 11.38 MB / 9.016 GB, free: 149.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07089/53.79, allocations: 7.792 MB / 9.024 GB, free: 149.8 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1292/53.92, allocations: 34.29 MB / 9.057 GB, free: 143.9 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02453/53.94, allocations: 9.509 MB / 9.066 GB, free: 142.7 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.06294/54.01, allocations: 8.608 MB / 9.075 GB, free: 142.5 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02039/54.03, allocations: 7.842 MB / 9.083 GB, free: 142.5 MB / 1.229 GB Notification: Performance of SimCode: time 2.204e-06/54.03, allocations: 0 / 9.083 GB, free: 142.5 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.475/58.5, allocations: 0.6628 GB / 9.745 GB, free: 4.27 MB / 1.229 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/58.5, allocations: 223.5 kB / 9.746 GB, free: 4.039 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.76/100.3, allocations: 4 kB / 9.746 GB, free: 4.035 MB / 1.229 GB