Running command: translateModel(IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(IBPSA): time 2.699/2.699, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.923e-05, allocations: 7.812 kB / 370.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1177, allocations: 67.02 MB / 437.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.245, allocations: 380 MB / 0.7985 GB, free: 180.3 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/1.246, allocations: 88.34 kB / 0.7986 GB, free: 180.3 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.91/8.156, allocations: 1.449 GB / 2.247 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.972e-06/8.156, allocations: 0 / 2.247 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0008865/8.157, allocations: 158.4 kB / 2.247 GB, free: 57.65 MB / 0.6042 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.171, allocations: 4.572 MB / 2.252 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/8.171, allocations: 10.12 kB / 2.252 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005373/8.177, allocations: 0.8088 MB / 2.253 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02124/8.198, allocations: 6.751 MB / 2.259 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/8.198, allocations: 260.1 kB / 2.26 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/8.2, allocations: 362.9 kB / 2.26 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/8.212, allocations: 5.239 MB / 2.265 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001028/8.212, allocations: 10.09 kB / 2.265 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007333/8.213, allocations: 144.6 kB / 2.265 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.408e-05/8.213, allocations: 85.5 kB / 2.265 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/8.224, allocations: 4.853 MB / 2.27 GB, free: 53.64 MB / 0.6042 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.04238/8.267, allocations: 22.7 MB / 2.292 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005616/8.273, allocations: 2.6 MB / 2.295 GB, free: 43.44 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003134/8.276, allocations: 1.7 MB / 2.296 GB, free: 43.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/8.292, allocations: 7.025 MB / 2.303 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003556/8.295, allocations: 1.778 MB / 2.305 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008314/8.304, allocations: 2.026 MB / 2.307 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=157): time 1.243e-05/8.304, allocations: 0 / 2.307 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=157): time 0.01298/8.317, allocations: 4.549 MB / 2.311 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/8.317, allocations: 152.6 kB / 2.311 GB, free: 37.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009793/8.327, allocations: 4.512 MB / 2.316 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006519/8.327, allocations: 71.48 kB / 2.316 GB, free: 35.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002796/8.33, allocations: 2.452 MB / 2.318 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009215/8.331, allocations: 0.5606 MB / 2.319 GB, free: 33.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/8.331, allocations: 51.03 kB / 2.319 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001757/8.332, allocations: 413.8 kB / 2.319 GB, free: 32.88 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003021/8.335, allocations: 1.466 MB / 2.321 GB, free: 32.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/8.339, allocations: 2.76 MB / 2.323 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/8.342, allocations: 1.942 MB / 2.325 GB, free: 28.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.12e-05/8.342, allocations: 8 kB / 2.325 GB, free: 28.01 MB / 0.6042 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01195/8.354, allocations: 5.338 MB / 2.331 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.004119/8.359, allocations: 15.28 MB / 2.346 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.545e-05/8.359, allocations: 35.52 kB / 2.346 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07567/8.434, allocations: 11.45 MB / 2.357 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004468/8.439, allocations: 0.6904 MB / 2.357 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/8.45, allocations: 4.712 MB / 2.362 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006686/8.456, allocations: 363.4 kB / 2.362 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009013/8.457, allocations: 162.7 kB / 2.363 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/8.457, allocations: 4 kB / 2.363 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01262/8.47, allocations: 4.829 MB / 2.367 GB, free: 0.7695 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/8.47, allocations: 32 kB / 2.367 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5061/8.976, allocations: 11.38 MB / 2.378 GB, free: 81.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004231/8.981, allocations: 0.6978 MB / 2.379 GB, free: 81.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/8.996, allocations: 7.682 MB / 2.387 GB, free: 78.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006374/9.002, allocations: 348.3 kB / 2.387 GB, free: 78.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007547/9.003, allocations: 151.7 kB / 2.387 GB, free: 78.35 MB / 0.6198 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.0009297/9.004, allocations: 291.2 kB / 2.387 GB, free: 78.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/9.005, allocations: 463.2 kB / 2.388 GB, free: 78.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/9.016, allocations: 4.486 MB / 2.392 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.871e-05/9.016, allocations: 15.94 kB / 2.392 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/9.016, allocations: 0 / 2.392 GB, free: 78.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01721/9.033, allocations: 6.381 MB / 2.398 GB, free: 76.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03715/9.07, allocations: 13.01 MB / 2.411 GB, free: 75.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/9.07, allocations: 5.375 kB / 2.411 GB, free: 75.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003554/9.074, allocations: 425.7 kB / 2.411 GB, free: 75.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08704/9.161, allocations: 11.64 MB / 2.423 GB, free: 75.37 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004276/9.161, allocations: 49.92 kB / 2.423 GB, free: 75.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/9.169, allocations: 4.11 MB / 2.427 GB, free: 73.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.282e-06/9.169, allocations: 0 / 2.427 GB, free: 73.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02439/9.193, allocations: 9.008 MB / 2.436 GB, free: 73.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003917/9.197, allocations: 1.104 MB / 2.437 GB, free: 72.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/9.199, allocations: 32 kB / 2.437 GB, free: 72.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005368/9.204, allocations: 297.1 kB / 2.437 GB, free: 72.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000559/9.205, allocations: 107.3 kB / 2.437 GB, free: 72.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003922/9.205, allocations: 82.77 kB / 2.437 GB, free: 72.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.008003/9.213, allocations: 3.467 MB / 2.441 GB, free: 72.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.093e-06/9.213, allocations: 0 / 2.441 GB, free: 72.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.01328/9.227, allocations: 2.822 MB / 2.443 GB, free: 72.56 MB / 0.6198 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.00295/9.23, allocations: 1.284 MB / 2.445 GB, free: 72.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0201/9.25, allocations: 7.23 MB / 2.452 GB, free: 71.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/9.25, allocations: 1.016 kB / 2.452 GB, free: 71.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00692/9.257, allocations: 2.415 MB / 2.454 GB, free: 71.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.015/9.272, allocations: 2.713 MB / 2.457 GB, free: 71.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01825/9.29, allocations: 7.723 MB / 2.464 GB, free: 69.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004492/9.295, allocations: 3.318 MB / 2.468 GB, free: 69.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01386/9.309, allocations: 2.986 MB / 2.47 GB, free: 68.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/9.31, allocations: 262.7 kB / 2.471 GB, free: 68.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.945e-06/9.31, allocations: 0 / 2.471 GB, free: 68.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.2603/9.57, allocations: 123.6 MB / 2.591 GB, free: 9.375 MB / 0.6355 GB