Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.131/3.131, allocations: 343.8 MB / 355.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.038e-05, allocations: 7.938 kB / 436.6 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1608, allocations: 77.74 MB / 0.5023 GB, free: 4.5 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.52/1.681, allocations: 428.9 MB / 0.9212 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.681, allocations: 93.5 kB / 0.9213 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 46.95/48.63, allocations: 8.38 GB / 9.301 GB, free: 67.82 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.514e-06/48.63, allocations: 0 / 9.301 GB, free: 67.82 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.004834/48.63, allocations: 0.5162 MB / 9.302 GB, free: 67.68 MB / 0.9323 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.07059/48.7, allocations: 14.02 MB / 9.315 GB, free: 61.62 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/48.7, allocations: 8.125 kB / 9.315 GB, free: 61.62 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006107/48.71, allocations: 1.041 MB / 9.316 GB, free: 61.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02168/48.73, allocations: 2.447 MB / 9.319 GB, free: 60.51 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1071/48.84, allocations: 23.34 MB / 9.341 GB, free: 57.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001347/48.84, allocations: 0.7075 MB / 9.342 GB, free: 57.59 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006667/48.85, allocations: 1.011 MB / 9.343 GB, free: 57.57 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05334/48.9, allocations: 16.31 MB / 9.359 GB, free: 55.53 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006885/48.9, allocations: 11.78 kB / 9.359 GB, free: 55.52 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005204/48.91, allocations: 352.8 kB / 9.359 GB, free: 55.26 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002386/48.91, allocations: 211.9 kB / 9.36 GB, free: 55.26 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04893/48.96, allocations: 19.22 MB / 9.378 GB, free: 40.87 MB / 0.9323 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 1.174/50.13, allocations: 78.88 MB / 9.455 GB, free: 77.48 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03075/50.16, allocations: 11.56 MB / 9.467 GB, free: 77.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02119/50.18, allocations: 8.943 MB / 9.475 GB, free: 77.1 MB / 0.948 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.1121/50.29, allocations: 33.09 MB / 9.508 GB, free: 68.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02361/50.32, allocations: 9.006 MB / 9.517 GB, free: 68.8 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08426/50.4, allocations: 15.15 MB / 9.531 GB, free: 68.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=582): time 5.131e-05/50.4, allocations: 2.25 kB / 9.531 GB, free: 68.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=812): time 1.489/51.89, allocations: 169 MB / 9.696 GB, free: 59.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007348/51.89, allocations: 2.529 MB / 9.699 GB, free: 56.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04409/51.94, allocations: 14.67 MB / 9.713 GB, free: 52.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005103/51.94, allocations: 261 kB / 9.713 GB, free: 52.01 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01385/51.95, allocations: 7.906 MB / 9.721 GB, free: 49.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006813/51.96, allocations: 2.82 MB / 9.724 GB, free: 47.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004568/51.97, allocations: 211 kB / 9.724 GB, free: 47.79 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001149/51.97, allocations: 0.7481 MB / 9.725 GB, free: 47.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02561/51.99, allocations: 9.487 MB / 9.734 GB, free: 42.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02969/52.02, allocations: 13.12 MB / 9.747 GB, free: 33.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02906/52.05, allocations: 10.87 MB / 9.758 GB, free: 25.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/52.05, allocations: 16 kB / 9.758 GB, free: 25.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=1424) (initialization): time 2.272/54.32, allocations: 128.1 MB / 9.883 GB, free: 91.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.006938/54.33, allocations: 36.93 MB / 9.919 GB, free: 53.64 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005692/54.33, allocations: 119.5 kB / 9.919 GB, free: 53.64 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442/55.77, allocations: 147.8 MB / 10.06 GB, free: 31.54 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02663/55.8, allocations: 2.583 MB / 10.07 GB, free: 29.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2889/56.09, allocations: 73.6 MB / 10.14 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03632/56.13, allocations: 1.437 MB / 10.14 GB, free: 4.086 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006212/56.13, allocations: 0.9165 MB / 10.14 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/56.13, allocations: 4 kB / 10.14 GB, free: 3.254 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.261/58.39, allocations: 126.8 MB / 10.26 GB, free: 131.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006217/58.39, allocations: 119 kB / 10.26 GB, free: 131.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358/59.75, allocations: 147.5 MB / 10.41 GB, free: 106.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02351/59.78, allocations: 2.564 MB / 10.41 GB, free: 103.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2908/60.07, allocations: 77.36 MB / 10.49 GB, free: 46.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03487/60.1, allocations: 1.411 MB / 10.49 GB, free: 45.53 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005938/60.11, allocations: 0.8732 MB / 10.49 GB, free: 44.74 MB / 1.01 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 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.009603/60.12, allocations: 0.7178 MB / 10.49 GB, free: 44.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009062/60.13, allocations: 1.543 MB / 10.49 GB, free: 43.75 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311/61.44, allocations: 49.18 MB / 10.54 GB, free: 119.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002195/61.44, allocations: 94.47 kB / 10.54 GB, free: 119.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001175/61.44, allocations: 30.22 kB / 10.54 GB, free: 119.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3224/61.76, allocations: 43.19 MB / 10.58 GB, free: 118.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4495/62.21, allocations: 67.38 MB / 10.65 GB, free: 114.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001244/62.21, allocations: 3.594 kB / 10.65 GB, free: 114.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01998/62.23, allocations: 1.721 MB / 10.65 GB, free: 114.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4119/62.64, allocations: 42.76 MB / 10.69 GB, free: 114.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003053/62.64, allocations: 339.8 kB / 10.69 GB, free: 114.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1058/62.75, allocations: 30.8 MB / 10.72 GB, free: 107.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/62.75, allocations: 5.312 kB / 10.72 GB, free: 107.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3457/63.1, allocations: 56.55 MB / 10.78 GB, free: 103.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01666/63.11, allocations: 3.55 MB / 10.78 GB, free: 101.8 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008886/63.12, allocations: 273.9 kB / 10.78 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02756/63.15, allocations: 1.214 MB / 10.78 GB, free: 101.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004319/63.15, allocations: 0.5962 MB / 10.78 GB, free: 100.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003013/63.16, allocations: 324 kB / 10.78 GB, free: 100.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0314/63.19, allocations: 11.2 MB / 10.79 GB, free: 94.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.016e-06/63.19, allocations: 0 / 10.79 GB, free: 94.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.06763/63.26, allocations: 8.764 MB / 10.8 GB, free: 86.59 MB / 1.01 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 {39 64,39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.3575/63.61, allocations: 62.19 MB / 10.86 GB, free: 50.26 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 1.096/64.71, allocations: 42.34 MB / 10.9 GB, free: 126.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.661e-05/64.71, allocations: 9.188 kB / 10.9 GB, free: 126.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.04219/64.75, allocations: 11.05 MB / 10.91 GB, free: 126.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07383/64.83, allocations: 7.769 MB / 10.92 GB, free: 126.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1214/64.95, allocations: 33.76 MB / 10.95 GB, free: 120.6 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02236/64.97, allocations: 9.365 MB / 10.96 GB, free: 119.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.06857/65.04, allocations: 9.031 MB / 10.97 GB, free: 119.2 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02124/65.06, allocations: 7.877 MB / 10.98 GB, free: 119.2 MB / 1.01 GB Notification: Performance of SimCode: time 1.513e-06/65.06, allocations: 0 / 10.98 GB, free: 119.2 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.456/68.51, allocations: 0.6416 GB / 11.62 GB, free: 4.102 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003019/68.52, allocations: 236.5 kB / 11.62 GB, free: 3.789 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 41/109.5, allocations: 8 kB / 11.62 GB, free: 3.781 MB / 1.057 GB