Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.172/4.172, allocations: 432.8 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.26e-05/4.274e-05, allocations: 4.656 kB / 0.5338 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 98.72 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.5, allocations: 447.7 MB / 1.067 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.501, allocations: 92.48 kB / 1.067 GB, free: 1.402 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 53.01/54.51, allocations: 9.139 GB / 10.21 GB, free: 75.51 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.803e-06/54.51, allocations: 0 / 10.21 GB, free: 75.51 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.005031/54.51, allocations: 0.5049 MB / 10.21 GB, free: 75.4 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.07562/54.59, allocations: 14.02 MB / 10.22 GB, free: 69.46 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/54.59, allocations: 11 kB / 10.22 GB, free: 69.46 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006637/54.59, allocations: 1.04 MB / 10.22 GB, free: 69.38 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02355/54.62, allocations: 2.446 MB / 10.22 GB, free: 68.37 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1102/54.73, allocations: 23.36 MB / 10.25 GB, free: 65.74 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/54.73, allocations: 0.6988 MB / 10.25 GB, free: 65.73 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006607/54.74, allocations: 1.007 MB / 10.25 GB, free: 65.71 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05373/54.79, allocations: 16.34 MB / 10.26 GB, free: 63.93 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005904/54.79, allocations: 12.91 kB / 10.26 GB, free: 63.93 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005046/54.8, allocations: 360.9 kB / 10.27 GB, free: 63.93 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003249/54.8, allocations: 212.5 kB / 10.27 GB, free: 63.93 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05298/54.85, allocations: 19.18 MB / 10.28 GB, free: 63.89 MB / 1.104 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.2121/55.06, allocations: 79.28 MB / 10.36 GB, free: 29.56 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02805/55.09, allocations: 11.31 MB / 10.37 GB, free: 29.15 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02238/55.11, allocations: 9.259 MB / 10.38 GB, free: 29.05 MB / 1.104 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 0.1126/55.22, allocations: 32.86 MB / 10.41 GB, free: 20.26 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02388/55.25, allocations: 8.996 MB / 10.42 GB, free: 18.8 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08246/55.33, allocations: 15.14 MB / 10.44 GB, free: 17.25 MB / 1.104 GB Notification: Performance of pre-optimization done (n=560): time 4.956e-05/55.33, allocations: 0 / 10.44 GB, free: 17.25 MB / 1.104 GB Notification: Performance of matching and sorting (n=771): time 2.592/57.92, allocations: 165.9 MB / 10.6 GB, free: 107.9 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007426/57.92, allocations: 2.526 MB / 10.6 GB, free: 104.9 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04645/57.97, allocations: 14.67 MB / 10.62 GB, free: 104.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.004978/57.98, allocations: 263.5 kB / 10.62 GB, free: 104.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.01463/57.99, allocations: 7.92 MB / 10.62 GB, free: 103.7 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.006719/58, allocations: 2.677 MB / 10.63 GB, free: 103.2 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00468/58, allocations: 203.1 kB / 10.63 GB, free: 103.2 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.001266/58, allocations: 0.7444 MB / 10.63 GB, free: 102.9 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02663/58.03, allocations: 9.257 MB / 10.64 GB, free: 102.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03042/58.06, allocations: 12.85 MB / 10.65 GB, free: 99 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03027/58.09, allocations: 10.73 MB / 10.66 GB, free: 98.77 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/58.09, allocations: 14.75 kB / 10.66 GB, free: 98.77 MB / 1.135 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.262/59.35, allocations: 127.3 MB / 10.78 GB, free: 94.98 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.008398/59.36, allocations: 38.52 MB / 10.82 GB, free: 55.92 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007545/59.36, allocations: 117.3 kB / 10.82 GB, free: 55.92 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528/61.89, allocations: 146 MB / 10.96 GB, free: 149.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02596/61.92, allocations: 2.386 MB / 10.97 GB, free: 149.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2811/62.2, allocations: 71.09 MB / 11.04 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03475/62.23, allocations: 1.252 MB / 11.04 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006213/62.24, allocations: 0.9015 MB / 11.04 GB, free: 143.7 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/62.24, allocations: 5.031 kB / 11.04 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.278/63.52, allocations: 126.1 MB / 11.16 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006855/63.52, allocations: 124.4 kB / 11.16 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359/64.88, allocations: 146.4 MB / 11.3 GB, free: 80.25 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0216/64.9, allocations: 2.375 MB / 11.31 GB, free: 78.06 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2867/65.18, allocations: 75.38 MB / 11.38 GB, free: 22.34 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03266/65.22, allocations: 1.227 MB / 11.38 GB, free: 21.36 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005452/65.22, allocations: 0.8591 MB / 11.38 GB, free: 20.58 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$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 (1070): * Single equations (assignments): 992 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 80,5 80} Notification: Performance of prepare postOptimizeDAE: time 0.008953/65.23, allocations: 0.7232 MB / 11.38 GB, free: 20.3 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008269/65.24, allocations: 1.538 MB / 11.38 GB, free: 19.59 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.525/66.77, allocations: 48.06 MB / 11.43 GB, free: 147.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002232/66.77, allocations: 94.17 kB / 11.43 GB, free: 147.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00018/66.77, allocations: 30.16 kB / 11.43 GB, free: 147.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3204/67.09, allocations: 42.26 MB / 11.47 GB, free: 146.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3864/67.47, allocations: 65.02 MB / 11.54 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001502/67.47, allocations: 2.906 kB / 11.54 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01595/67.49, allocations: 1.486 MB / 11.54 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3428/67.83, allocations: 41.7 MB / 11.58 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003301/67.84, allocations: 322.5 kB / 11.58 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1078/67.94, allocations: 28.5 MB / 11.61 GB, free: 136.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/67.94, allocations: 1.969 kB / 11.61 GB, free: 136.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3527/68.3, allocations: 55.12 MB / 11.66 GB, free: 129.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01603/68.31, allocations: 3.48 MB / 11.66 GB, free: 128.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008445/68.32, allocations: 265.7 kB / 11.66 GB, free: 128.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02549/68.35, allocations: 1.006 MB / 11.67 GB, free: 127.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004237/68.35, allocations: 0.5607 MB / 11.67 GB, free: 127.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002967/68.35, allocations: 321.9 kB / 11.67 GB, free: 127 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.03161/68.38, allocations: 11.2 MB / 11.68 GB, free: 120.7 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.953e-06/68.38, allocations: 0 / 11.68 GB, free: 120.7 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.07737/68.46, allocations: 8.684 MB / 11.69 GB, free: 113.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (704): * Single equations (assignments): 682 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {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 {5 79,5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.3586/68.82, allocations: 60.98 MB / 11.74 GB, free: 77.56 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.1272/68.95, allocations: 39.92 MB / 11.78 GB, free: 52.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/68.95, allocations: 10.62 kB / 11.78 GB, free: 52.49 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0318/68.98, allocations: 10.07 MB / 11.79 GB, free: 43.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0632/69.04, allocations: 7.634 MB / 11.8 GB, free: 38.25 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.276/71.32, allocations: 32.94 MB / 11.83 GB, free: 129 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02098/71.34, allocations: 9.315 MB / 11.84 GB, free: 127.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.06123/71.4, allocations: 8.912 MB / 11.85 GB, free: 127.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01978/71.42, allocations: 7.794 MB / 11.86 GB, free: 127.7 MB / 1.182 GB Notification: Performance of SimCode: time 2.554e-06/71.42, allocations: 2.531 kB / 11.86 GB, free: 127.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.633/74.05, allocations: 0.6362 GB / 12.5 GB, free: 146.3 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/74.05, allocations: 230.8 kB / 12.5 GB, free: 146 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.59/115.6, allocations: 0 / 12.5 GB, free: 146 MB / 1.214 GB