Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.229/4.229, allocations: 460.5 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.766e-05, allocations: 6.672 kB / 0.5682 GB, free: 10.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2645, allocations: 106.2 MB / 0.6719 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.933/2.198, allocations: 456.3 MB / 1.118 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/2.198, allocations: 94.45 kB / 1.118 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 47.82/50.02, allocations: 8.46 GB / 9.578 GB, free: 76.77 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.807e-06/50.02, allocations: 0 / 9.578 GB, free: 76.77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.004771/50.03, allocations: 0.5128 MB / 9.578 GB, free: 76.62 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.07216/50.1, allocations: 14.15 MB / 9.592 GB, free: 70.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/50.1, allocations: 11.59 kB / 9.592 GB, free: 70.39 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006372/50.1, allocations: 1.055 MB / 9.593 GB, free: 70.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02008/50.12, allocations: 2.304 MB / 9.595 GB, free: 69.27 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1066/50.23, allocations: 23.22 MB / 9.618 GB, free: 66.33 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001496/50.23, allocations: 0.7144 MB / 9.619 GB, free: 66.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006886/50.24, allocations: 1.024 MB / 9.62 GB, free: 66.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05361/50.29, allocations: 16.45 MB / 9.636 GB, free: 64.33 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005161/50.29, allocations: 13.34 kB / 9.636 GB, free: 64.33 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004819/50.3, allocations: 355.7 kB / 9.636 GB, free: 64.33 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002738/50.3, allocations: 218 kB / 9.636 GB, free: 64.32 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05191/50.35, allocations: 19.28 MB / 9.655 GB, free: 64.25 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.2088/50.56, allocations: 79.19 MB / 9.732 GB, free: 17.75 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02763/50.59, allocations: 11.57 MB / 9.744 GB, free: 7.336 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02274/50.61, allocations: 9.064 MB / 9.753 GB, free: 15.54 MB / 1.167 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.28/51.89, allocations: 33.13 MB / 9.785 GB, free: 102.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02689/51.92, allocations: 9.049 MB / 9.794 GB, free: 102 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08512/52, allocations: 15.14 MB / 9.809 GB, free: 102 MB / 1.167 GB Notification: Performance of pre-optimization done (n=582): time 6.255e-05/52, allocations: 0 / 9.809 GB, free: 102 MB / 1.167 GB Notification: Performance of matching and sorting (n=812): time 1.458/53.46, allocations: 168.9 MB / 9.973 GB, free: 93.05 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007851/53.46, allocations: 2.527 MB / 9.976 GB, free: 90.05 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04683/53.51, allocations: 14.74 MB / 9.99 GB, free: 89.16 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.005362/53.51, allocations: 269.1 kB / 9.991 GB, free: 89.13 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01467/53.53, allocations: 7.903 MB / 9.998 GB, free: 87.76 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.007309/53.54, allocations: 2.824 MB / 10 GB, free: 86.32 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004872/53.54, allocations: 210.3 kB / 10 GB, free: 86.32 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001231/53.54, allocations: 0.7501 MB / 10 GB, free: 86 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03407/53.58, allocations: 9.491 MB / 10.01 GB, free: 85.97 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04259/53.62, allocations: 13.11 MB / 10.02 GB, free: 81.99 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0341/53.65, allocations: 10.87 MB / 10.03 GB, free: 81.64 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001324/53.65, allocations: 14.75 kB / 10.03 GB, free: 81.64 MB / 1.167 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 1.237/54.89, allocations: 128.1 MB / 10.16 GB, free: 25.24 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01027/54.9, allocations: 36.7 MB / 10.2 GB, free: 3.637 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006704/54.9, allocations: 119.5 kB / 10.2 GB, free: 3.523 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596/57.5, allocations: 146.9 MB / 10.34 GB, free: 123.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02688/57.53, allocations: 2.571 MB / 10.34 GB, free: 123.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2842/57.81, allocations: 73.19 MB / 10.41 GB, free: 116.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.036/57.85, allocations: 1.445 MB / 10.41 GB, free: 116.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006087/57.85, allocations: 0.9186 MB / 10.42 GB, free: 116.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/57.85, allocations: 3.438 kB / 10.42 GB, free: 116.1 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.24/59.09, allocations: 126.8 MB / 10.54 GB, free: 86.49 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006115/59.09, allocations: 118.1 kB / 10.54 GB, free: 86.38 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616/61.71, allocations: 147.3 MB / 10.68 GB, free: 146.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02323/61.73, allocations: 2.558 MB / 10.69 GB, free: 146.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3305/62.06, allocations: 77.02 MB / 10.76 GB, free: 142.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0352/62.1, allocations: 1.415 MB / 10.76 GB, free: 142.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00601/62.1, allocations: 0.8706 MB / 10.76 GB, free: 142.1 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1062): * Single equations (assignments): 982 * 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 {14 90,14 90} Notification: Performance of prepare postOptimizeDAE: time 0.01008/62.11, allocations: 0.723 MB / 10.76 GB, free: 142 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00942/62.12, allocations: 1.552 MB / 10.77 GB, free: 142 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3507/62.47, allocations: 49.15 MB / 10.81 GB, free: 141.3 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002035/62.47, allocations: 99.88 kB / 10.81 GB, free: 141.3 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001319/62.47, allocations: 29.69 kB / 10.81 GB, free: 141.3 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3145/62.79, allocations: 43.15 MB / 10.86 GB, free: 140.6 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3822/63.17, allocations: 67.52 MB / 10.92 GB, free: 136.4 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001459/63.17, allocations: 3.844 kB / 10.92 GB, free: 136.4 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01828/63.19, allocations: 1.715 MB / 10.92 GB, free: 136.4 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3331/63.52, allocations: 42.26 MB / 10.96 GB, free: 126 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003235/63.53, allocations: 341.9 kB / 10.96 GB, free: 125.9 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1051/63.63, allocations: 30.53 MB / 10.99 GB, free: 107.1 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/63.63, allocations: 5.156 kB / 10.99 GB, free: 107.1 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3374/63.97, allocations: 56.56 MB / 11.05 GB, free: 75.96 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0171/63.99, allocations: 3.624 MB / 11.05 GB, free: 73.78 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008714/63.99, allocations: 274.8 kB / 11.05 GB, free: 73.69 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0278/64.02, allocations: 1.216 MB / 11.06 GB, free: 73.05 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004387/64.03, allocations: 0.5928 MB / 11.06 GB, free: 72.75 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003044/64.03, allocations: 345.3 kB / 11.06 GB, free: 72.53 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03173/64.06, allocations: 11.26 MB / 11.07 GB, free: 66.11 MB / 1.229 GB Notification: Performance of sort global known variables: time 6.82e-07/64.06, allocations: 0 / 11.07 GB, free: 66.11 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0697/64.13, allocations: 8.777 MB / 11.08 GB, free: 58.44 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 (717): * Single equations (assignments): 693 * 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 {14 89,14 90} Notification: Performance of Backend phase and start with SimCode phase: time 1.563/65.69, allocations: 62.18 MB / 11.14 GB, free: 143.4 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1554/65.85, allocations: 41.09 MB / 11.18 GB, free: 140.2 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.174e-05/65.85, allocations: 11.44 kB / 11.18 GB, free: 140.2 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04594/65.9, allocations: 10.54 MB / 11.19 GB, free: 140 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06735/65.96, allocations: 7.767 MB / 11.19 GB, free: 139.8 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1194/66.08, allocations: 33.92 MB / 11.23 GB, free: 133.9 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02315/66.11, allocations: 9.443 MB / 11.24 GB, free: 132.8 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.07742/66.18, allocations: 8.941 MB / 11.25 GB, free: 132.6 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02869/66.21, allocations: 7.855 MB / 11.25 GB, free: 132.6 MB / 1.229 GB Notification: Performance of SimCode: time 2.084e-06/66.21, allocations: 0 / 11.25 GB, free: 132.6 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.764/69.98, allocations: 0.6449 GB / 11.9 GB, free: 57.77 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/69.98, allocations: 229.3 kB / 11.9 GB, free: 57.5 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.88/111.9, allocations: 0 / 11.9 GB, free: 57.5 MB / 1.245 GB