Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(Buildings): time 4.217/4.217, allocations: 464.6 MB / 476.8 MB, free: 2.133 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.987e-05, allocations: 4 kB / 0.5731 GB, free: 5.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1981, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.446, allocations: 414.2 MB / 1.082 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/1.446, allocations: 87.02 kB / 1.082 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.299/8.745, allocations: 1.449 GB / 2.531 GB, free: 129.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.637e-06/8.745, allocations: 0 / 2.531 GB, free: 129.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0008389/8.746, allocations: 151 kB / 2.531 GB, free: 129.1 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.0141/8.76, allocations: 4.58 MB / 2.536 GB, free: 127.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/8.76, allocations: 11.78 kB / 2.536 GB, free: 127.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/8.766, allocations: 0.8004 MB / 2.536 GB, free: 127.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02098/8.787, allocations: 6.764 MB / 2.543 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/8.787, allocations: 261.3 kB / 2.543 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/8.788, allocations: 353.2 kB / 2.544 GB, free: 126.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/8.802, allocations: 5.247 MB / 2.549 GB, free: 125.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/8.802, allocations: 9.312 kB / 2.549 GB, free: 125.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00101/8.803, allocations: 149.2 kB / 2.549 GB, free: 125.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.566e-05/8.803, allocations: 82.19 kB / 2.549 GB, free: 125.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/8.815, allocations: 4.857 MB / 2.554 GB, free: 125.7 MB / 0.9167 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.04334/8.858, allocations: 22.7 MB / 2.576 GB, free: 115.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005671/8.864, allocations: 2.603 MB / 2.578 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/8.867, allocations: 1.695 MB / 2.58 GB, free: 115.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/8.883, allocations: 7.029 MB / 2.587 GB, free: 113.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003764/8.887, allocations: 1.773 MB / 2.589 GB, free: 113.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008716/8.896, allocations: 2.037 MB / 2.591 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=157): time 1.355e-05/8.896, allocations: 0 / 2.591 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=157): time 0.01318/8.909, allocations: 4.552 MB / 2.595 GB, free: 112.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/8.909, allocations: 144.7 kB / 2.595 GB, free: 112.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009896/8.919, allocations: 4.507 MB / 2.6 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000589/8.92, allocations: 77.66 kB / 2.6 GB, free: 112.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002934/8.922, allocations: 2.455 MB / 2.602 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009395/8.923, allocations: 0.5553 MB / 2.603 GB, free: 111.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/8.924, allocations: 51.94 kB / 2.603 GB, free: 111.3 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001857/8.924, allocations: 413.5 kB / 2.603 GB, free: 111 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003059/8.927, allocations: 1.467 MB / 2.605 GB, free: 111 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004076/8.931, allocations: 2.755 MB / 2.607 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/8.935, allocations: 1.946 MB / 2.609 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/8.935, allocations: 7.188 kB / 2.609 GB, free: 109.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01296/8.948, allocations: 5.347 MB / 2.614 GB, free: 108.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.003037/8.951, allocations: 15.27 MB / 2.629 GB, free: 92.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/8.952, allocations: 34.84 kB / 2.629 GB, free: 92.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1117/9.063, allocations: 11.46 MB / 2.641 GB, free: 92.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004464/9.068, allocations: 0.693 MB / 2.641 GB, free: 92.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009304/9.077, allocations: 4.726 MB / 2.646 GB, free: 90.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007155/9.084, allocations: 364.3 kB / 2.646 GB, free: 90.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008273/9.085, allocations: 164.9 kB / 2.646 GB, free: 90.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/9.085, allocations: 2.938 kB / 2.646 GB, free: 90.82 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01091/9.096, allocations: 4.828 MB / 2.651 GB, free: 90.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/9.096, allocations: 45.62 kB / 2.651 GB, free: 90.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0802/9.176, allocations: 11.36 MB / 2.662 GB, free: 89.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004212/9.181, allocations: 0.6883 MB / 2.663 GB, free: 89.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01433/9.195, allocations: 7.706 MB / 2.67 GB, free: 86.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/9.202, allocations: 342.6 kB / 2.671 GB, free: 86.55 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007652/9.202, allocations: 150.7 kB / 2.671 GB, free: 86.54 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * 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 (287): * Single equations (assignments): 280 * 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.001037/9.203, allocations: 293.2 kB / 2.671 GB, free: 86.41 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/9.205, allocations: 460.6 kB / 2.672 GB, free: 86.18 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/9.215, allocations: 4.484 MB / 2.676 GB, free: 85.96 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/9.215, allocations: 18.25 kB / 2.676 GB, free: 85.96 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-06/9.215, allocations: 0 / 2.676 GB, free: 85.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01697/9.232, allocations: 6.38 MB / 2.682 GB, free: 84.58 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03853/9.271, allocations: 13.03 MB / 2.695 GB, free: 83.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/9.271, allocations: 4.062 kB / 2.695 GB, free: 83.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003667/9.274, allocations: 428.8 kB / 2.695 GB, free: 83.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08477/9.359, allocations: 11.64 MB / 2.707 GB, free: 82.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004333/9.36, allocations: 44.2 kB / 2.707 GB, free: 82.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007436/9.367, allocations: 4.113 MB / 2.711 GB, free: 80.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.756e-06/9.367, allocations: 3.281 kB / 2.711 GB, free: 80.93 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02477/9.392, allocations: 9.011 MB / 2.72 GB, free: 79.65 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00388/9.396, allocations: 1.107 MB / 2.721 GB, free: 79.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/9.398, allocations: 30.81 kB / 2.721 GB, free: 79.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005588/9.403, allocations: 292.2 kB / 2.721 GB, free: 79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/9.404, allocations: 109.2 kB / 2.721 GB, free: 78.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003997/9.404, allocations: 86.88 kB / 2.721 GB, free: 78.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00806/9.412, allocations: 3.467 MB / 2.725 GB, free: 76.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.378e-06/9.412, allocations: 0 / 2.725 GB, free: 76.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01274/9.425, allocations: 2.822 MB / 2.727 GB, free: 73.83 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (129): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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 {10 3,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002899/9.428, allocations: 1.269 MB / 2.729 GB, free: 72.81 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01949/9.447, allocations: 7.226 MB / 2.736 GB, free: 66.48 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/9.448, allocations: 5.016 kB / 2.736 GB, free: 66.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006551/9.454, allocations: 2.412 MB / 2.738 GB, free: 64.38 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01473/9.469, allocations: 2.713 MB / 2.741 GB, free: 62.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01738/9.486, allocations: 7.726 MB / 2.748 GB, free: 55.69 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003923/9.49, allocations: 3.314 MB / 2.751 GB, free: 53.21 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0129/9.503, allocations: 3.007 MB / 2.754 GB, free: 51.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/9.504, allocations: 262 kB / 2.755 GB, free: 51.11 MB / 0.9167 GB Notification: Performance of SimCode: time 2.08e-06/9.504, allocations: 0 / 2.755 GB, free: 51.11 MB / 0.9167 GB Notification: Performance of Templates: time 0.8294/10.33, allocations: 123.6 MB / 2.875 GB, free: 120.7 MB / 0.9323 GB