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.626/3.626, allocations: 403.8 MB / 411 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.939e-05, allocations: 7.938 kB / 0.4941 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4748, allocations: 92.69 MB / 0.5847 GB, free: 2.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8971/1.372, allocations: 397.7 MB / 0.9731 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.372, allocations: 90.25 kB / 0.9731 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.705/8.077, allocations: 1.432 GB / 2.405 GB, free: 93.39 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.324e-06/8.077, allocations: 3 kB / 2.405 GB, free: 93.39 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0009198/8.078, allocations: 148.5 kB / 2.405 GB, free: 93.36 MB / 0.7917 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.01424/8.093, allocations: 4.545 MB / 2.41 GB, free: 91.35 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/8.093, allocations: 9.656 kB / 2.41 GB, free: 91.35 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00595/8.099, allocations: 0.8413 MB / 2.411 GB, free: 91.05 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02298/8.122, allocations: 7.416 MB / 2.418 GB, free: 90.04 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/8.122, allocations: 112.5 kB / 2.418 GB, free: 90.04 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/8.123, allocations: 209.7 kB / 2.418 GB, free: 90.04 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01103/8.134, allocations: 4.65 MB / 2.423 GB, free: 90.02 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/8.147, allocations: 4.818 MB / 2.428 GB, free: 89.26 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001548/8.147, allocations: 21.62 kB / 2.428 GB, free: 89.25 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/8.149, allocations: 9.688 kB / 2.428 GB, free: 89.25 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-05/8.149, allocations: 88.12 kB / 2.428 GB, free: 89.25 MB / 0.7917 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.04155/8.19, allocations: 22.02 MB / 2.449 GB, free: 77.25 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00535/8.196, allocations: 2.576 MB / 2.452 GB, free: 76.25 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002962/8.199, allocations: 1.647 MB / 2.453 GB, free: 75.43 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/8.214, allocations: 6.218 MB / 2.459 GB, free: 70.68 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003482/8.217, allocations: 1.779 MB / 2.461 GB, free: 69.61 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008283/8.226, allocations: 2.114 MB / 2.463 GB, free: 68.65 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=157): time 1.5e-05/8.226, allocations: 0 / 2.463 GB, free: 68.65 MB / 0.7917 GB Notification: Performance of matching and sorting (n=158): time 0.04716/8.273, allocations: 11.09 MB / 2.474 GB, free: 59 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/8.273, allocations: 226.9 kB / 2.474 GB, free: 58.73 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008231/8.281, allocations: 3.704 MB / 2.478 GB, free: 55.03 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0006327/8.282, allocations: 33.7 kB / 2.478 GB, free: 54.99 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002879/8.285, allocations: 2.469 MB / 2.48 GB, free: 52.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000969/8.286, allocations: 0.543 MB / 2.481 GB, free: 51.95 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/8.286, allocations: 0 / 2.481 GB, free: 51.95 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001905/8.286, allocations: 411.5 kB / 2.481 GB, free: 51.54 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/8.289, allocations: 1.477 MB / 2.483 GB, free: 50.06 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/8.293, allocations: 2.761 MB / 2.485 GB, free: 46.68 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008735/8.302, allocations: 2.53 MB / 2.488 GB, free: 44.15 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.722e-05/8.302, allocations: 8 kB / 2.488 GB, free: 44.14 MB / 0.7917 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.05232/8.354, allocations: 9.047 MB / 2.497 GB, free: 35.07 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002997/8.357, allocations: 15.64 MB / 2.512 GB, free: 18.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/8.357, allocations: 36 kB / 2.512 GB, free: 18.12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04275/8.4, allocations: 6.341 MB / 2.518 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003844/8.404, allocations: 0.7059 MB / 2.519 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0174/8.421, allocations: 5.835 MB / 2.525 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006097/8.427, allocations: 263.5 kB / 2.525 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008189/8.428, allocations: 163.9 kB / 2.525 GB, free: 4.738 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/8.428, allocations: 8 kB / 2.525 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04335/8.472, allocations: 7.73 MB / 2.532 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/8.472, allocations: 39.98 kB / 2.533 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0444/8.516, allocations: 6.1 MB / 2.538 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004046/8.52, allocations: 0.6982 MB / 2.539 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5482/9.069, allocations: 7.92 MB / 2.547 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00551/9.074, allocations: 224.5 kB / 2.547 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008545/9.075, allocations: 153.1 kB / 2.547 GB, free: 113.9 MB / 0.8073 GB 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 (294): * Single equations (assignments): 287 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.001221/9.076, allocations: 210.4 kB / 2.547 GB, free: 113.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/9.078, allocations: 434 kB / 2.548 GB, free: 113.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02329/9.101, allocations: 5.516 MB / 2.553 GB, free: 113.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/9.101, allocations: 19.97 kB / 2.553 GB, free: 113.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.634e-06/9.101, allocations: 5.219 kB / 2.553 GB, free: 113.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02122/9.122, allocations: 6.506 MB / 2.56 GB, free: 112.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05032/9.173, allocations: 13.7 MB / 2.573 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/9.173, allocations: 2.75 kB / 2.573 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/9.176, allocations: 418.9 kB / 2.573 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007035/9.183, allocations: 2.654 MB / 2.576 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/9.184, allocations: 32.12 kB / 2.576 GB, free: 111.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03763/9.222, allocations: 10.69 MB / 2.586 GB, free: 107.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.707e-06/9.222, allocations: 2.156 kB / 2.586 GB, free: 107.6 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03146/9.253, allocations: 9.486 MB / 2.596 GB, free: 107.2 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003717/9.257, allocations: 1.013 MB / 2.597 GB, free: 107 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/9.259, allocations: 0 / 2.597 GB, free: 107 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005437/9.264, allocations: 272 kB / 2.597 GB, free: 107 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007616/9.265, allocations: 118.8 kB / 2.597 GB, free: 107 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004497/9.265, allocations: 90.7 kB / 2.597 GB, free: 107 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.006627/9.272, allocations: 2.786 MB / 2.6 GB, free: 106.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.436e-06/9.272, allocations: 0 / 2.6 GB, free: 106.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01399/9.286, allocations: 2.356 MB / 2.602 GB, free: 106.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pump.vol.dynBal.U,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 (126): * Single equations (assignments): 117 * 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,2 4,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00301/9.289, allocations: 1.194 MB / 2.603 GB, free: 106.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02431/9.313, allocations: 7.385 MB / 2.611 GB, free: 106.1 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/9.313, allocations: 4.312 kB / 2.611 GB, free: 106.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/9.326, allocations: 3.023 MB / 2.614 GB, free: 105.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01324/9.339, allocations: 2.24 MB / 2.616 GB, free: 105.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02254/9.362, allocations: 8.022 MB / 2.624 GB, free: 104.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004917/9.367, allocations: 3.301 MB / 2.627 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01404/9.381, allocations: 2.787 MB / 2.629 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/9.382, allocations: 254.8 kB / 2.63 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of SimCode: time 1.655e-06/9.382, allocations: 0 / 2.63 GB, free: 103.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.2207/9.603, allocations: 109 MB / 2.736 GB, free: 81.74 MB / 0.8073 GB