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.561/3.561, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.344e-05, allocations: 4 kB / 0.499 GB, free: 13.49 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5385, allocations: 92.69 MB / 0.5895 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.02/5.558, allocations: 2.174 GB / 2.764 GB, free: 157.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/5.558, allocations: 89.27 kB / 2.764 GB, free: 157.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.906/8.465, allocations: 0.6448 GB / 3.409 GB, free: 95.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.261e-06/8.465, allocations: 0 / 3.409 GB, free: 95.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001005/8.465, allocations: 31.98 kB / 3.409 GB, free: 95.83 MB / 0.7761 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.003739/8.469, allocations: 1.472 MB / 3.41 GB, free: 94.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/8.469, allocations: 11.97 kB / 3.41 GB, free: 94.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/8.471, allocations: 254.2 kB / 3.411 GB, free: 94.04 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002323/8.473, allocations: 0.851 MB / 3.411 GB, free: 93.14 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/8.473, allocations: 86.16 kB / 3.411 GB, free: 93.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002903/8.473, allocations: 116 kB / 3.412 GB, free: 92.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/8.476, allocations: 1.308 MB / 3.413 GB, free: 91.55 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/8.476, allocations: 7.938 kB / 3.413 GB, free: 91.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/8.476, allocations: 44 kB / 3.413 GB, free: 91.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/8.476, allocations: 41.98 kB / 3.413 GB, free: 91.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/8.479, allocations: 1.011 MB / 3.414 GB, free: 90.45 MB / 0.7761 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.008263/8.487, allocations: 6.405 MB / 3.42 GB, free: 83.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/8.488, allocations: 0.5923 MB / 3.421 GB, free: 82.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/8.489, allocations: 319.3 kB / 3.421 GB, free: 82.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000335/8.489, allocations: 121.5 kB / 3.421 GB, free: 82.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/8.489, allocations: 43 kB / 3.421 GB, free: 82.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=54): time 3.785e-06/8.489, allocations: 0 / 3.421 GB, free: 82.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54): time 0.001504/8.491, allocations: 0.5926 MB / 3.422 GB, free: 81.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/8.491, allocations: 107.2 kB / 3.422 GB, free: 81.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/8.492, allocations: 0.7624 MB / 3.423 GB, free: 80.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/8.492, allocations: 37.7 kB / 3.423 GB, free: 80.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/8.492, allocations: 0.5685 MB / 3.423 GB, free: 80.28 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/8.493, allocations: 209.1 kB / 3.423 GB, free: 80.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.677e-05/8.493, allocations: 23.94 kB / 3.423 GB, free: 80.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.304e-05/8.493, allocations: 337.9 kB / 3.424 GB, free: 79.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/8.493, allocations: 290 kB / 3.424 GB, free: 79.43 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/8.494, allocations: 0.6336 MB / 3.425 GB, free: 78.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/8.495, allocations: 444.6 kB / 3.425 GB, free: 78.2 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.034e-06/8.495, allocations: 4 kB / 3.425 GB, free: 78.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001981/8.497, allocations: 1.007 MB / 3.426 GB, free: 77.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/8.497, allocations: 37.7 kB / 3.426 GB, free: 77.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/8.497, allocations: 12 kB / 3.426 GB, free: 77.11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.266e-05/8.497, allocations: 16 kB / 3.426 GB, free: 77.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008669/8.498, allocations: 191.7 kB / 3.426 GB, free: 76.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/8.498, allocations: 19.94 kB / 3.426 GB, free: 76.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/8.499, allocations: 171.1 kB / 3.427 GB, free: 76.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/8.5, allocations: 43.98 kB / 3.427 GB, free: 76.68 MB / 0.7761 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.000234/8.5, allocations: 165.5 kB / 3.427 GB, free: 76.51 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002898/8.5, allocations: 98.78 kB / 3.427 GB, free: 76.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/8.501, allocations: 0.6028 MB / 3.427 GB, free: 75.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.669e-06/8.501, allocations: 4 kB / 3.427 GB, free: 75.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.015e-06/8.501, allocations: 4 kB / 3.427 GB, free: 75.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008337/8.502, allocations: 0.4977 MB / 3.428 GB, free: 75.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/8.506, allocations: 1.793 MB / 3.43 GB, free: 73.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.909e-06/8.506, allocations: 4 kB / 3.43 GB, free: 73.42 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008297/8.507, allocations: 119.8 kB / 3.43 GB, free: 73.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/8.507, allocations: 4 kB / 3.43 GB, free: 73.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/8.507, allocations: 19.98 kB / 3.43 GB, free: 73.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.841e-06/8.507, allocations: 4 kB / 3.43 GB, free: 73.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.101e-06/8.507, allocations: 4.141 kB / 3.43 GB, free: 73.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/8.509, allocations: 1.194 MB / 3.431 GB, free: 72 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006577/8.51, allocations: 259.8 kB / 3.431 GB, free: 71.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/8.51, allocations: 16 kB / 3.431 GB, free: 71.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/8.511, allocations: 75.83 kB / 3.431 GB, free: 71.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/8.511, allocations: 44.28 kB / 3.431 GB, free: 71.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/8.511, allocations: 23.98 kB / 3.431 GB, free: 71.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009655/8.512, allocations: 0.5694 MB / 3.432 GB, free: 71.01 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.84e-07/8.512, allocations: 0 / 3.432 GB, free: 71.01 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002081/8.514, allocations: 0.5382 MB / 3.432 GB, free: 70.47 MB / 0.7761 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.002763/8.517, allocations: 1.909 MB / 3.434 GB, free: 68.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001564/8.519, allocations: 0.733 MB / 3.435 GB, free: 67.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.05e-06/8.519, allocations: 0 / 3.435 GB, free: 67.75 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004587/8.519, allocations: 279.2 kB / 3.435 GB, free: 67.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/8.522, allocations: 0.4911 MB / 3.436 GB, free: 66.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/8.525, allocations: 1.639 MB / 3.437 GB, free: 65.3 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007791/8.526, allocations: 1.19 MB / 3.439 GB, free: 64.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001506/8.528, allocations: 292.1 kB / 3.439 GB, free: 63.78 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/8.528, allocations: 79.42 kB / 3.439 GB, free: 63.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.562e-06/8.528, allocations: 0 / 3.439 GB, free: 63.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.07895/8.607, allocations: 44.31 MB / 3.482 GB, free: 19.59 MB / 0.7761 GB