Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(Buildings): time 3.584/3.584, allocations: 402.1 MB / 416 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.973e-05/2.981e-05, allocations: 4 kB / 0.5003 GB, free: 8.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2093, allocations: 92.69 MB / 0.5908 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.505/1.714, allocations: 398.4 MB / 0.9799 GB, free: 197 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/1.715, allocations: 94.95 kB / 0.98 GB, free: 196.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.736/8.451, allocations: 1.45 GB / 2.43 GB, free: 103 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.289e-06/8.451, allocations: 0 / 2.43 GB, free: 103 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.000895/8.452, allocations: 152.7 kB / 2.43 GB, free: 103 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.01444/8.466, allocations: 4.561 MB / 2.434 GB, free: 101.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/8.466, allocations: 11.47 kB / 2.434 GB, free: 101.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006275/8.472, allocations: 0.841 MB / 2.435 GB, free: 101 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02359/8.496, allocations: 7.453 MB / 2.442 GB, free: 100.1 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/8.496, allocations: 266.8 kB / 2.443 GB, free: 100.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001357/8.498, allocations: 348.1 kB / 2.443 GB, free: 100.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/8.516, allocations: 5.732 MB / 2.448 GB, free: 99.36 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/8.516, allocations: 8.438 kB / 2.448 GB, free: 99.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/8.517, allocations: 148.9 kB / 2.449 GB, free: 99.36 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/8.517, allocations: 85.38 kB / 2.449 GB, free: 99.36 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/8.533, allocations: 5.358 MB / 2.454 GB, free: 99.33 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04247/8.576, allocations: 22.74 MB / 2.476 GB, free: 89.09 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/8.586, allocations: 3.027 MB / 2.479 GB, free: 89.02 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/8.6, allocations: 6.35 MB / 2.485 GB, free: 86.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007446/8.608, allocations: 2.219 MB / 2.487 GB, free: 86.75 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008394/8.616, allocations: 2.189 MB / 2.49 GB, free: 86.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 1.318e-05/8.616, allocations: 5.594 kB / 2.49 GB, free: 86.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=157): time 0.03822/8.655, allocations: 8.166 MB / 2.498 GB, free: 85.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.001e-05/8.655, allocations: 223.9 kB / 2.498 GB, free: 85.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009211/8.664, allocations: 4.311 MB / 2.502 GB, free: 85.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006146/8.665, allocations: 74.92 kB / 2.502 GB, free: 85.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002768/8.667, allocations: 2.463 MB / 2.504 GB, free: 84.48 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009558/8.668, allocations: 0.5647 MB / 2.505 GB, free: 84.13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/8.669, allocations: 56.53 kB / 2.505 GB, free: 84.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001933/8.669, allocations: 413.1 kB / 2.505 GB, free: 83.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/8.673, allocations: 1.61 MB / 2.507 GB, free: 83.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005052/8.678, allocations: 2.923 MB / 2.51 GB, free: 82.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005355/8.684, allocations: 2.067 MB / 2.512 GB, free: 82.15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.952e-05/8.684, allocations: 9.281 kB / 2.512 GB, free: 82.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.02301/8.707, allocations: 6.235 MB / 2.518 GB, free: 81.76 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003169/8.71, allocations: 15.91 MB / 2.534 GB, free: 64.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/8.71, allocations: 38.03 kB / 2.534 GB, free: 64.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08664/8.797, allocations: 11.63 MB / 2.545 GB, free: 64.11 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/8.801, allocations: 0.7166 MB / 2.546 GB, free: 64.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/8.816, allocations: 5.516 MB / 2.551 GB, free: 61.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006928/8.823, allocations: 333.8 kB / 2.551 GB, free: 61.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008279/8.823, allocations: 161.8 kB / 2.551 GB, free: 61.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/8.823, allocations: 8.875 kB / 2.551 GB, free: 61.93 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01135/8.835, allocations: 5.082 MB / 2.556 GB, free: 61.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/8.835, allocations: 34.41 kB / 2.556 GB, free: 61.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08828/8.923, allocations: 11.35 MB / 2.568 GB, free: 60.91 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/8.927, allocations: 0.7011 MB / 2.568 GB, free: 60.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01313/8.941, allocations: 7.791 MB / 2.576 GB, free: 57.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005902/8.947, allocations: 282.7 kB / 2.576 GB, free: 57.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007626/8.947, allocations: 159.1 kB / 2.576 GB, free: 57.09 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" fixed = true 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.004126/8.952, allocations: 1.47 MB / 2.578 GB, free: 56.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/8.953, allocations: 456.2 kB / 2.578 GB, free: 56.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/8.974, allocations: 5.645 MB / 2.584 GB, free: 56.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/8.974, allocations: 17.31 kB / 2.584 GB, free: 56.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.989e-06/8.974, allocations: 0 / 2.584 GB, free: 56.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03171/9.006, allocations: 7.538 MB / 2.591 GB, free: 54.98 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05133/9.057, allocations: 13.81 MB / 2.605 GB, free: 51.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/9.057, allocations: 3.219 kB / 2.605 GB, free: 51.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003745/9.061, allocations: 434.2 kB / 2.605 GB, free: 51.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07972/9.141, allocations: 11.81 MB / 2.616 GB, free: 43.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005055/9.141, allocations: 50.78 kB / 2.617 GB, free: 43.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03447/9.176, allocations: 10.1 MB / 2.626 GB, free: 35.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.071e-06/9.176, allocations: 4 kB / 2.626 GB, free: 35.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03579/9.212, allocations: 10.04 MB / 2.636 GB, free: 27.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003881/9.216, allocations: 1.051 MB / 2.637 GB, free: 26.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001874/9.217, allocations: 28 kB / 2.637 GB, free: 26.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005734/9.223, allocations: 283.5 kB / 2.638 GB, free: 25.95 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/9.224, allocations: 127.7 kB / 2.638 GB, free: 25.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004441/9.224, allocations: 88.91 kB / 2.638 GB, free: 25.81 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.007351/9.232, allocations: 3.331 MB / 2.641 GB, free: 22.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.083e-06/9.232, allocations: 1.219 kB / 2.641 GB, free: 22.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01315/9.245, allocations: 2.769 MB / 2.644 GB, free: 19.86 MB / 0.8073 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.00284/9.248, allocations: 1.246 MB / 2.645 GB, free: 18.78 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02406/9.272, allocations: 7.786 MB / 2.653 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/9.272, allocations: 4.656 kB / 2.653 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01102/9.283, allocations: 3.025 MB / 2.655 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01475/9.298, allocations: 2.564 MB / 2.658 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02962/9.328, allocations: 11.57 MB / 2.669 GB, free: 9.918 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006473/9.334, allocations: 3.298 MB / 2.672 GB, free: 6.594 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01556/9.35, allocations: 3.099 MB / 2.676 GB, free: 3.656 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/9.351, allocations: 267.3 kB / 2.676 GB, free: 3.395 MB / 0.823 GB Notification: Performance of SimCode: time 1.675e-06/9.351, allocations: 0 / 2.676 GB, free: 3.395 MB / 0.823 GB Notification: Performance of Templates: time 0.7905/10.14, allocations: 127.4 MB / 2.8 GB, free: 110.9 MB / 0.823 GB