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.651/3.651, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.136e-05/3.147e-05, allocations: 4 kB / 0.499 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4764, allocations: 92.68 MB / 0.5895 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9012/1.378, allocations: 398.4 MB / 0.9786 GB, free: 10.42 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.378, allocations: 89.14 kB / 0.9787 GB, free: 10.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.582/7.96, allocations: 1.44 GB / 2.419 GB, free: 105.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.646e-06/7.96, allocations: 0 / 2.419 GB, free: 105.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0008083/7.961, allocations: 161.9 kB / 2.419 GB, free: 105.6 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.01345/7.975, allocations: 4.536 MB / 2.423 GB, free: 103.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/7.975, allocations: 10.72 kB / 2.423 GB, free: 103.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005589/7.98, allocations: 0.8425 MB / 2.424 GB, free: 103.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02164/8.002, allocations: 7.403 MB / 2.431 GB, free: 102.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/8.002, allocations: 260.3 kB / 2.431 GB, free: 102.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/8.004, allocations: 365.7 kB / 2.432 GB, free: 102.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/8.019, allocations: 5.583 MB / 2.437 GB, free: 101.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001019/8.019, allocations: 6.344 kB / 2.437 GB, free: 101.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007096/8.02, allocations: 148.6 kB / 2.437 GB, free: 101.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.585e-05/8.02, allocations: 89.12 kB / 2.438 GB, free: 101.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/8.034, allocations: 5.162 MB / 2.443 GB, free: 101.4 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.0405/8.075, allocations: 22.69 MB / 2.465 GB, free: 89.94 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008048/8.083, allocations: 2.864 MB / 2.468 GB, free: 88.61 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002846/8.085, allocations: 1.665 MB / 2.469 GB, free: 87.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/8.1, allocations: 6.368 MB / 2.475 GB, free: 82.88 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006389/8.106, allocations: 2.127 MB / 2.477 GB, free: 81.65 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007911/8.114, allocations: 2.187 MB / 2.48 GB, free: 80.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 1.168e-05/8.114, allocations: 0 / 2.48 GB, free: 80.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=157): time 0.04718/8.162, allocations: 7.758 MB / 2.487 GB, free: 74.31 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/8.162, allocations: 222.9 kB / 2.487 GB, free: 74.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008659/8.17, allocations: 4.264 MB / 2.492 GB, free: 69.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006013/8.171, allocations: 72.44 kB / 2.492 GB, free: 69.72 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002521/8.174, allocations: 2.461 MB / 2.494 GB, free: 67.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009297/8.175, allocations: 0.5543 MB / 2.495 GB, free: 66.7 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/8.175, allocations: 54.95 kB / 2.495 GB, free: 66.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001832/8.175, allocations: 427.5 kB / 2.495 GB, free: 66.22 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002915/8.178, allocations: 1.505 MB / 2.496 GB, free: 64.71 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/8.182, allocations: 2.798 MB / 2.499 GB, free: 61.3 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003712/8.186, allocations: 1.981 MB / 2.501 GB, free: 59.31 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.536e-05/8.186, allocations: 12 kB / 2.501 GB, free: 59.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.0474/8.233, allocations: 9.026 MB / 2.51 GB, free: 50.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.003006/8.236, allocations: 15.9 MB / 2.525 GB, free: 32.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-05/8.236, allocations: 39.98 kB / 2.526 GB, free: 32.7 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1197/8.356, allocations: 15.5 MB / 2.541 GB, free: 17.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004064/8.36, allocations: 0.7137 MB / 2.541 GB, free: 16.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01183/8.372, allocations: 5.398 MB / 2.547 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006295/8.378, allocations: 343.3 kB / 2.547 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007682/8.379, allocations: 159.9 kB / 2.547 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/8.379, allocations: 7.172 kB / 2.547 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03997/8.419, allocations: 8.01 MB / 2.555 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-05/8.419, allocations: 40.25 kB / 2.555 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1174/8.537, allocations: 15.29 MB / 2.57 GB, free: 3.152 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/8.541, allocations: 0.6982 MB / 2.571 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5195/9.06, allocations: 7.698 MB / 2.578 GB, free: 126.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005565/9.066, allocations: 286.4 kB / 2.578 GB, free: 126.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007717/9.067, allocations: 156.1 kB / 2.579 GB, free: 126.9 MB / 0.823 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.001084/9.068, allocations: 301 kB / 2.579 GB, free: 126.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/9.069, allocations: 462.9 kB / 2.579 GB, free: 126.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02687/9.096, allocations: 6.326 MB / 2.585 GB, free: 126.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.05e-05/9.096, allocations: 14.84 kB / 2.585 GB, free: 126.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.617e-06/9.096, allocations: 4.875 kB / 2.585 GB, free: 126.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02505/9.121, allocations: 7.301 MB / 2.593 GB, free: 125.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04351/9.165, allocations: 13.53 MB / 2.606 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/9.165, allocations: 0 / 2.606 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003373/9.168, allocations: 447.5 kB / 2.606 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07723/9.246, allocations: 11.73 MB / 2.618 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/9.246, allocations: 55.06 kB / 2.618 GB, free: 124.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/9.275, allocations: 9.458 MB / 2.627 GB, free: 120.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.986e-06/9.275, allocations: 0 / 2.627 GB, free: 120.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0342/9.309, allocations: 10.1 MB / 2.637 GB, free: 119.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00368/9.313, allocations: 1.049 MB / 2.638 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001665/9.314, allocations: 32.03 kB / 2.638 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005419/9.32, allocations: 288.3 kB / 2.638 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007192/9.32, allocations: 119.8 kB / 2.638 GB, free: 119.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004201/9.321, allocations: 89.59 kB / 2.638 GB, free: 119.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.007003/9.328, allocations: 3.284 MB / 2.642 GB, free: 119.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.64e-07/9.328, allocations: 0 / 2.642 GB, free: 119.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01282/9.341, allocations: 2.773 MB / 2.644 GB, free: 119.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.002862/9.344, allocations: 1.249 MB / 2.645 GB, free: 119.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02154/9.365, allocations: 7.508 MB / 2.653 GB, free: 118.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/9.365, allocations: 5.812 kB / 2.653 GB, free: 118.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00981/9.375, allocations: 2.909 MB / 2.656 GB, free: 118.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0141/9.389, allocations: 2.566 MB / 2.658 GB, free: 118.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02185/9.411, allocations: 8.273 MB / 2.666 GB, free: 116.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/9.415, allocations: 3.302 MB / 2.669 GB, free: 115.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01382/9.429, allocations: 3.09 MB / 2.673 GB, free: 115.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/9.43, allocations: 262 kB / 2.673 GB, free: 115.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.844e-06/9.43, allocations: 0 / 2.673 GB, free: 115.9 MB / 0.823 GB Notification: Performance of Templates: time 0.2395/9.67, allocations: 127.4 MB / 2.797 GB, free: 60.77 MB / 0.823 GB