Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_ResistanceVolumeFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.788/3.788, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.613e-05/3.632e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5984/0.5985, allocations: 92.67 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.716, allocations: 398.4 MB / 0.9787 GB, free: 6.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.716, allocations: 86.39 kB / 0.9787 GB, free: 6.223 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.165/9.881, allocations: 1.44 GB / 2.419 GB, free: 98.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.114e-06/9.881, allocations: 0 / 2.419 GB, free: 98.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001098/9.882, allocations: 151.1 kB / 2.419 GB, free: 98.32 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.0182/9.901, allocations: 4.553 MB / 2.423 GB, free: 96.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/9.901, allocations: 11 kB / 2.423 GB, free: 96.49 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00197/9.903, allocations: 468.7 kB / 2.424 GB, free: 96.43 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00732/9.91, allocations: 0.8382 MB / 2.425 GB, free: 96.13 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02809/9.938, allocations: 7.413 MB / 2.432 GB, free: 95.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/9.939, allocations: 266.3 kB / 2.432 GB, free: 95.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00153/9.94, allocations: 352.5 kB / 2.432 GB, free: 95.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01942/9.96, allocations: 5.577 MB / 2.438 GB, free: 94.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/9.96, allocations: 10.78 kB / 2.438 GB, free: 94.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001064/9.961, allocations: 147.3 kB / 2.438 GB, free: 94.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.759e-05/9.961, allocations: 88.94 kB / 2.438 GB, free: 94.46 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/9.979, allocations: 5.162 MB / 2.443 GB, free: 94.43 MB / 0.8073 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.05254/10.03, allocations: 22.7 MB / 2.465 GB, free: 84.21 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01111/10.04, allocations: 2.862 MB / 2.468 GB, free: 84.14 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003925/10.05, allocations: 1.67 MB / 2.47 GB, free: 84.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02083/10.07, allocations: 6.37 MB / 2.476 GB, free: 81.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01288/10.08, allocations: 2.116 MB / 2.478 GB, free: 81.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01684/10.1, allocations: 2.19 MB / 2.48 GB, free: 81.71 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 2.094e-05/10.1, allocations: 0 / 2.48 GB, free: 81.71 MB / 0.8073 GB Notification: Performance of matching and sorting (n=157): time 0.09819/10.2, allocations: 7.751 MB / 2.488 GB, free: 81.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/10.2, allocations: 225.2 kB / 2.488 GB, free: 81.09 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0102/10.21, allocations: 4.265 MB / 2.492 GB, free: 80.74 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007945/10.21, allocations: 68.11 kB / 2.492 GB, free: 80.71 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003147/10.21, allocations: 2.47 MB / 2.495 GB, free: 79.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/10.21, allocations: 0.561 MB / 2.495 GB, free: 79.57 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/10.21, allocations: 54.22 kB / 2.495 GB, free: 79.57 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001886/10.21, allocations: 413.9 kB / 2.496 GB, free: 79.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/10.22, allocations: 1.506 MB / 2.497 GB, free: 79.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/10.22, allocations: 2.815 MB / 2.5 GB, free: 76.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005013/10.23, allocations: 1.98 MB / 2.502 GB, free: 76.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.126e-05/10.23, allocations: 8.875 kB / 2.502 GB, free: 76.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.07717/10.3, allocations: 9.024 MB / 2.511 GB, free: 73.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003405/10.31, allocations: 15.9 MB / 2.526 GB, free: 56.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/10.31, allocations: 38.52 kB / 2.526 GB, free: 56.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.193/10.5, allocations: 15.49 MB / 2.541 GB, free: 52.64 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005722/10.51, allocations: 0.7253 MB / 2.542 GB, free: 51.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/10.52, allocations: 5.39 MB / 2.547 GB, free: 46.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008304/10.53, allocations: 331.4 kB / 2.547 GB, free: 46.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009757/10.53, allocations: 163.9 kB / 2.548 GB, free: 45.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/10.53, allocations: 4 kB / 2.548 GB, free: 45.93 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0642/10.6, allocations: 8.018 MB / 2.555 GB, free: 37.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/10.6, allocations: 32 kB / 2.556 GB, free: 37.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1959/10.79, allocations: 15.29 MB / 2.57 GB, free: 22.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/10.81, allocations: 0.6982 MB / 2.571 GB, free: 21.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04917/10.86, allocations: 7.713 MB / 2.579 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009377/10.87, allocations: 291.7 kB / 2.579 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001153/10.87, allocations: 155.9 kB / 2.579 GB, free: 13.42 MB / 0.8073 GB Warning: Assuming fixed start value for the following 1 variables: pump.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.0001004433569776996 * pump.vol.rho_start unit = "kg" stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (296): * Single equations (assignments): 288 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {11 13,1 3,1 1,10 11} Notification: Performance of prepare postOptimizeDAE: time 0.001849/10.87, allocations: 300.4 kB / 2.579 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002175/10.87, allocations: 458.4 kB / 2.58 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0529/10.92, allocations: 6.324 MB / 2.586 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/10.92, allocations: 16 kB / 2.586 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/10.92, allocations: 0 / 2.586 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05203/10.98, allocations: 7.295 MB / 2.593 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08875/11.07, allocations: 13.54 MB / 2.606 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/11.07, allocations: 0 / 2.606 GB, free: 1.141 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006322/11.07, allocations: 446.9 kB / 2.607 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7896/11.86, allocations: 11.73 MB / 2.618 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007071/11.86, allocations: 49.88 kB / 2.618 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04024/11.9, allocations: 9.452 MB / 2.628 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/11.9, allocations: 2.438 kB / 2.628 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05861/11.96, allocations: 10.1 MB / 2.637 GB, free: 116.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00535/11.97, allocations: 1.045 MB / 2.638 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002307/11.97, allocations: 36.23 kB / 2.638 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007947/11.98, allocations: 285.7 kB / 2.639 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/11.98, allocations: 124.1 kB / 2.639 GB, free: 116.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005493/11.98, allocations: 82.41 kB / 2.639 GB, free: 116.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.009207/11.99, allocations: 3.283 MB / 2.642 GB, free: 116.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.222e-06/11.99, allocations: 3.375 kB / 2.642 GB, free: 116.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01605/12, allocations: 2.777 MB / 2.645 GB, free: 116.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (pump.vol.dynBal.U,pump.vol.dynBal.m,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 3,10 11,1 3,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.05791/12.06, allocations: 11.85 MB / 2.656 GB, free: 115.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03252/12.09, allocations: 7.513 MB / 2.664 GB, free: 114.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.631e-05/12.09, allocations: 2.562 kB / 2.664 GB, free: 114.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01547/12.11, allocations: 2.913 MB / 2.667 GB, free: 114.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02162/12.13, allocations: 2.562 MB / 2.669 GB, free: 114.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03877/12.17, allocations: 9.629 MB / 2.678 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005838/12.18, allocations: 3.298 MB / 2.682 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01891/12.2, allocations: 3.093 MB / 2.685 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005031/12.2, allocations: 1.913 MB / 2.687 GB, free: 111.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.904e-06/12.2, allocations: 0 / 2.687 GB, free: 111.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3692/12.57, allocations: 171 MB / 2.854 GB, free: 35.12 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/12.57, allocations: 227.5 kB / 2.854 GB, free: 34.86 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/23.47, allocations: 0 / 2.854 GB, free: 34.86 MB / 0.823 GB