Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(Buildings): time 3.79/3.79, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.024e-05, allocations: 4 kB / 0.499 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5186, allocations: 92.69 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8754/1.394, allocations: 374.9 MB / 0.9557 GB, free: 2.141 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.394, allocations: 94.38 kB / 0.9558 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/2.712, allocations: 279.5 MB / 1.229 GB, free: 125.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.049e-06/2.712, allocations: 0 / 1.229 GB, free: 125.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.032e-05/2.713, allocations: 27.92 kB / 1.229 GB, free: 125.6 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001832/2.714, allocations: 1.009 MB / 1.23 GB, free: 124.6 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/2.714, allocations: 8.031 kB / 1.23 GB, free: 124.6 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/2.715, allocations: 158.9 kB / 1.23 GB, free: 124.4 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/2.717, allocations: 0.5579 MB / 1.23 GB, free: 123.8 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/2.717, allocations: 41 kB / 1.23 GB, free: 123.8 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/2.717, allocations: 56 kB / 1.231 GB, free: 123.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003016/2.72, allocations: 0.7988 MB / 1.231 GB, free: 122.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/2.72, allocations: 3.938 kB / 1.231 GB, free: 122.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/2.72, allocations: 27.98 kB / 1.231 GB, free: 122.8 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/2.72, allocations: 12 kB / 1.231 GB, free: 122.8 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/2.723, allocations: 0.5596 MB / 1.232 GB, free: 122.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/2.727, allocations: 3.18 MB / 1.235 GB, free: 118.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/2.73, allocations: 464.8 kB / 1.235 GB, free: 118.4 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/2.73, allocations: 124.3 kB / 1.236 GB, free: 118.3 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/2.731, allocations: 101.2 kB / 1.236 GB, free: 118.2 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/2.731, allocations: 42.84 kB / 1.236 GB, free: 118.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=23): time 4.622e-06/2.731, allocations: 4 kB / 1.236 GB, free: 118.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.004736/2.735, allocations: 0.6916 MB / 1.236 GB, free: 117.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/2.735, allocations: 162.1 kB / 1.237 GB, free: 117.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000972/2.736, allocations: 0.5898 MB / 1.237 GB, free: 116.6 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/2.737, allocations: 37.7 kB / 1.237 GB, free: 116.6 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/2.737, allocations: 387.4 kB / 1.238 GB, free: 116.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.093e-05/2.737, allocations: 78.86 kB / 1.238 GB, free: 116.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/2.737, allocations: 16.06 kB / 1.238 GB, free: 116.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001131/2.737, allocations: 378.8 kB / 1.238 GB, free: 115.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/2.738, allocations: 161.1 kB / 1.238 GB, free: 115.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/2.738, allocations: 361.3 kB / 1.238 GB, free: 115.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/2.739, allocations: 210.5 kB / 1.239 GB, free: 114.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.944e-06/2.739, allocations: 0 / 1.239 GB, free: 114.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001407/2.74, allocations: 0.5624 MB / 1.239 GB, free: 114.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003739/2.74, allocations: 1.833 MB / 1.241 GB, free: 112.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/2.74, allocations: 12 kB / 1.241 GB, free: 112.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/2.741, allocations: 8 kB / 1.241 GB, free: 112.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/2.744, allocations: 431.5 kB / 1.241 GB, free: 111.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/2.746, allocations: 1.93 MB / 1.243 GB, free: 109.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/2.747, allocations: 143.5 kB / 1.243 GB, free: 109.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/2.748, allocations: 27.98 kB / 1.243 GB, free: 109.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/2.748, allocations: 4 kB / 1.243 GB, free: 109.8 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001065/2.749, allocations: 447 kB / 1.244 GB, free: 109.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.842e-06/2.749, allocations: 7.984 kB / 1.244 GB, free: 109.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/2.749, allocations: 15.94 kB / 1.244 GB, free: 109.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/2.75, allocations: 172.4 kB / 1.244 GB, free: 109.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/2.75, allocations: 8 kB / 1.244 GB, free: 109.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/2.751, allocations: 127.3 kB / 1.244 GB, free: 109 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/2.751, allocations: 27.98 kB / 1.244 GB, free: 109 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002261/2.751, allocations: 140.7 kB / 1.244 GB, free: 108.8 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003285/2.752, allocations: 67.16 kB / 1.244 GB, free: 108.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009815/2.753, allocations: 347.7 kB / 1.245 GB, free: 108.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-06/2.753, allocations: 7.953 kB / 1.245 GB, free: 108.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.336e-06/2.753, allocations: 4 kB / 1.245 GB, free: 108.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.295e-06/2.753, allocations: 0 / 1.245 GB, free: 108.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/2.756, allocations: 1.358 MB / 1.246 GB, free: 107 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.076e-06/2.756, allocations: 0 / 1.246 GB, free: 107 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003158/2.759, allocations: 403.7 kB / 1.247 GB, free: 106.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/2.759, allocations: 0 / 1.247 GB, free: 106.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/2.759, allocations: 19.98 kB / 1.247 GB, free: 106.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005757/2.765, allocations: 4.304 MB / 1.251 GB, free: 101.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.134e-06/2.765, allocations: 7.891 kB / 1.251 GB, free: 101.8 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/2.766, allocations: 0.5095 MB / 1.251 GB, free: 101.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/2.766, allocations: 188 kB / 1.251 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/2.767, allocations: 8 kB / 1.251 GB, free: 101.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/2.768, allocations: 95.89 kB / 1.252 GB, free: 101 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/2.768, allocations: 27.91 kB / 1.252 GB, free: 101 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/2.768, allocations: 11.98 kB / 1.252 GB, free: 100.9 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007035/2.769, allocations: 463.2 kB / 1.252 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9.12e-07/2.769, allocations: 7.938 kB / 1.252 GB, free: 100.5 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001721/2.77, allocations: 411.8 kB / 1.252 GB, free: 100.1 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007997/2.771, allocations: 380.4 kB / 1.253 GB, free: 99.71 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003913/2.775, allocations: 0.8567 MB / 1.254 GB, free: 98.85 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.753e-06/2.775, allocations: 4.188 kB / 1.254 GB, free: 98.85 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002728/2.778, allocations: 427.8 kB / 1.254 GB, free: 98.43 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/2.78, allocations: 369.8 kB / 1.254 GB, free: 98.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/2.782, allocations: 0.8017 MB / 1.255 GB, free: 97.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/2.783, allocations: 0.9317 MB / 1.256 GB, free: 96.27 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001347/2.784, allocations: 209.4 kB / 1.256 GB, free: 96.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/2.784, allocations: 51.42 kB / 1.256 GB, free: 96.01 MB / 0.7605 GB Notification: Performance of SimCode: time 1.57e-06/2.784, allocations: 0 / 1.256 GB, free: 96.01 MB / 0.7605 GB Notification: Performance of Templates: time 0.03653/2.821, allocations: 17.06 MB / 1.273 GB, free: 79.11 MB / 0.7605 GB