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.64/3.64, allocations: 403.9 MB / 411 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.504e-05/2.511e-05, allocations: 8 kB / 0.4942 GB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.5198, allocations: 92.69 MB / 0.5847 GB, free: 2.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.568/6.088, allocations: 2.174 GB / 2.758 GB, free: 19.54 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/6.088, allocations: 93.12 kB / 2.758 GB, free: 19.49 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.303/9.39, allocations: 0.6372 GB / 3.396 GB, free: 144.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.286e-06/9.39, allocations: 0 / 3.396 GB, free: 144.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001052/9.391, allocations: 30.53 kB / 3.396 GB, free: 144.2 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.004083/9.395, allocations: 1.479 MB / 3.397 GB, free: 143.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/9.395, allocations: 10.47 kB / 3.397 GB, free: 143.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/9.397, allocations: 259.9 kB / 3.397 GB, free: 143.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/9.399, allocations: 0.8457 MB / 3.398 GB, free: 143.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/9.4, allocations: 33.59 kB / 3.398 GB, free: 143.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/9.4, allocations: 72.75 kB / 3.398 GB, free: 143.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00226/9.402, allocations: 0.9342 MB / 3.399 GB, free: 143.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/9.405, allocations: 1.153 MB / 3.4 GB, free: 143.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.52e-05/9.405, allocations: 7.312 kB / 3.4 GB, free: 143.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/9.405, allocations: 3.875 kB / 3.4 GB, free: 143.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/9.405, allocations: 41.53 kB / 3.4 GB, free: 143.1 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.0086/9.414, allocations: 6.155 MB / 3.406 GB, free: 139.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/9.415, allocations: 0.5762 MB / 3.407 GB, free: 139.1 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004853/9.415, allocations: 297.8 kB / 3.407 GB, free: 139.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000369/9.416, allocations: 125.2 kB / 3.407 GB, free: 139 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/9.416, allocations: 44.78 kB / 3.407 GB, free: 139 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=54): time 4.31e-06/9.416, allocations: 0 / 3.407 GB, free: 139 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54): time 0.001705/9.417, allocations: 0.5764 MB / 3.408 GB, free: 138.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/9.417, allocations: 110.5 kB / 3.408 GB, free: 138.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000984/9.418, allocations: 0.5882 MB / 3.409 GB, free: 138.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/9.419, allocations: 25.7 kB / 3.409 GB, free: 138.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003757/9.419, allocations: 0.5776 MB / 3.409 GB, free: 138.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/9.419, allocations: 189.1 kB / 3.409 GB, free: 138.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.201e-05/9.419, allocations: 3.562 kB / 3.409 GB, free: 138.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001432/9.419, allocations: 391 kB / 3.41 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005475/9.42, allocations: 264.9 kB / 3.41 GB, free: 137.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007169/9.421, allocations: 0.606 MB / 3.411 GB, free: 137.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/9.422, allocations: 400.9 kB / 3.411 GB, free: 137.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/9.422, allocations: 5.438 kB / 3.411 GB, free: 137.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002109/9.424, allocations: 0.9085 MB / 3.412 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.978e-05/9.424, allocations: 44.12 kB / 3.412 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/9.424, allocations: 7.562 kB / 3.412 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/9.424, allocations: 16.78 kB / 3.412 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008439/9.425, allocations: 187.8 kB / 3.412 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/9.425, allocations: 20.11 kB / 3.412 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/9.426, allocations: 134.6 kB / 3.412 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/9.427, allocations: 39.84 kB / 3.412 GB, free: 137.4 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 (106): * Single equations (assignments): 105 * 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.0002417/9.427, allocations: 142.4 kB / 3.413 GB, free: 137.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/9.427, allocations: 85.5 kB / 3.413 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/9.429, allocations: 0.5809 MB / 3.413 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/9.429, allocations: 11.67 kB / 3.413 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/9.429, allocations: 0 / 3.413 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009658/9.43, allocations: 0.4996 MB / 3.414 GB, free: 137.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003627/9.433, allocations: 1.662 MB / 3.415 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-06/9.433, allocations: 3.719 kB / 3.415 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007903/9.434, allocations: 122.3 kB / 3.415 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/9.434, allocations: 3.188 kB / 3.415 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/9.434, allocations: 6.469 kB / 3.415 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.031e-06/9.434, allocations: 3.75 kB / 3.415 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.996e-06/9.434, allocations: 10.5 kB / 3.415 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/9.436, allocations: 1.167 MB / 3.417 GB, free: 136.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006643/9.437, allocations: 244.1 kB / 3.417 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/9.437, allocations: 7 kB / 3.417 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/9.438, allocations: 65.58 kB / 3.417 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.433e-05/9.438, allocations: 38.33 kB / 3.417 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-05/9.438, allocations: 28.06 kB / 3.417 GB, free: 136.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0007146/9.439, allocations: 444.1 kB / 3.417 GB, free: 136.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.09e-07/9.439, allocations: 0 / 3.417 GB, free: 136.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002027/9.441, allocations: 476.5 kB / 3.418 GB, free: 136 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.003275/9.444, allocations: 2.125 MB / 3.42 GB, free: 135.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001462/9.446, allocations: 0.6774 MB / 3.421 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.264e-06/9.446, allocations: 7.875 kB / 3.421 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004711/9.446, allocations: 265.4 kB / 3.421 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002678/9.449, allocations: 376.1 kB / 3.421 GB, free: 135.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003608/9.453, allocations: 1.601 MB / 3.423 GB, free: 134.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/9.454, allocations: 1.191 MB / 3.424 GB, free: 134.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001477/9.455, allocations: 273.3 kB / 3.424 GB, free: 134.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/9.455, allocations: 71.56 kB / 3.424 GB, free: 134.2 MB / 0.7761 GB Notification: Performance of SimCode: time 1.379e-06/9.456, allocations: 0 / 3.424 GB, free: 134.2 MB / 0.7761 GB Notification: Performance of Templates: time 0.05951/9.515, allocations: 24.85 MB / 3.449 GB, free: 133.7 MB / 0.7761 GB