Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.463/4.463, allocations: 404.1 MB / 411.3 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.62e-05, allocations: 4 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.6782, allocations: 92.67 MB / 0.585 GB, free: 2.324 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/2.053, allocations: 435.9 MB / 1.011 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000357/2.053, allocations: 102 kB / 1.011 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 39.57/41.62, allocations: 6.026 GB / 7.037 GB, free: 56.13 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.274e-06/41.62, allocations: 4 kB / 7.037 GB, free: 56.13 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.005512/41.62, allocations: 0.5272 MB / 7.038 GB, free: 55.96 MB / 1.026 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.08578/41.71, allocations: 13.95 MB / 7.051 GB, free: 49.83 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/41.71, allocations: 9.219 kB / 7.051 GB, free: 49.83 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02451/41.74, allocations: 2.434 MB / 7.054 GB, free: 48.81 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1268/41.86, allocations: 23.83 MB / 7.077 GB, free: 45.82 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007252/41.86, allocations: 257 kB / 7.077 GB, free: 45.82 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00665/41.87, allocations: 0.5789 MB / 7.078 GB, free: 45.82 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05673/41.93, allocations: 19.79 MB / 7.097 GB, free: 32.04 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05504/41.98, allocations: 15.56 MB / 7.112 GB, free: 19.24 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006483/41.98, allocations: 19.78 kB / 7.112 GB, free: 19.22 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004934/41.99, allocations: 16 kB / 7.112 GB, free: 19.2 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003068/41.99, allocations: 215.7 kB / 7.113 GB, free: 19 MB / 1.026 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.436/43.42, allocations: 77.69 MB / 7.189 GB, free: 68.09 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04324/43.47, allocations: 14.92 MB / 7.203 GB, free: 67.61 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02467/43.49, allocations: 9.766 MB / 7.213 GB, free: 67.48 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.1493/43.64, allocations: 43.6 MB / 7.255 GB, free: 56 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02932/43.67, allocations: 9.502 MB / 7.264 GB, free: 55.79 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09916/43.77, allocations: 15.68 MB / 7.28 GB, free: 55.79 MB / 1.042 GB Notification: Performance of pre-optimization done (n=627): time 6.717e-05/43.77, allocations: 1.5 kB / 7.28 GB, free: 55.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=639): time 1.779/45.55, allocations: 152.9 MB / 7.429 GB, free: 49.78 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007864/45.55, allocations: 2.561 MB / 7.432 GB, free: 46.71 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04596/45.6, allocations: 13.34 MB / 7.445 GB, free: 45.95 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.005192/45.6, allocations: 45.36 kB / 7.445 GB, free: 45.92 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01528/45.62, allocations: 7.647 MB / 7.452 GB, free: 44.57 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.006703/45.62, allocations: 2.16 MB / 7.454 GB, free: 43.44 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004896/45.63, allocations: 0 / 7.454 GB, free: 43.44 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001215/45.63, allocations: 0.679 MB / 7.455 GB, free: 43.11 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02643/45.66, allocations: 9.221 MB / 7.464 GB, free: 42.6 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03116/45.69, allocations: 12.6 MB / 7.476 GB, free: 33.96 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03634/45.72, allocations: 10.53 MB / 7.486 GB, free: 28.97 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/45.72, allocations: 12 kB / 7.487 GB, free: 28.96 MB / 1.042 GB Notification: Performance of matching and sorting (n=1214) (initialization): time 2.934/48.66, allocations: 132.8 MB / 7.616 GB, free: 83.08 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.006658/48.66, allocations: 32.19 MB / 7.648 GB, free: 49.39 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006745/48.66, allocations: 110.8 kB / 7.648 GB, free: 49.39 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636/50.3, allocations: 146.6 MB / 7.791 GB, free: 47.07 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03137/50.33, allocations: 2.191 MB / 7.793 GB, free: 46.6 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3426/50.67, allocations: 71.84 MB / 7.863 GB, free: 31.75 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04229/50.72, allocations: 1.252 MB / 7.864 GB, free: 30.59 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006343/50.72, allocations: 0.8658 MB / 7.865 GB, free: 29.8 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/50.72, allocations: 5.312 kB / 7.865 GB, free: 29.79 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.817/53.54, allocations: 122.2 MB / 7.985 GB, free: 131.3 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006796/53.54, allocations: 111.9 kB / 7.985 GB, free: 131.3 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654/55.19, allocations: 144.6 MB / 8.126 GB, free: 131.2 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02225/55.22, allocations: 2.066 MB / 8.128 GB, free: 131.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.381/55.6, allocations: 73.47 MB / 8.2 GB, free: 128.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0502/55.65, allocations: 0.888 MB / 8.201 GB, free: 128.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007718/55.66, allocations: 0.7888 MB / 8.201 GB, free: 128.2 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 (905): * Single equations (assignments): 827 * 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: 2 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {33 121} Notification: Performance of prepare postOptimizeDAE: time 0.01269/55.67, allocations: 340.2 kB / 8.202 GB, free: 128.1 MB / 1.12 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 1.789/57.46, allocations: 126.1 MB / 8.325 GB, free: 38.47 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009108/57.47, allocations: 1.447 MB / 8.326 GB, free: 37.62 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.766/59.23, allocations: 51.36 MB / 8.376 GB, free: 127.2 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002181/59.23, allocations: 80.17 kB / 8.376 GB, free: 127.2 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001146/59.23, allocations: 33.66 kB / 8.376 GB, free: 127.2 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.514/59.75, allocations: 46.23 MB / 8.422 GB, free: 126.5 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.551/60.3, allocations: 68.01 MB / 8.488 GB, free: 122.2 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001161/60.3, allocations: 6.906 kB / 8.488 GB, free: 122.2 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.019/60.32, allocations: 1.195 MB / 8.489 GB, free: 122.2 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4242/60.74, allocations: 44.02 MB / 8.532 GB, free: 122.1 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003114/60.75, allocations: 183 kB / 8.532 GB, free: 122.1 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3499/61.1, allocations: 67.42 MB / 8.598 GB, free: 108 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/61.1, allocations: 11.81 kB / 8.598 GB, free: 108 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5348/61.63, allocations: 60.12 MB / 8.657 GB, free: 89.18 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01702/61.65, allocations: 3.267 MB / 8.66 GB, free: 87.52 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009565/61.66, allocations: 86.09 kB / 8.66 GB, free: 87.47 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03158/61.69, allocations: 1.141 MB / 8.661 GB, free: 86.79 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006303/61.7, allocations: 0.5717 MB / 8.662 GB, free: 86.52 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003139/61.7, allocations: 304.7 kB / 8.662 GB, free: 86.33 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.032/61.73, allocations: 10.02 MB / 8.672 GB, free: 80.97 MB / 1.12 GB Notification: Performance of sort global known variables: time 6.11e-07/61.73, allocations: 0 / 8.672 GB, free: 80.97 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07882/61.81, allocations: 8.393 MB / 8.68 GB, free: 73.17 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (517): * Single equations (assignments): 486 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 12 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 11 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.5158/62.33, allocations: 66 MB / 8.745 GB, free: 33.89 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.161/62.49, allocations: 38.61 MB / 8.782 GB, free: 11.18 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 0.0001054/62.49, allocations: 17.14 kB / 8.782 GB, free: 11.18 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 1.247/63.73, allocations: 10.97 MB / 8.793 GB, free: 145.4 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07983/63.81, allocations: 7.259 MB / 8.8 GB, free: 145.3 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1556/63.97, allocations: 31.81 MB / 8.831 GB, free: 139.6 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02404/63.99, allocations: 8.919 MB / 8.84 GB, free: 138.4 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.06576/64.06, allocations: 7.981 MB / 8.848 GB, free: 138.3 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02005/64.08, allocations: 7.408 MB / 8.855 GB, free: 138.3 MB / 1.12 GB Notification: Performance of SimCode: time 1.433e-06/64.08, allocations: 0 / 8.855 GB, free: 138.3 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.218/68.3, allocations: 0.6146 GB / 9.47 GB, free: 97 MB / 1.136 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002477/68.3, allocations: 181 kB / 9.47 GB, free: 96.8 MB / 1.136 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 45.04/113.3, allocations: 3.938 kB / 9.47 GB, free: 96.8 MB / 1.136 GB