Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.101/3.101, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.152e-05, allocations: 7.984 kB / 436.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1639, allocations: 77.72 MB / 0.5023 GB, free: 4.496 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.468/1.632, allocations: 429.2 MB / 0.9215 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.632, allocations: 93.52 kB / 0.9216 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 51.19/52.82, allocations: 9.139 GB / 10.06 GB, free: 40.35 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.044e-06/52.82, allocations: 0 / 10.06 GB, free: 40.35 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.004905/52.83, allocations: 0.506 MB / 10.06 GB, free: 40.2 MB / 0.9636 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.06806/52.9, allocations: 14.01 MB / 10.07 GB, free: 34.01 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/52.9, allocations: 15.5 kB / 10.07 GB, free: 34.01 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005835/52.9, allocations: 1.033 MB / 10.08 GB, free: 33.92 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02113/52.92, allocations: 2.443 MB / 10.08 GB, free: 32.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1033/53.03, allocations: 23.34 MB / 10.1 GB, free: 22.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001224/53.03, allocations: 0.7026 MB / 10.1 GB, free: 21.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006259/53.04, allocations: 1.003 MB / 10.1 GB, free: 20.71 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05358/53.09, allocations: 16.28 MB / 10.12 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00054/53.09, allocations: 11.84 kB / 10.12 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00455/53.09, allocations: 352.7 kB / 10.12 GB, free: 3.977 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/53.09, allocations: 215.9 kB / 10.12 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.006/54.1, allocations: 19.17 MB / 10.14 GB, free: 50.49 MB / 0.9636 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/54.31, allocations: 79.23 MB / 10.21 GB, free: 17.58 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02779/54.34, allocations: 11.33 MB / 10.23 GB, free: 17.16 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02217/54.36, allocations: 9.259 MB / 10.23 GB, free: 17.09 MB / 0.9636 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/54.48, allocations: 32.85 MB / 10.27 GB, free: 24.54 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02394/54.5, allocations: 8.915 MB / 10.28 GB, free: 24.38 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0837/54.58, allocations: 15.14 MB / 10.29 GB, free: 24.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=561): time 4.573e-05/54.58, allocations: 1.203 kB / 10.29 GB, free: 24.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=772): time 1.438/56.02, allocations: 167.2 MB / 10.45 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00119/56.02, allocations: 2.528 MB / 10.46 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04322/56.07, allocations: 14.68 MB / 10.47 GB, free: 4.156 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.004848/56.07, allocations: 253.7 kB / 10.47 GB, free: 4.059 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.01423/56.08, allocations: 7.924 MB / 10.48 GB, free: 1.672 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.007454/56.09, allocations: 2.684 MB / 10.48 GB, free: 15.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005031/56.1, allocations: 203.8 kB / 10.48 GB, free: 15.76 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001224/56.1, allocations: 0.7424 MB / 10.48 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02672/56.13, allocations: 9.37 MB / 10.49 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.001/57.13, allocations: 12.97 MB / 10.5 GB, free: 73.43 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0339/57.16, allocations: 10.73 MB / 10.51 GB, free: 73.2 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/57.16, allocations: 16.66 kB / 10.51 GB, free: 73.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1394) (initialization): time 1.264/58.42, allocations: 127.5 MB / 10.64 GB, free: 72.53 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00719/58.43, allocations: 38.51 MB / 10.68 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005845/58.43, allocations: 122.3 kB / 10.68 GB, free: 33.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458/59.89, allocations: 146 MB / 10.82 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02593/59.92, allocations: 2.586 MB / 10.82 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28/61.2, allocations: 71.12 MB / 10.89 GB, free: 98.82 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03597/61.23, allocations: 1.439 MB / 10.89 GB, free: 98.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006386/61.24, allocations: 0.9084 MB / 10.89 GB, free: 98.82 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/61.24, allocations: 5.672 kB / 10.89 GB, free: 98.82 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.252/62.49, allocations: 126.2 MB / 11.02 GB, free: 98.28 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006795/62.49, allocations: 114.7 kB / 11.02 GB, free: 98.28 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338/63.83, allocations: 146.4 MB / 11.16 GB, free: 63.94 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02324/63.85, allocations: 2.568 MB / 11.16 GB, free: 61.55 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328/65.18, allocations: 75.39 MB / 11.24 GB, free: 94.93 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.042/65.22, allocations: 1.412 MB / 11.24 GB, free: 94.93 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006451/65.23, allocations: 0.8689 MB / 11.24 GB, free: 94.93 MB / 1.026 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.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 (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.009897/65.24, allocations: 0.707 MB / 11.24 GB, free: 94.82 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00941/65.25, allocations: 1.532 MB / 11.24 GB, free: 94.82 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3632/65.61, allocations: 48.34 MB / 11.29 GB, free: 94.2 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002857/65.61, allocations: 94.56 kB / 11.29 GB, free: 94.2 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001492/65.61, allocations: 28.69 kB / 11.29 GB, free: 94.2 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3321/65.94, allocations: 42.44 MB / 11.33 GB, free: 93.51 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.409/66.35, allocations: 65.32 MB / 11.39 GB, free: 89.48 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001304/66.35, allocations: 4.75 kB / 11.39 GB, free: 89.48 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01812/66.37, allocations: 1.689 MB / 11.39 GB, free: 89.48 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3386/66.71, allocations: 41.68 MB / 11.44 GB, free: 89.41 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00338/66.71, allocations: 330.6 kB / 11.44 GB, free: 89.41 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1066/66.82, allocations: 28.55 MB / 11.46 GB, free: 83.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/66.82, allocations: 0 / 11.46 GB, free: 83.5 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3678/67.19, allocations: 55.55 MB / 11.52 GB, free: 69.87 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01632/67.21, allocations: 3.484 MB / 11.52 GB, free: 67.75 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008762/67.21, allocations: 266.6 kB / 11.52 GB, free: 67.66 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02675/67.24, allocations: 1.155 MB / 11.52 GB, free: 67.05 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004572/67.25, allocations: 0.5648 MB / 11.52 GB, free: 66.76 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003252/67.25, allocations: 313.4 kB / 11.52 GB, free: 66.55 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03035/67.28, allocations: 11.2 MB / 11.53 GB, free: 60.22 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.81e-07/67.28, allocations: 0 / 11.53 GB, free: 60.22 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.07772/67.36, allocations: 8.707 MB / 11.54 GB, free: 52.6 MB / 1.026 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 (705): * Single equations (assignments): 683 * 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.3601/67.72, allocations: 61.46 MB / 11.6 GB, free: 17.16 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 1.179/68.9, allocations: 40.28 MB / 11.64 GB, free: 93.62 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.702e-05/68.9, allocations: 11.03 kB / 11.64 GB, free: 93.62 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.03552/68.93, allocations: 10.2 MB / 11.65 GB, free: 93.39 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06567/69, allocations: 7.614 MB / 11.66 GB, free: 93.32 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1267/69.12, allocations: 33.48 MB / 11.69 GB, free: 87.5 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0244/69.15, allocations: 9.314 MB / 11.7 GB, free: 86.34 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.06434/69.21, allocations: 8.988 MB / 11.71 GB, free: 86.19 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02171/69.23, allocations: 7.808 MB / 11.72 GB, free: 86.19 MB / 1.026 GB Notification: Performance of SimCode: time 2.925e-06/69.24, allocations: 0 / 11.72 GB, free: 86.19 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.699/73.93, allocations: 0.6362 GB / 12.35 GB, free: 88.43 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002457/73.93, allocations: 241 kB / 12.35 GB, free: 88.13 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.39/115.3, allocations: 0.5312 kB / 12.35 GB, free: 88.13 MB / 1.089 GB