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.755/3.755, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.204e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5909/0.591, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.707, allocations: 398.4 MB / 0.9787 GB, free: 6.387 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/1.708, allocations: 80.91 kB / 0.9788 GB, free: 6.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.94/9.648, allocations: 1.44 GB / 2.419 GB, free: 98.16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.974e-06/9.648, allocations: 1.906 kB / 2.419 GB, free: 98.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001102/9.649, allocations: 156.3 kB / 2.419 GB, free: 98.12 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.01812/9.667, allocations: 4.538 MB / 2.423 GB, free: 96.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/9.667, allocations: 11.78 kB / 2.423 GB, free: 96.31 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001922/9.669, allocations: 470.4 kB / 2.424 GB, free: 96.25 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007562/9.677, allocations: 0.8375 MB / 2.425 GB, free: 95.95 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02785/9.705, allocations: 7.423 MB / 2.432 GB, free: 95.04 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/9.705, allocations: 265.2 kB / 2.432 GB, free: 95.04 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002222/9.707, allocations: 350.5 kB / 2.432 GB, free: 95.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/9.728, allocations: 5.545 MB / 2.438 GB, free: 94.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/9.728, allocations: 9.156 kB / 2.438 GB, free: 94.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008309/9.729, allocations: 146.7 kB / 2.438 GB, free: 94.3 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.786e-05/9.729, allocations: 84.81 kB / 2.438 GB, free: 94.3 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01771/9.747, allocations: 5.099 MB / 2.443 GB, free: 94.28 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.05188/9.799, allocations: 22.7 MB / 2.465 GB, free: 84.06 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/9.81, allocations: 2.835 MB / 2.468 GB, free: 84 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003598/9.813, allocations: 1.672 MB / 2.47 GB, free: 83.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01707/9.83, allocations: 6.357 MB / 2.476 GB, free: 81.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008377/9.839, allocations: 2.116 MB / 2.478 GB, free: 81.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01131/9.85, allocations: 2.188 MB / 2.48 GB, free: 81.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 1.534e-05/9.85, allocations: 0 / 2.48 GB, free: 81.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=157): time 0.03321/9.883, allocations: 5.48 MB / 2.485 GB, free: 81.22 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/9.884, allocations: 232.4 kB / 2.486 GB, free: 80.97 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009814/9.893, allocations: 4.261 MB / 2.49 GB, free: 80.62 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0007891/9.894, allocations: 74.7 kB / 2.49 GB, free: 80.59 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.003061/9.897, allocations: 2.46 MB / 2.492 GB, free: 79.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/9.899, allocations: 0.5648 MB / 2.493 GB, free: 79.45 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/9.899, allocations: 53.62 kB / 2.493 GB, free: 79.45 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001836/9.899, allocations: 413.5 kB / 2.493 GB, free: 79.14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00356/9.903, allocations: 1.506 MB / 2.495 GB, free: 79.13 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004607/9.907, allocations: 2.794 MB / 2.497 GB, free: 77 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004838/9.912, allocations: 1.982 MB / 2.499 GB, free: 76.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.971e-05/9.912, allocations: 9.469 kB / 2.499 GB, free: 76.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.02485/9.937, allocations: 5.879 MB / 2.505 GB, free: 74.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003709/9.941, allocations: 15.9 MB / 2.521 GB, free: 57.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001283/9.941, allocations: 41.28 kB / 2.521 GB, free: 57.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1393/10.08, allocations: 11.54 MB / 2.532 GB, free: 55.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/10.09, allocations: 0.7161 MB / 2.533 GB, free: 55.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/10.1, allocations: 5.394 MB / 2.538 GB, free: 52.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00826/10.11, allocations: 329.2 kB / 2.538 GB, free: 52.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009637/10.11, allocations: 170.2 kB / 2.538 GB, free: 52.61 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/10.11, allocations: 10.5 kB / 2.538 GB, free: 52.6 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01217/10.13, allocations: 4.874 MB / 2.543 GB, free: 48.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/10.13, allocations: 36 kB / 2.543 GB, free: 48.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.138/10.26, allocations: 11.35 MB / 2.554 GB, free: 39.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00548/10.27, allocations: 0.6982 MB / 2.555 GB, free: 39.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01635/10.29, allocations: 7.717 MB / 2.562 GB, free: 31.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007163/10.29, allocations: 283.7 kB / 2.563 GB, free: 30.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009364/10.29, allocations: 155.9 kB / 2.563 GB, free: 30.59 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.001349/10.3, allocations: 302.5 kB / 2.563 GB, free: 30.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/10.3, allocations: 458.3 kB / 2.564 GB, free: 29.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02496/10.32, allocations: 5.392 MB / 2.569 GB, free: 24.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.371e-05/10.32, allocations: 19.98 kB / 2.569 GB, free: 24.43 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/10.32, allocations: 3.953 kB / 2.569 GB, free: 24.42 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03825/10.36, allocations: 7.287 MB / 2.576 GB, free: 16.86 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0616/10.42, allocations: 13.54 MB / 2.589 GB, free: 3.258 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.63e-05/10.42, allocations: 3.938 kB / 2.589 GB, free: 3.254 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005216/10.43, allocations: 431.5 kB / 2.59 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1403/10.57, allocations: 11.74 MB / 2.601 GB, free: 7.137 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000688/10.57, allocations: 51.95 kB / 2.601 GB, free: 7.086 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6768/11.25, allocations: 9.436 MB / 2.61 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/11.25, allocations: 0.75 kB / 2.61 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0542/11.3, allocations: 10.1 MB / 2.62 GB, free: 118.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004512/11.3, allocations: 1.05 MB / 2.621 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002008/11.31, allocations: 30.62 kB / 2.621 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00793/11.31, allocations: 292.2 kB / 2.622 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009113/11.32, allocations: 119.8 kB / 2.622 GB, free: 118.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004923/11.32, allocations: 88.7 kB / 2.622 GB, free: 118.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.008667/11.32, allocations: 3.277 MB / 2.625 GB, free: 118.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.313e-06/11.32, allocations: 2.906 kB / 2.625 GB, free: 118.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01626/11.34, allocations: 2.778 MB / 2.628 GB, free: 118.2 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.05679/11.4, allocations: 11.88 MB / 2.639 GB, free: 116.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03282/11.43, allocations: 7.386 MB / 2.647 GB, free: 116.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.515e-05/11.43, allocations: 0.7812 kB / 2.647 GB, free: 116.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01544/11.45, allocations: 2.882 MB / 2.649 GB, free: 116.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02155/11.47, allocations: 2.57 MB / 2.652 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0487/11.52, allocations: 9.618 MB / 2.661 GB, free: 114.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006275/11.52, allocations: 3.304 MB / 2.664 GB, free: 113.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.019/11.54, allocations: 3.086 MB / 2.668 GB, free: 113.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005276/11.55, allocations: 1.908 MB / 2.669 GB, free: 113.7 MB / 0.823 GB Notification: Performance of SimCode: time 2.074e-06/11.55, allocations: 0 / 2.669 GB, free: 113.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3737/11.92, allocations: 170.4 MB / 2.836 GB, free: 51.34 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/11.92, allocations: 236.9 kB / 2.836 GB, free: 51.07 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/22.16, allocations: 0 / 2.836 GB, free: 51.07 MB / 0.823 GB