Running command: translateModel(Buildings.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadModel(Buildings): time 4.146/4.146, allocations: 460.5 MB / 472.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.629e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 106.2 MB / 0.6718 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.415/6.616, allocations: 2.246 GB / 2.918 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/6.616, allocations: 89.98 kB / 2.918 GB, free: 150 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.968/9.585, allocations: 0.6373 GB / 3.555 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.39e-06/9.585, allocations: 0 / 3.555 GB, free: 167.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001058/9.585, allocations: 32.83 kB / 3.555 GB, free: 167.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003548/9.588, allocations: 1.312 MB / 3.556 GB, free: 166 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/9.588, allocations: 10.97 kB / 3.556 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/9.591, allocations: 246 kB / 3.557 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003728/9.594, allocations: 1.108 MB / 3.558 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.897e-05/9.594, allocations: 70 kB / 3.558 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/9.595, allocations: 103 kB / 3.558 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/9.597, allocations: 1.097 MB / 3.559 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/9.597, allocations: 3.938 kB / 3.559 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/9.597, allocations: 43.83 kB / 3.559 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/9.597, allocations: 37.98 kB / 3.559 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/9.599, allocations: 0.8081 MB / 3.56 GB, free: 162.4 MB / 0.8698 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.007759/9.607, allocations: 5.686 MB / 3.565 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/9.608, allocations: 0.5205 MB / 3.566 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005236/9.609, allocations: 298.6 kB / 3.566 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000552/9.609, allocations: 314.3 kB / 3.566 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/9.609, allocations: 42.12 kB / 3.566 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=49): time 3.957e-06/9.609, allocations: 0 / 3.566 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49): time 0.001651/9.611, allocations: 0.5654 MB / 3.567 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/9.611, allocations: 59.78 kB / 3.567 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/9.612, allocations: 0.6432 MB / 3.568 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/9.612, allocations: 37.7 kB / 3.568 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/9.613, allocations: 0.4932 MB / 3.568 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/9.613, allocations: 179.8 kB / 3.568 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/9.613, allocations: 12 kB / 3.568 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001371/9.613, allocations: 393.1 kB / 3.569 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/9.614, allocations: 233.5 kB / 3.569 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/9.614, allocations: 0.5394 MB / 3.569 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/9.615, allocations: 350.1 kB / 3.57 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.368e-06/9.615, allocations: 0 / 3.57 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001749/9.617, allocations: 0.8056 MB / 3.571 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/9.617, allocations: 8 kB / 3.571 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/9.617, allocations: 11.98 kB / 3.571 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.243e-05/9.617, allocations: 19.12 kB / 3.571 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007774/9.618, allocations: 151.8 kB / 3.571 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/9.618, allocations: 15.94 kB / 3.571 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/9.619, allocations: 136.1 kB / 3.571 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/9.619, allocations: 36 kB / 3.571 GB, free: 150.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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 prepare postOptimizeDAE: time 0.0002125/9.62, allocations: 160.6 kB / 3.571 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002003/9.62, allocations: 86.92 kB / 3.571 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/9.621, allocations: 0.5942 MB / 3.572 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.039e-06/9.621, allocations: 4 kB / 3.572 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.128e-06/9.621, allocations: 0 / 3.572 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008714/9.622, allocations: 0.5016 MB / 3.572 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003666/9.626, allocations: 1.628 MB / 3.574 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.972e-06/9.626, allocations: 0 / 3.574 GB, free: 147.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007785/9.627, allocations: 118.5 kB / 3.574 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/9.627, allocations: 8 kB / 3.574 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/9.627, allocations: 19.98 kB / 3.574 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.171e-06/9.627, allocations: 4 kB / 3.574 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/9.627, allocations: 0 / 3.574 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/9.629, allocations: 1.097 MB / 3.575 GB, free: 145.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006913/9.629, allocations: 227.9 kB / 3.575 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/9.63, allocations: 15.98 kB / 3.575 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/9.631, allocations: 63.88 kB / 3.575 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/9.631, allocations: 31.92 kB / 3.575 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/9.631, allocations: 31.92 kB / 3.575 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0008627/9.632, allocations: 0.4913 MB / 3.576 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.039e-06/9.632, allocations: 0 / 3.576 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002058/9.634, allocations: 482.8 kB / 3.576 GB, free: 144.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (49): * Single equations (assignments): 49 * 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.003026/9.637, allocations: 1.949 MB / 3.578 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00134/9.638, allocations: 0.5645 MB / 3.579 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.972e-06/9.638, allocations: 4 kB / 3.579 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/9.639, allocations: 259.7 kB / 3.579 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/9.641, allocations: 427.3 kB / 3.579 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/9.645, allocations: 1.51 MB / 3.581 GB, free: 139.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007062/9.646, allocations: 1.138 MB / 3.582 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001358/9.647, allocations: 261.5 kB / 3.582 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/9.647, allocations: 71.42 kB / 3.582 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.848e-06/9.647, allocations: 4 kB / 3.582 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.07655/9.724, allocations: 41.49 MB / 3.623 GB, free: 97.41 MB / 0.8698 GB