Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.062/3.062, allocations: 343.8 MB / 355.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.877e-05, allocations: 4 kB / 436.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 77.72 MB / 0.5023 GB, free: 4.473 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.487/1.654, allocations: 428.8 MB / 0.921 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/1.654, allocations: 92.02 kB / 0.9211 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 34.86/36.51, allocations: 6.184 GB / 7.105 GB, free: 58.84 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.993e-06/36.51, allocations: 0 / 7.105 GB, free: 58.84 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.005013/36.52, allocations: 0.5338 MB / 7.105 GB, free: 58.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.07117/36.59, allocations: 14.03 MB / 7.119 GB, free: 52.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/36.59, allocations: 15 kB / 7.119 GB, free: 52.5 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006133/36.59, allocations: 1.04 MB / 7.12 GB, free: 52.41 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02193/36.62, allocations: 2.448 MB / 7.123 GB, free: 51.38 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.107/36.72, allocations: 23.41 MB / 7.145 GB, free: 48.45 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001353/36.72, allocations: 0.7098 MB / 7.146 GB, free: 48.43 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00658/36.73, allocations: 1.014 MB / 7.147 GB, free: 48.41 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0527/36.78, allocations: 16.46 MB / 7.163 GB, free: 46.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005765/36.78, allocations: 11.72 kB / 7.163 GB, free: 46.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004892/36.79, allocations: 348.6 kB / 7.163 GB, free: 46.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002558/36.79, allocations: 212.6 kB / 7.164 GB, free: 46.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.049/36.84, allocations: 19.31 MB / 7.183 GB, free: 46.43 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 0.2082/37.05, allocations: 78.2 MB / 7.259 GB, free: 9.809 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9695/38.02, allocations: 12.21 MB / 7.271 GB, free: 82.47 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0248/38.04, allocations: 9.436 MB / 7.28 GB, free: 82.39 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.1176/38.16, allocations: 33.66 MB / 7.313 GB, free: 74.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02521/38.18, allocations: 9.228 MB / 7.322 GB, free: 74.13 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08349/38.27, allocations: 15.15 MB / 7.337 GB, free: 74.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=606): time 5.459e-05/38.27, allocations: 2.281 kB / 7.337 GB, free: 74.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=860): time 1.541/39.81, allocations: 171.3 MB / 7.504 GB, free: 63.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007077/39.81, allocations: 2.529 MB / 7.506 GB, free: 60.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04479/39.85, allocations: 14.63 MB / 7.521 GB, free: 59.49 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.005303/39.86, allocations: 285 kB / 7.521 GB, free: 59.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01399/39.87, allocations: 7.929 MB / 7.529 GB, free: 58.04 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00814/39.88, allocations: 2.981 MB / 7.532 GB, free: 56.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004799/39.89, allocations: 216 kB / 7.532 GB, free: 56.53 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001227/39.89, allocations: 0.7532 MB / 7.533 GB, free: 56.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02649/39.91, allocations: 9.652 MB / 7.542 GB, free: 56.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03148/39.95, allocations: 13.32 MB / 7.555 GB, free: 47.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03039/39.98, allocations: 11.04 MB / 7.566 GB, free: 42.52 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/39.98, allocations: 14.62 kB / 7.566 GB, free: 42.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 2.263/42.24, allocations: 129.5 MB / 7.692 GB, free: 83.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.006498/42.25, allocations: 33.17 MB / 7.725 GB, free: 49.19 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006061/42.25, allocations: 111.7 kB / 7.725 GB, free: 49.19 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387/43.63, allocations: 151.8 MB / 7.873 GB, free: 39.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0249/43.66, allocations: 2.385 MB / 7.875 GB, free: 39.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2898/43.95, allocations: 75.9 MB / 7.95 GB, free: 6.703 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03615/43.98, allocations: 1.389 MB / 7.951 GB, free: 5.578 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00641/43.99, allocations: 0.9178 MB / 7.952 GB, free: 4.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/43.99, allocations: 6.656 kB / 7.952 GB, free: 4.746 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.288/46.28, allocations: 128 MB / 8.077 GB, free: 121.6 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006378/46.28, allocations: 109.9 kB / 8.077 GB, free: 121.6 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384/47.66, allocations: 152.7 MB / 8.226 GB, free: 110.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02124/47.68, allocations: 2.371 MB / 8.228 GB, free: 109.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2973/47.98, allocations: 82.53 MB / 8.309 GB, free: 54.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03394/48.02, allocations: 1.376 MB / 8.31 GB, free: 53.61 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005573/48.02, allocations: 0.864 MB / 8.311 GB, free: 52.83 MB / 1.01 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.008517/48.03, allocations: 0.7282 MB / 8.312 GB, free: 52.55 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008317/48.04, allocations: 1.555 MB / 8.313 GB, free: 51.83 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332/49.37, allocations: 50.85 MB / 8.363 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002783/49.37, allocations: 102.6 kB / 8.363 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001371/49.37, allocations: 31.5 kB / 8.363 GB, free: 111.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3425/49.71, allocations: 44.75 MB / 8.407 GB, free: 110.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4074/50.12, allocations: 69.84 MB / 8.475 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001462/50.12, allocations: 2.594 kB / 8.475 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01678/50.14, allocations: 1.573 MB / 8.477 GB, free: 106.5 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3593/50.5, allocations: 44.74 MB / 8.52 GB, free: 106.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003108/50.5, allocations: 350 kB / 8.521 GB, free: 106.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1134/50.61, allocations: 33.12 MB / 8.553 GB, free: 99.04 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/50.61, allocations: 3.469 kB / 8.553 GB, free: 99.04 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3657/50.98, allocations: 58.48 MB / 8.61 GB, free: 97.25 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01684/51, allocations: 3.629 MB / 8.614 GB, free: 95.89 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008661/51.01, allocations: 288.6 kB / 8.614 GB, free: 95.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.027/51.03, allocations: 1.19 MB / 8.615 GB, free: 95.16 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004681/51.04, allocations: 0.6069 MB / 8.616 GB, free: 94.86 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003058/51.04, allocations: 336.4 kB / 8.616 GB, free: 94.64 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.03185/51.07, allocations: 11.17 MB / 8.627 GB, free: 88.31 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.503e-06/51.07, allocations: 0 / 8.627 GB, free: 88.31 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.06181/51.13, allocations: 8.773 MB / 8.635 GB, free: 80.67 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 (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 0.3705/51.5, allocations: 63.86 MB / 8.698 GB, free: 43.23 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 1.109/52.61, allocations: 45.07 MB / 8.742 GB, free: 120.4 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.386e-05/52.61, allocations: 10.12 kB / 8.742 GB, free: 120.4 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.04307/52.66, allocations: 11.32 MB / 8.753 GB, free: 120.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06978/52.73, allocations: 7.793 MB / 8.76 GB, free: 120.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1197/52.85, allocations: 34.09 MB / 8.794 GB, free: 114.2 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02176/52.87, allocations: 9.435 MB / 8.803 GB, free: 113 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.06003/52.93, allocations: 8.556 MB / 8.811 GB, free: 112.9 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01982/52.95, allocations: 7.876 MB / 8.819 GB, free: 112.9 MB / 1.01 GB Notification: Performance of SimCode: time 2.976e-06/52.95, allocations: 2.844 kB / 8.819 GB, free: 112.9 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.522/57.47, allocations: 0.6624 GB / 9.481 GB, free: 114.1 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/57.47, allocations: 228 kB / 9.482 GB, free: 113.9 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.02/96.49, allocations: 0.8438 kB / 9.482 GB, free: 113.9 MB / 1.073 GB