Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadModel(Buildings): time 3.496/3.496, allocations: 402 MB / 416 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.384e-05/3.396e-05, allocations: 7.938 kB / 0.5003 GB, free: 8.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1669, allocations: 92.69 MB / 0.5909 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.469/5.636, allocations: 2.174 GB / 2.765 GB, free: 172.6 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/5.636, allocations: 95.95 kB / 2.765 GB, free: 172.5 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.861/8.497, allocations: 0.6483 GB / 3.414 GB, free: 81.51 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.94e-06/8.497, allocations: 0 / 3.414 GB, free: 81.51 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.88e-05/8.497, allocations: 28 kB / 3.414 GB, free: 81.48 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003457/8.501, allocations: 1.48 MB / 3.415 GB, free: 79.94 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/8.501, allocations: 11.97 kB / 3.415 GB, free: 79.93 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/8.503, allocations: 258.2 kB / 3.415 GB, free: 79.68 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/8.505, allocations: 0.851 MB / 3.416 GB, free: 78.78 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.14e-05/8.505, allocations: 90.16 kB / 3.416 GB, free: 78.69 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002524/8.506, allocations: 112 kB / 3.416 GB, free: 78.58 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002677/8.508, allocations: 1.334 MB / 3.418 GB, free: 77.16 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/8.508, allocations: 3.938 kB / 3.418 GB, free: 77.15 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/8.509, allocations: 51.94 kB / 3.418 GB, free: 77.1 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.432e-05/8.509, allocations: 38 kB / 3.418 GB, free: 77.07 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002161/8.511, allocations: 1.038 MB / 3.419 GB, free: 76.03 MB / 0.7605 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.008352/8.519, allocations: 6.401 MB / 3.425 GB, free: 69.12 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/8.52, allocations: 0.6001 MB / 3.426 GB, free: 68.49 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003297/8.521, allocations: 125.6 kB / 3.426 GB, free: 68.35 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/8.521, allocations: 50.94 kB / 3.426 GB, free: 68.29 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=54): time 4.585e-06/8.521, allocations: 0 / 3.426 GB, free: 68.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=54): time 0.0019/8.523, allocations: 0.7947 MB / 3.427 GB, free: 67.49 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/8.523, allocations: 107.2 kB / 3.427 GB, free: 67.36 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/8.524, allocations: 0.7664 MB / 3.427 GB, free: 66.59 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/8.524, allocations: 45.7 kB / 3.427 GB, free: 66.54 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/8.524, allocations: 0.5722 MB / 3.428 GB, free: 65.95 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/8.525, allocations: 197.1 kB / 3.428 GB, free: 65.76 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/8.525, allocations: 16 kB / 3.428 GB, free: 65.74 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/8.525, allocations: 345.9 kB / 3.429 GB, free: 65.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005564/8.525, allocations: 289.8 kB / 3.429 GB, free: 65.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007344/8.526, allocations: 0.6452 MB / 3.429 GB, free: 64.31 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/8.527, allocations: 435.6 kB / 3.43 GB, free: 63.88 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/8.527, allocations: 3.953 kB / 3.43 GB, free: 63.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001969/8.529, allocations: 1.027 MB / 3.431 GB, free: 62.84 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/8.529, allocations: 41.69 kB / 3.431 GB, free: 62.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/8.529, allocations: 11.98 kB / 3.431 GB, free: 62.78 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/8.529, allocations: 16 kB / 3.431 GB, free: 62.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/8.53, allocations: 191.6 kB / 3.431 GB, free: 62.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/8.53, allocations: 19.94 kB / 3.431 GB, free: 62.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/8.531, allocations: 175.2 kB / 3.431 GB, free: 62.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/8.531, allocations: 44 kB / 3.431 GB, free: 62.34 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007433/8.532, allocations: 358.4 kB / 3.432 GB, free: 61.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002696/8.533, allocations: 106.7 kB / 3.432 GB, free: 61.88 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/8.534, allocations: 0.6108 MB / 3.432 GB, free: 61.26 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.921e-06/8.534, allocations: 8 kB / 3.432 GB, free: 61.25 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.313e-06/8.534, allocations: 0 / 3.432 GB, free: 61.25 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008462/8.535, allocations: 0.4978 MB / 3.433 GB, free: 60.74 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/8.538, allocations: 1.808 MB / 3.435 GB, free: 58.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.121e-06/8.538, allocations: 0 / 3.435 GB, free: 58.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/8.539, allocations: 123.8 kB / 3.435 GB, free: 58.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/8.539, allocations: 7.984 kB / 3.435 GB, free: 58.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/8.539, allocations: 20.06 kB / 3.435 GB, free: 58.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/8.539, allocations: 4.094 kB / 3.435 GB, free: 58.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.051e-06/8.539, allocations: 8.094 kB / 3.435 GB, free: 58.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/8.541, allocations: 1.205 MB / 3.436 GB, free: 57.42 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006609/8.541, allocations: 255.8 kB / 3.436 GB, free: 57.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/8.542, allocations: 15.98 kB / 3.436 GB, free: 57.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/8.543, allocations: 71.84 kB / 3.436 GB, free: 57.07 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/8.543, allocations: 40.34 kB / 3.436 GB, free: 57.03 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/8.543, allocations: 27.98 kB / 3.436 GB, free: 57 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0009403/8.544, allocations: 0.5849 MB / 3.437 GB, free: 56.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.99e-07/8.544, allocations: 0 / 3.437 GB, free: 56.42 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002059/8.546, allocations: 0.5304 MB / 3.438 GB, free: 55.89 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002779/8.549, allocations: 1.903 MB / 3.439 GB, free: 53.91 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001521/8.55, allocations: 0.7368 MB / 3.44 GB, free: 53.16 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.823e-06/8.55, allocations: 4 kB / 3.44 GB, free: 53.15 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004782/8.551, allocations: 275.1 kB / 3.44 GB, free: 52.88 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/8.554, allocations: 0.4964 MB / 3.441 GB, free: 52.39 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/8.558, allocations: 2.521 MB / 3.443 GB, free: 49.82 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007743/8.558, allocations: 1.194 MB / 3.444 GB, free: 48.59 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001477/8.56, allocations: 288.1 kB / 3.445 GB, free: 48.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/8.56, allocations: 79.42 kB / 3.445 GB, free: 48.23 MB / 0.7605 GB Notification: Performance of SimCode: time 2.012e-06/8.56, allocations: 0 / 3.445 GB, free: 48.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.07917/8.639, allocations: 44.33 MB / 3.488 GB, free: 4.105 MB / 0.7605 GB