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.674/3.674, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.394e-05/5.405e-05, allocations: 11.92 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.483, allocations: 92.69 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9142/1.397, allocations: 398.4 MB / 0.9786 GB, free: 10.38 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.398, allocations: 90.77 kB / 0.9787 GB, free: 10.33 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.678/8.075, allocations: 1.44 GB / 2.419 GB, free: 105.5 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.969e-06/8.075, allocations: 0 / 2.419 GB, free: 105.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0009179/8.076, allocations: 154.3 kB / 2.419 GB, free: 105.5 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.01408/8.09, allocations: 4.539 MB / 2.423 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/8.09, allocations: 11.66 kB / 2.423 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005858/8.096, allocations: 0.8411 MB / 2.424 GB, free: 103.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02282/8.119, allocations: 7.413 MB / 2.431 GB, free: 102.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000319/8.119, allocations: 267.4 kB / 2.432 GB, free: 102.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00116/8.12, allocations: 354.8 kB / 2.432 GB, free: 102.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/8.137, allocations: 5.549 MB / 2.437 GB, free: 101.4 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/8.137, allocations: 11.75 kB / 2.437 GB, free: 101.4 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007133/8.137, allocations: 147.1 kB / 2.437 GB, free: 101.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.383e-05/8.138, allocations: 82.06 kB / 2.438 GB, free: 101.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01448/8.152, allocations: 5.098 MB / 2.442 GB, free: 101.3 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.04129/8.193, allocations: 22.69 MB / 2.465 GB, free: 89.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009219/8.203, allocations: 2.843 MB / 2.467 GB, free: 88.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00313/8.206, allocations: 1.674 MB / 2.469 GB, free: 87.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/8.22, allocations: 6.374 MB / 2.475 GB, free: 82.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007329/8.228, allocations: 2.114 MB / 2.477 GB, free: 81.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008574/8.236, allocations: 2.181 MB / 2.479 GB, free: 80.65 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=157): time 1.304e-05/8.236, allocations: 0 / 2.479 GB, free: 80.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=157): time 0.02439/8.261, allocations: 5.482 MB / 2.485 GB, free: 76.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/8.261, allocations: 226.9 kB / 2.485 GB, free: 76.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007867/8.269, allocations: 4.264 MB / 2.489 GB, free: 72.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005827/8.269, allocations: 69.7 kB / 2.489 GB, free: 72.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002174/8.272, allocations: 2.461 MB / 2.492 GB, free: 69.58 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007592/8.272, allocations: 0.5565 MB / 2.492 GB, free: 69.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/8.273, allocations: 56 kB / 2.492 GB, free: 68.97 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001619/8.273, allocations: 419.5 kB / 2.493 GB, free: 68.56 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/8.276, allocations: 1.505 MB / 2.494 GB, free: 67.05 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/8.279, allocations: 2.792 MB / 2.497 GB, free: 63.64 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003704/8.283, allocations: 1.974 MB / 2.499 GB, free: 61.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.243e-05/8.283, allocations: 8 kB / 2.499 GB, free: 61.65 MB / 0.8073 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.0169/8.3, allocations: 5.886 MB / 2.505 GB, free: 55.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002973/8.303, allocations: 15.9 MB / 2.52 GB, free: 38.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.215e-05/8.303, allocations: 43.55 kB / 2.52 GB, free: 38.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07569/8.379, allocations: 11.55 MB / 2.531 GB, free: 26.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004151/8.383, allocations: 0.7176 MB / 2.532 GB, free: 25.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/8.395, allocations: 5.394 MB / 2.537 GB, free: 20.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00599/8.401, allocations: 335.5 kB / 2.538 GB, free: 20.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005794/8.401, allocations: 167.9 kB / 2.538 GB, free: 19.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/8.402, allocations: 4 kB / 2.538 GB, free: 19.97 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009409/8.411, allocations: 4.872 MB / 2.543 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.801e-05/8.411, allocations: 39.98 kB / 2.543 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07695/8.488, allocations: 11.34 MB / 2.554 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/8.492, allocations: 0.7084 MB / 2.554 GB, free: 3.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/8.506, allocations: 7.716 MB / 2.562 GB, free: 10.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/8.512, allocations: 283.6 kB / 2.562 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005428/8.513, allocations: 159.9 kB / 2.562 GB, free: 10.55 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.001068/8.514, allocations: 296.4 kB / 2.563 GB, free: 10.26 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/8.515, allocations: 454.4 kB / 2.563 GB, free: 9.809 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/8.534, allocations: 5.398 MB / 2.568 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/8.534, allocations: 16 kB / 2.568 GB, free: 4.371 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/8.534, allocations: 3.953 kB / 2.568 GB, free: 4.367 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5429/9.077, allocations: 7.287 MB / 2.575 GB, free: 128.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04618/9.123, allocations: 13.54 MB / 2.589 GB, free: 127.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/9.123, allocations: 0 / 2.589 GB, free: 127.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003552/9.127, allocations: 439.9 kB / 2.589 GB, free: 127.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08079/9.207, allocations: 11.73 MB / 2.601 GB, free: 127.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005188/9.208, allocations: 49.73 kB / 2.601 GB, free: 127.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02828/9.236, allocations: 9.46 MB / 2.61 GB, free: 123.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.404e-06/9.236, allocations: 7.797 kB / 2.61 GB, free: 123.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03744/9.274, allocations: 10.09 MB / 2.62 GB, free: 123.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003794/9.278, allocations: 1.052 MB / 2.621 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001742/9.279, allocations: 32.36 kB / 2.621 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005938/9.285, allocations: 284.1 kB / 2.621 GB, free: 123.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007099/9.286, allocations: 124.6 kB / 2.621 GB, free: 123.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004265/9.287, allocations: 88.69 kB / 2.621 GB, free: 123.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.007293/9.294, allocations: 3.279 MB / 2.624 GB, free: 123 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.17e-06/9.294, allocations: 0 / 2.624 GB, free: 123 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01293/9.307, allocations: 2.778 MB / 2.627 GB, free: 122.9 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.002996/9.31, allocations: 1.257 MB / 2.628 GB, free: 122.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02465/9.335, allocations: 7.383 MB / 2.636 GB, free: 122.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/9.335, allocations: 2.375 kB / 2.636 GB, free: 122.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01138/9.346, allocations: 2.884 MB / 2.638 GB, free: 121.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01497/9.361, allocations: 2.566 MB / 2.641 GB, free: 121.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/9.384, allocations: 8.26 MB / 2.649 GB, free: 120.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00399/9.388, allocations: 3.3 MB / 2.652 GB, free: 119.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01441/9.403, allocations: 3.095 MB / 2.655 GB, free: 119.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/9.404, allocations: 265.8 kB / 2.656 GB, free: 119.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.685e-06/9.404, allocations: 0 / 2.656 GB, free: 119.5 MB / 0.823 GB Notification: Performance of Templates: time 0.251/9.655, allocations: 126.8 MB / 2.779 GB, free: 75.5 MB / 0.823 GB