Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.465/4.465, allocations: 460.4 MB / 472.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.212e-05, allocations: 0 / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2358, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.944/2.179, allocations: 456 MB / 1.117 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/2.18, allocations: 92.03 kB / 1.117 GB, free: 254.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 34.92/37.1, allocations: 6.241 GB / 7.359 GB, free: 64.03 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.465e-06/37.1, allocations: 0 / 7.359 GB, free: 64.03 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.004542/37.1, allocations: 0.531 MB / 7.359 GB, free: 63.86 MB / 1.135 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.07075/37.18, allocations: 14.16 MB / 7.373 GB, free: 57.64 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/37.18, allocations: 10.78 kB / 7.373 GB, free: 57.64 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006244/37.18, allocations: 1.061 MB / 7.374 GB, free: 57.55 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01934/37.2, allocations: 2.311 MB / 7.376 GB, free: 56.52 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.106/37.31, allocations: 23.29 MB / 7.399 GB, free: 53.58 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001425/37.31, allocations: 0.726 MB / 7.4 GB, free: 53.56 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007018/37.32, allocations: 1.031 MB / 7.401 GB, free: 53.54 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05355/37.37, allocations: 16.59 MB / 7.417 GB, free: 51.59 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005958/37.37, allocations: 11.66 kB / 7.417 GB, free: 51.58 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00503/37.37, allocations: 359.8 kB / 7.417 GB, free: 51.58 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002739/37.38, allocations: 217.2 kB / 7.417 GB, free: 51.58 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0509/37.43, allocations: 19.36 MB / 7.436 GB, free: 44.56 MB / 1.135 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.395/38.82, allocations: 78.36 MB / 7.513 GB, free: 89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0325/38.85, allocations: 12.18 MB / 7.525 GB, free: 88.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02263/38.88, allocations: 9.431 MB / 7.534 GB, free: 88.56 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 evalFunc (simulation): time 0.114/38.99, allocations: 33.72 MB / 7.567 GB, free: 80.43 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02455/39.01, allocations: 9.264 MB / 7.576 GB, free: 80.27 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08284/39.1, allocations: 15.15 MB / 7.591 GB, free: 80.27 MB / 1.151 GB Notification: Performance of pre-optimization done (n=606): time 4.853e-05/39.1, allocations: 0.75 kB / 7.591 GB, free: 80.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=860): time 1.549/40.65, allocations: 171.3 MB / 7.758 GB, free: 69.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008002/40.65, allocations: 2.539 MB / 7.76 GB, free: 66.89 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04726/40.7, allocations: 14.7 MB / 7.775 GB, free: 66.06 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.005806/40.7, allocations: 276.3 kB / 7.775 GB, free: 66.03 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01531/40.72, allocations: 7.885 MB / 7.783 GB, free: 64.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.008009/40.72, allocations: 2.985 MB / 7.786 GB, free: 63.09 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005159/40.73, allocations: 212.9 kB / 7.786 GB, free: 63.09 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.001378/40.73, allocations: 0.7529 MB / 7.787 GB, free: 62.77 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02782/40.76, allocations: 9.651 MB / 7.796 GB, free: 62.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04025/40.8, allocations: 13.31 MB / 7.809 GB, free: 58.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04482/40.84, allocations: 11.05 MB / 7.82 GB, free: 58.41 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/40.84, allocations: 16.62 kB / 7.82 GB, free: 58.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 2.512/43.36, allocations: 129.5 MB / 7.946 GB, free: 104.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.007406/43.36, allocations: 32.97 MB / 7.979 GB, free: 70.09 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007048/43.36, allocations: 107 kB / 7.979 GB, free: 70.09 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387/44.75, allocations: 151.8 MB / 8.127 GB, free: 69.93 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02502/44.78, allocations: 2.387 MB / 8.129 GB, free: 69.93 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2859/45.06, allocations: 75.9 MB / 8.203 GB, free: 62.57 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03687/45.1, allocations: 1.394 MB / 8.205 GB, free: 62.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006439/45.11, allocations: 0.9121 MB / 8.206 GB, free: 62.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/45.11, allocations: 3.469 kB / 8.206 GB, free: 62.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.272/46.38, allocations: 128.1 MB / 8.331 GB, free: 1.52 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000679/46.38, allocations: 115.1 kB / 8.331 GB, free: 1.41 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585/48.96, allocations: 152.7 MB / 8.48 GB, free: 144.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02201/48.99, allocations: 2.363 MB / 8.482 GB, free: 144.5 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3177/49.3, allocations: 82.54 MB / 8.563 GB, free: 140.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03743/49.34, allocations: 1.37 MB / 8.564 GB, free: 140.5 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006919/49.35, allocations: 0.8697 MB / 8.565 GB, free: 140.5 MB / 1.229 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.009802/49.36, allocations: 0.7213 MB / 8.566 GB, free: 140.4 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009544/49.37, allocations: 1.562 MB / 8.567 GB, free: 140.4 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3859/49.75, allocations: 50.87 MB / 8.617 GB, free: 139.6 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002215/49.75, allocations: 95.88 kB / 8.617 GB, free: 139.6 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000138/49.75, allocations: 32.42 kB / 8.617 GB, free: 139.6 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3289/50.08, allocations: 44.74 MB / 8.661 GB, free: 138.7 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4149/50.5, allocations: 69.95 MB / 8.729 GB, free: 113.7 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001502/50.5, allocations: 0 / 8.729 GB, free: 113.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01659/50.52, allocations: 1.582 MB / 8.73 GB, free: 112.5 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3698/50.89, allocations: 44.73 MB / 8.774 GB, free: 72.03 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003416/50.89, allocations: 351.5 kB / 8.775 GB, free: 71.84 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1164/51.01, allocations: 33.11 MB / 8.807 GB, free: 48.22 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/51.01, allocations: 6 kB / 8.807 GB, free: 48.22 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.572/52.58, allocations: 58.49 MB / 8.864 GB, free: 152.7 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01755/52.6, allocations: 3.707 MB / 8.868 GB, free: 152.6 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009297/52.6, allocations: 281.2 kB / 8.868 GB, free: 152.6 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02844/52.63, allocations: 1.186 MB / 8.869 GB, free: 152.6 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004881/52.64, allocations: 0.6015 MB / 8.87 GB, free: 152.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00348/52.64, allocations: 360.1 kB / 8.87 GB, free: 152.6 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.03496/52.68, allocations: 11.24 MB / 8.881 GB, free: 152.1 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.001e-06/52.68, allocations: 0 / 8.881 GB, free: 152.1 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.0667/52.74, allocations: 8.79 MB / 8.89 GB, free: 152.1 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 (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.3771/53.12, allocations: 63.85 MB / 8.952 GB, free: 148.3 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1483/53.27, allocations: 42.88 MB / 8.994 GB, free: 144.9 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.271e-05/53.27, allocations: 11.81 kB / 8.994 GB, free: 144.9 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.04048/53.31, allocations: 11.3 MB / 9.005 GB, free: 144.5 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06949/53.38, allocations: 7.786 MB / 9.012 GB, free: 144.4 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1239/53.5, allocations: 34.23 MB / 9.046 GB, free: 138.4 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02261/53.53, allocations: 9.514 MB / 9.055 GB, free: 137.3 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0612/53.59, allocations: 8.593 MB / 9.063 GB, free: 137.1 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02041/53.61, allocations: 7.847 MB / 9.071 GB, free: 137.1 MB / 1.229 GB Notification: Performance of SimCode: time 1.523e-06/53.61, allocations: 0 / 9.071 GB, free: 137.1 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.093/58.7, allocations: 0.6623 GB / 9.733 GB, free: 152.6 MB / 1.292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/58.7, allocations: 220.2 kB / 9.734 GB, free: 152.4 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.02/100.7, allocations: 0 / 9.734 GB, free: 152.4 MB / 1.292 GB