Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.993/2.993, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.453e-05/5.469e-05, allocations: 5.547 kB / 370.6 MB, free: 7.875 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1659, allocations: 67 MB / 437.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.247/7.413, allocations: 2.213 GB / 2.64 GB, free: 99.45 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/7.413, allocations: 88.05 kB / 2.64 GB, free: 99.41 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.668/11.08, allocations: 0.6374 GB / 3.278 GB, free: 82.21 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.773e-06/11.08, allocations: 3.938 kB / 3.278 GB, free: 82.21 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001517/11.08, allocations: 28.67 kB / 3.278 GB, free: 82.21 MB / 0.573 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.004925/11.09, allocations: 1.344 MB / 3.279 GB, free: 81.55 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/11.09, allocations: 6.781 kB / 3.279 GB, free: 81.55 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005364/11.09, allocations: 145.7 kB / 3.279 GB, free: 81.52 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/11.09, allocations: 249.6 kB / 3.279 GB, free: 81.46 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/11.09, allocations: 1.1 MB / 3.28 GB, free: 81.2 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/11.09, allocations: 77.19 kB / 3.281 GB, free: 81.2 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004148/11.09, allocations: 101.2 kB / 3.281 GB, free: 81.19 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003251/11.1, allocations: 1.101 MB / 3.282 GB, free: 80.97 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/11.1, allocations: 10.19 kB / 3.282 GB, free: 80.97 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/11.1, allocations: 34.5 kB / 3.282 GB, free: 80.97 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-05/11.1, allocations: 33.25 kB / 3.282 GB, free: 80.96 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/11.1, allocations: 0.8163 MB / 3.283 GB, free: 80.96 MB / 0.573 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.009877/11.11, allocations: 5.696 MB / 3.288 GB, free: 77.29 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/11.11, allocations: 0.5187 MB / 3.289 GB, free: 77.25 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/11.11, allocations: 299.5 kB / 3.289 GB, free: 77.24 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007896/11.11, allocations: 309.7 kB / 3.289 GB, free: 76.96 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/11.11, allocations: 38.69 kB / 3.289 GB, free: 76.92 MB / 0.573 GB Notification: Performance of pre-optimization done (n=49): time 3.437e-06/11.11, allocations: 2.625 kB / 3.289 GB, free: 76.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=49): time 0.002284/11.12, allocations: 0.5828 MB / 3.29 GB, free: 76.83 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/11.12, allocations: 57.41 kB / 3.29 GB, free: 76.77 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/11.12, allocations: 0.6452 MB / 3.291 GB, free: 76.64 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002229/11.12, allocations: 37.48 kB / 3.291 GB, free: 76.61 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/11.12, allocations: 0.4994 MB / 3.291 GB, free: 76.36 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000319/11.12, allocations: 180 kB / 3.291 GB, free: 76.25 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/11.12, allocations: 16.97 kB / 3.291 GB, free: 76.25 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/11.12, allocations: 338.7 kB / 3.292 GB, free: 75.95 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/11.12, allocations: 229.5 kB / 3.292 GB, free: 75.95 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009129/11.12, allocations: 0.5711 MB / 3.292 GB, free: 75.54 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/11.12, allocations: 334.9 kB / 3.293 GB, free: 75.54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/11.12, allocations: 5.094 kB / 3.293 GB, free: 75.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002386/11.12, allocations: 0.7984 MB / 3.293 GB, free: 75.45 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.351e-05/11.12, allocations: 9.406 kB / 3.293 GB, free: 75.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/11.12, allocations: 9.562 kB / 3.293 GB, free: 75.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.745e-05/11.12, allocations: 11.38 kB / 3.293 GB, free: 75.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/11.13, allocations: 159.6 kB / 3.294 GB, free: 75.45 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.039e-05/11.13, allocations: 15.78 kB / 3.294 GB, free: 75.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/11.13, allocations: 135.2 kB / 3.294 GB, free: 75.41 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/11.13, allocations: 38.75 kB / 3.294 GB, free: 75.41 MB / 0.573 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.0003365/11.13, allocations: 162.5 kB / 3.294 GB, free: 75.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/11.13, allocations: 96.64 kB / 3.294 GB, free: 75.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/11.13, allocations: 0.5928 MB / 3.295 GB, free: 75.19 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/11.13, allocations: 3.719 kB / 3.295 GB, free: 75.19 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/11.13, allocations: 0 / 3.295 GB, free: 75.19 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/11.13, allocations: 0.5037 MB / 3.295 GB, free: 75.12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004577/11.14, allocations: 1.638 MB / 3.297 GB, free: 74.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/11.14, allocations: 0 / 3.297 GB, free: 74.74 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/11.14, allocations: 111.2 kB / 3.297 GB, free: 74.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/11.14, allocations: 3.594 kB / 3.297 GB, free: 74.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/11.14, allocations: 19.2 kB / 3.297 GB, free: 74.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/11.14, allocations: 7.344 kB / 3.297 GB, free: 74.73 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/11.14, allocations: 1.938 kB / 3.297 GB, free: 74.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/11.14, allocations: 1.106 MB / 3.298 GB, free: 74.37 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/11.14, allocations: 226.9 kB / 3.298 GB, free: 74.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/11.14, allocations: 15.83 kB / 3.298 GB, free: 74.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/11.14, allocations: 70.2 kB / 3.298 GB, free: 74.22 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/11.14, allocations: 35.11 kB / 3.298 GB, free: 74.21 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/11.14, allocations: 18.8 kB / 3.298 GB, free: 74.21 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001051/11.14, allocations: 0.4951 MB / 3.299 GB, free: 74.12 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.71e-07/11.14, allocations: 2.562 kB / 3.299 GB, free: 74.12 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002512/11.15, allocations: 491.7 kB / 3.299 GB, free: 74.08 MB / 0.573 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.006261/11.15, allocations: 3.976 MB / 3.303 GB, free: 72.15 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001648/11.15, allocations: 0.5702 MB / 3.304 GB, free: 72.12 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/11.15, allocations: 2.562 kB / 3.304 GB, free: 72.12 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/11.15, allocations: 254.7 kB / 3.304 GB, free: 72.11 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/11.16, allocations: 431 kB / 3.304 GB, free: 72.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/11.16, allocations: 1.792 MB / 3.306 GB, free: 71.6 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009491/11.17, allocations: 1.143 MB / 3.307 GB, free: 70.9 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002322/11.17, allocations: 272.8 kB / 3.307 GB, free: 70.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/11.17, allocations: 362.4 kB / 3.308 GB, free: 70.88 MB / 0.573 GB Notification: Performance of SimCode: time 1.864e-06/11.17, allocations: 0 / 3.308 GB, free: 70.88 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1928/11.36, allocations: 56.48 MB / 3.363 GB, free: 33.04 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/11.36, allocations: 185.4 kB / 3.363 GB, free: 32.81 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.242/16.6, allocations: 0 / 3.363 GB, free: 32.81 MB / 0.573 GB