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.616/3.616, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.558e-05, allocations: 4 kB / 0.499 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4753, allocations: 92.71 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.082/5.558, allocations: 2.174 GB / 2.764 GB, free: 157.5 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/5.558, allocations: 87.95 kB / 2.764 GB, free: 157.4 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.9/8.458, allocations: 0.6448 GB / 3.409 GB, free: 95.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.23e-06/8.459, allocations: 0 / 3.409 GB, free: 95.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.09e-05/8.459, allocations: 28 kB / 3.409 GB, free: 95.94 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.003637/8.462, allocations: 1.476 MB / 3.41 GB, free: 94.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/8.462, allocations: 11.97 kB / 3.41 GB, free: 94.4 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/8.464, allocations: 262.2 kB / 3.411 GB, free: 94.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/8.467, allocations: 0.851 MB / 3.411 GB, free: 93.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.569e-05/8.467, allocations: 94.14 kB / 3.412 GB, free: 93.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/8.467, allocations: 104 kB / 3.412 GB, free: 93.05 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/8.47, allocations: 1.306 MB / 3.413 GB, free: 91.66 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.105e-05/8.47, allocations: 0 / 3.413 GB, free: 91.66 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/8.47, allocations: 44 kB / 3.413 GB, free: 91.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/8.47, allocations: 42 kB / 3.413 GB, free: 91.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/8.472, allocations: 0.9994 MB / 3.414 GB, free: 90.57 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.008157/8.481, allocations: 6.393 MB / 3.42 GB, free: 83.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/8.482, allocations: 0.5834 MB / 3.421 GB, free: 83.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/8.482, allocations: 315.7 kB / 3.421 GB, free: 82.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003316/8.483, allocations: 133.6 kB / 3.421 GB, free: 82.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/8.483, allocations: 39 kB / 3.421 GB, free: 82.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=54): time 3.862e-06/8.483, allocations: 0 / 3.421 GB, free: 82.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=54): time 0.001559/8.484, allocations: 0.5848 MB / 3.422 GB, free: 81.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/8.484, allocations: 119.3 kB / 3.422 GB, free: 81.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/8.486, allocations: 0.7507 MB / 3.423 GB, free: 81.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/8.486, allocations: 41.7 kB / 3.423 GB, free: 81 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/8.486, allocations: 0.5757 MB / 3.423 GB, free: 80.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/8.486, allocations: 205.1 kB / 3.423 GB, free: 80.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/8.486, allocations: 16 kB / 3.423 GB, free: 80.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.365e-05/8.487, allocations: 342 kB / 3.424 GB, free: 79.86 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005621/8.487, allocations: 285.9 kB / 3.424 GB, free: 79.58 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007392/8.488, allocations: 0.6316 MB / 3.425 GB, free: 78.79 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/8.489, allocations: 436.6 kB / 3.425 GB, free: 78.36 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.497e-06/8.489, allocations: 0 / 3.425 GB, free: 78.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002053/8.491, allocations: 0.9921 MB / 3.426 GB, free: 77.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 5.509e-05/8.491, allocations: 43.88 kB / 3.426 GB, free: 77.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/8.491, allocations: 8 kB / 3.426 GB, free: 77.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/8.491, allocations: 16 kB / 3.426 GB, free: 77.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/8.492, allocations: 187.7 kB / 3.426 GB, free: 77.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/8.492, allocations: 19.94 kB / 3.426 GB, free: 77.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/8.493, allocations: 170.8 kB / 3.426 GB, free: 76.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/8.494, allocations: 40 kB / 3.427 GB, free: 76.87 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.0002288/8.494, allocations: 164.6 kB / 3.427 GB, free: 76.7 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/8.494, allocations: 102.8 kB / 3.427 GB, free: 76.6 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/8.495, allocations: 0.6067 MB / 3.427 GB, free: 75.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.688e-06/8.495, allocations: 4 kB / 3.427 GB, free: 75.98 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.787e-06/8.495, allocations: 4 kB / 3.427 GB, free: 75.98 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008517/8.496, allocations: 0.4939 MB / 3.428 GB, free: 75.47 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/8.5, allocations: 1.793 MB / 3.43 GB, free: 73.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/8.5, allocations: 0 / 3.43 GB, free: 73.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/8.501, allocations: 123.8 kB / 3.43 GB, free: 73.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/8.501, allocations: 4 kB / 3.43 GB, free: 73.48 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/8.501, allocations: 19.98 kB / 3.43 GB, free: 73.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.355e-06/8.501, allocations: 4 kB / 3.43 GB, free: 73.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.413e-06/8.501, allocations: 0 / 3.43 GB, free: 73.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/8.503, allocations: 1.194 MB / 3.431 GB, free: 72.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/8.503, allocations: 267.7 kB / 3.431 GB, free: 71.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/8.504, allocations: 12 kB / 3.431 GB, free: 71.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/8.505, allocations: 83.77 kB / 3.431 GB, free: 71.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/8.505, allocations: 40.34 kB / 3.431 GB, free: 71.78 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/8.505, allocations: 23.98 kB / 3.431 GB, free: 71.76 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0009456/8.506, allocations: 0.5733 MB / 3.432 GB, free: 71.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.98e-07/8.506, allocations: 0 / 3.432 GB, free: 71.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002067/8.508, allocations: 0.5265 MB / 3.432 GB, free: 70.66 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.002796/8.511, allocations: 1.957 MB / 3.434 GB, free: 68.64 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001527/8.512, allocations: 0.7081 MB / 3.435 GB, free: 67.92 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.543e-06/8.513, allocations: 4.188 kB / 3.435 GB, free: 67.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004713/8.513, allocations: 273.5 kB / 3.435 GB, free: 67.65 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/8.516, allocations: 498.6 kB / 3.436 GB, free: 67.17 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/8.519, allocations: 1.638 MB / 3.437 GB, free: 65.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/8.52, allocations: 1.19 MB / 3.438 GB, free: 64.25 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001483/8.522, allocations: 292.1 kB / 3.439 GB, free: 63.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/8.522, allocations: 79.42 kB / 3.439 GB, free: 63.89 MB / 0.7761 GB Notification: Performance of SimCode: time 1.803e-06/8.522, allocations: 0 / 3.439 GB, free: 63.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.07903/8.601, allocations: 44.44 MB / 3.482 GB, free: 19.69 MB / 0.7761 GB