Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadModel(Buildings): time 4.568/4.568, allocations: 458.9 MB / 473.4 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.281e-05, allocations: 8.031 kB / 0.5697 GB, free: 9.793 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.248, allocations: 106.2 MB / 0.6734 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.06053/0.3086, allocations: 21.78 MB / 0.6947 GB, free: 12.75 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.3288, allocations: 8.613 MB / 0.7031 GB, free: 4.129 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.3303, allocations: 47.62 kB / 0.7032 GB, free: 4.082 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.3325, allocations: 0.5095 MB / 0.7037 GB, free: 3.57 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.004916/0.3375, allocations: 1.082 MB / 0.7047 GB, free: 2.484 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009258/0.3468, allocations: 2.404 MB / 0.7071 GB, free: 88 kB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003955/0.3507, allocations: 1.275 MB / 0.7083 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.3531, allocations: 0.6756 MB / 0.709 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003648/0.3568, allocations: 0.8495 MB / 0.7098 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.3603, allocations: 0.7286 MB / 0.7105 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/0.3646, allocations: 0.8542 MB / 0.7114 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0007815/0.3654, allocations: 64 kB / 0.7114 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0005763/0.366, allocations: 203.2 kB / 0.7116 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008115/0.3669, allocations: 100 kB / 0.7117 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/0.3708, allocations: 1.118 MB / 0.7128 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3709, allocations: 0 / 0.7128 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.256e-06/0.3709, allocations: 4 kB / 0.7128 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.702e-05/0.371, allocations: 0 / 0.7128 GB, free: 10.2 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003736/0.3747, allocations: 1.022 MB / 0.7138 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.3748, allocations: 8.031 kB / 0.7138 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006308/0.3755, allocations: 118.7 kB / 0.7139 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/0.378, allocations: 0.6278 MB / 0.7145 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3782, allocations: 57 kB / 0.7146 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/0.3786, allocations: 87.95 kB / 0.7147 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.3809, allocations: 0.5647 MB / 0.7152 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.381, allocations: 0 / 0.7152 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.3811, allocations: 20 kB / 0.7152 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.786e-05/0.3811, allocations: 12 kB / 0.7153 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.3833, allocations: 419.6 kB / 0.7157 GB, free: 7.16 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009629/0.393, allocations: 2.532 MB / 0.7181 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.3945, allocations: 270 kB / 0.7184 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/0.3951, allocations: 344.4 kB / 0.7187 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.037e-05/0.3951, allocations: 34.56 kB / 0.7187 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=29): time 4.608e-06/0.3952, allocations: 0 / 0.7187 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of matching and sorting (n=29): time 0.003194/0.3984, allocations: 489.1 kB / 0.7192 GB, free: 3.281 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3985, allocations: 59.39 kB / 0.7193 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.4006, allocations: 0.653 MB / 0.7199 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0003221/0.4009, allocations: 41.7 kB / 0.7199 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009268/0.4019, allocations: 433.3 kB / 0.7204 GB, free: 2.078 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.4021, allocations: 98.77 kB / 0.7205 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.4022, allocations: 12 kB / 0.7205 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002249/0.4025, allocations: 333.8 kB / 0.7208 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4035, allocations: 157 kB / 0.7209 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.4062, allocations: 0.7711 MB / 0.7217 GB, free: 0.5078 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.4076, allocations: 233.2 kB / 0.7219 GB, free: 288 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.4076, allocations: 0 / 0.7219 GB, free: 288 kB / 0.5886 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002343/0.4099, allocations: 0.5613 MB / 0.7225 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.4103, allocations: 0.8017 MB / 0.7232 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.4103, allocations: 0 / 0.7232 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.4104, allocations: 8 kB / 0.7232 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.4121, allocations: 155.8 kB / 0.7234 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/0.4139, allocations: 2.364 MB / 0.7257 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/0.4196, allocations: 0.6866 MB / 0.7264 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.4199, allocations: 27.98 kB / 0.7264 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.4199, allocations: 3.953 kB / 0.7264 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00155/0.4215, allocations: 446.1 kB / 0.7268 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4215, allocations: 4 kB / 0.7268 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4215, allocations: 4 kB / 0.7268 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.4226, allocations: 140 kB / 0.727 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.4227, allocations: 4 kB / 0.727 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/0.4282, allocations: 0.6789 MB / 0.7276 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.4284, allocations: 20 kB / 0.7277 GB, free: 10.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006572/0.4291, allocations: 218.2 kB / 0.7279 GB, free: 10 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.4294, allocations: 90.92 kB / 0.728 GB, free: 9.914 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.4311, allocations: 481.4 kB / 0.7284 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.4312, allocations: 4 kB / 0.7284 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4312, allocations: 0 / 0.7284 GB, free: 9.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.4312, allocations: 3.984 kB / 0.7284 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.4342, allocations: 1.151 MB / 0.7295 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.4343, allocations: 3.984 kB / 0.7295 GB, free: 8.203 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009529/0.4352, allocations: 103.9 kB / 0.7296 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.4353, allocations: 4 kB / 0.7296 GB, free: 8.098 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.4353, allocations: 8 kB / 0.7297 GB, free: 8.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001498/0.4368, allocations: 2.348 MB / 0.7319 GB, free: 5.648 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.368e-05/0.4369, allocations: 12.2 kB / 0.732 GB, free: 5.637 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.4384, allocations: 0.5858 MB / 0.7325 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004568/0.4389, allocations: 203.9 kB / 0.7327 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.4391, allocations: 8 kB / 0.7327 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008542/0.44, allocations: 51.94 kB / 0.7328 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4401, allocations: 31.91 kB / 0.7328 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.283e-05/0.4402, allocations: 12 kB / 0.7328 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001045/0.4412, allocations: 0.5029 MB / 0.7333 GB, free: 4.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/0.4413, allocations: 4 kB / 0.7333 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001944/0.4432, allocations: 467.1 kB / 0.7338 GB, free: 3.719 MB / 0.6042 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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.4442, allocations: 317.5 kB / 0.7341 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003234/0.4475, allocations: 0.6935 MB / 0.7347 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.4475, allocations: 0 / 0.7347 GB, free: 2.707 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009192/0.4485, allocations: 216.3 kB / 0.735 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003798/0.4523, allocations: 413.2 kB / 0.7353 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.4556, allocations: 1.516 MB / 0.7368 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007565/0.4564, allocations: 0.9915 MB / 0.7378 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001692/0.4581, allocations: 229.9 kB / 0.738 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.4583, allocations: 55.42 kB / 0.7381 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.4583, allocations: 0 / 0.7381 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.06192/0.5202, allocations: 20.8 MB / 0.7584 GB, free: 10.65 MB / 0.6355 GB