Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.797/3.797, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.625e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.615/0.6151, allocations: 92.69 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.76, allocations: 436.5 MB / 1.016 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/1.76, allocations: 88.52 kB / 1.016 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 34.04/35.8, allocations: 6.057 GB / 7.073 GB, free: 55.11 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.194e-06/35.8, allocations: 0 / 7.073 GB, free: 55.11 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.004643/35.81, allocations: 0.5304 MB / 7.073 GB, free: 54.91 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2040 * Number of variables: 2040 Notification: Performance of Generate backend data structure: time 0.0699/35.88, allocations: 13.94 MB / 7.087 GB, free: 44.34 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/35.88, allocations: 11.5 kB / 7.087 GB, free: 44.33 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005905/35.88, allocations: 1.04 MB / 7.088 GB, free: 43.47 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02102/35.91, allocations: 2.427 MB / 7.09 GB, free: 41.18 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1091/36.01, allocations: 23.85 MB / 7.114 GB, free: 17.68 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/36.02, allocations: 0.7109 MB / 7.114 GB, free: 16.96 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006494/36.02, allocations: 1.019 MB / 7.115 GB, free: 15.95 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.171/37.19, allocations: 19.31 MB / 7.134 GB, free: 57.59 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000705/37.19, allocations: 13.28 kB / 7.134 GB, free: 57.59 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005192/37.2, allocations: 362 kB / 7.134 GB, free: 57.59 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004279/37.2, allocations: 215.1 kB / 7.135 GB, free: 57.59 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07872/37.28, allocations: 22.03 MB / 7.156 GB, free: 57.53 MB / 1.042 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.2108/37.49, allocations: 79.05 MB / 7.233 GB, free: 25.47 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06234/37.55, allocations: 16.52 MB / 7.25 GB, free: 24.97 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02177/37.57, allocations: 9.419 MB / 7.259 GB, free: 24.87 MB / 1.042 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.1338/37.71, allocations: 43.87 MB / 7.302 GB, free: 29.46 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05149/37.76, allocations: 12.11 MB / 7.313 GB, free: 29.24 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08412/37.84, allocations: 15.87 MB / 7.329 GB, free: 29.07 MB / 1.057 GB Notification: Performance of pre-optimization done (n=627): time 5.453e-05/37.84, allocations: 0 / 7.329 GB, free: 29.07 MB / 1.057 GB Notification: Performance of matching and sorting (n=919): time 2.936/40.78, allocations: 220.8 MB / 7.545 GB, free: 89.59 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008485/40.78, allocations: 2.593 MB / 7.547 GB, free: 86.52 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0459/40.83, allocations: 14.21 MB / 7.561 GB, free: 85.78 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.005766/40.83, allocations: 282.3 kB / 7.561 GB, free: 85.75 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01516/40.85, allocations: 7.773 MB / 7.569 GB, free: 85.32 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.008722/40.86, allocations: 3.168 MB / 7.572 GB, free: 84.3 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005766/40.86, allocations: 218.9 kB / 7.572 GB, free: 84.3 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001305/40.86, allocations: 0.7737 MB / 7.573 GB, free: 83.97 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03048/40.89, allocations: 10.61 MB / 7.583 GB, free: 83.95 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0364/40.93, allocations: 14.25 MB / 7.597 GB, free: 80.18 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03568/40.97, allocations: 11.92 MB / 7.609 GB, free: 79.95 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001735/40.97, allocations: 16.67 kB / 7.609 GB, free: 79.94 MB / 1.073 GB Notification: Performance of matching and sorting (n=1494) (initialization): time 1.403/42.37, allocations: 139 MB / 7.745 GB, free: 77.95 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.007776/42.38, allocations: 32.34 MB / 7.776 GB, free: 44.07 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008827/42.38, allocations: 113.5 kB / 7.776 GB, free: 44.07 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548/43.93, allocations: 157.1 MB / 7.93 GB, free: 12.62 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02922/43.96, allocations: 2.457 MB / 7.932 GB, free: 10.34 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544/45.5, allocations: 102.1 MB / 8.032 GB, free: 127 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04161/45.54, allocations: 1.737 MB / 8.034 GB, free: 127 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007006/45.55, allocations: 0.9627 MB / 8.034 GB, free: 127 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/45.55, allocations: 5.406 kB / 8.034 GB, free: 127 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.321/46.87, allocations: 131.8 MB / 8.163 GB, free: 125.8 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005919/46.87, allocations: 109.7 kB / 8.163 GB, free: 125.8 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403/48.27, allocations: 155.9 MB / 8.316 GB, free: 36.04 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02092/48.29, allocations: 2.343 MB / 8.318 GB, free: 33.87 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496/49.79, allocations: 105.8 MB / 8.421 GB, free: 123 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03491/49.83, allocations: 1.381 MB / 8.423 GB, free: 123 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006072/49.83, allocations: 0.8843 MB / 8.423 GB, free: 123 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 204 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$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 (1032): * Single equations (assignments): 953 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(28,89.3%) 28,(33,24.2%) 121} * Non-linear torn systems: 1 {33 121} Notification: Performance of prepare postOptimizeDAE: time 0.01068/49.84, allocations: 0.7386 MB / 8.424 GB, free: 122.9 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009277/49.85, allocations: 1.544 MB / 8.426 GB, free: 122.9 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4734/50.32, allocations: 60.33 MB / 8.485 GB, free: 122.1 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002762/50.33, allocations: 114 kB / 8.485 GB, free: 122.1 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001812/50.33, allocations: 49.44 kB / 8.485 GB, free: 122.1 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4652/50.79, allocations: 54.29 MB / 8.538 GB, free: 121.2 MB / 1.12 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 postOpt removeSimpleEquations (simulation): time 0.5229/51.31, allocations: 82.43 MB / 8.618 GB, free: 116.3 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001791/51.31, allocations: 6.875 kB / 8.618 GB, free: 116.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01978/51.33, allocations: 1.658 MB / 8.62 GB, free: 116.3 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3865/51.72, allocations: 49.25 MB / 8.668 GB, free: 89.8 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003857/51.72, allocations: 405.3 kB / 8.668 GB, free: 89.66 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3924/52.12, allocations: 85.37 MB / 8.752 GB, free: 29.95 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-05/52.12, allocations: 11.94 kB / 8.752 GB, free: 29.95 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.759/53.88, allocations: 72.91 MB / 8.823 GB, free: 115.8 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02472/53.9, allocations: 3.819 MB / 8.827 GB, free: 115.2 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009268/53.91, allocations: 303.8 kB / 8.827 GB, free: 115.2 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03327/53.94, allocations: 1.496 MB / 8.828 GB, free: 115.2 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00724/53.95, allocations: 0.8677 MB / 8.829 GB, free: 115.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003917/53.96, allocations: 423.6 kB / 8.83 GB, free: 115.2 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.03334/53.99, allocations: 10.86 MB / 8.84 GB, free: 114.7 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.144e-06/53.99, allocations: 0 / 8.84 GB, free: 114.7 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07718/54.07, allocations: 9.846 MB / 8.85 GB, free: 114.7 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 74 (pmpSouth.port_a.h_outflow,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.port_a.h_outflow,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.port_3.h_outflow,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.port_3.h_outflow,valNorth.filter.x[1],valNorth.filter.x[2],spl.port_3.h_outflow,spl1.port_3.h_outflow,pumpHea.port_a.h_outflow,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.port_3.h_outflow,spl3.port_3.h_outflow,pumpCoo.port_a.h_outflow,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (737): * Single equations (assignments): 705 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(33,26.1%) 118,(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.4974/54.56, allocations: 79.21 MB / 8.927 GB, free: 106.2 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1764/54.74, allocations: 48.41 MB / 8.975 GB, free: 102 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.652e-05/54.74, allocations: 13.66 kB / 8.975 GB, free: 102 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.06245/54.8, allocations: 15 MB / 8.989 GB, free: 101 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06512/54.87, allocations: 7.498 MB / 8.997 GB, free: 100.9 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1396/55.01, allocations: 36.45 MB / 9.032 GB, free: 94.65 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02316/55.03, allocations: 9.61 MB / 9.041 GB, free: 93.48 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.05897/55.09, allocations: 8.499 MB / 9.05 GB, free: 89.21 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01967/55.11, allocations: 7.873 MB / 9.057 GB, free: 88.43 MB / 1.12 GB Notification: Performance of SimCode: time 1.403e-06/55.11, allocations: 1.312 kB / 9.057 GB, free: 88.43 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.188/60.3, allocations: 0.7488 GB / 9.806 GB, free: 143.8 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/60.3, allocations: 229.1 kB / 9.806 GB, free: 143.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.81/105.1, allocations: 0 / 9.806 GB, free: 143.6 MB / 1.182 GB