Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Media.Specialized.Air.Examples.PerfectGasTestImplementation") Notification: Performance of loadModel(Buildings): time 3.687/3.687, allocations: 403.9 MB / 411 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.896e-05/1.905e-05, allocations: 4 kB / 0.4942 GB, free: 1.406 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4782, allocations: 92.69 MB / 0.5847 GB, free: 2.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.55/12.03, allocations: 4.646 GB / 5.231 GB, free: 230.9 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/12.03, allocations: 79.95 kB / 5.231 GB, free: 230.8 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.106/13.14, allocations: 248.2 MB / 5.473 GB, free: 205.5 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.036e-06/13.14, allocations: 2.531 kB / 5.473 GB, free: 205.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.463e-05/13.14, allocations: 7.344 kB / 5.473 GB, free: 205.5 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001499/13.14, allocations: 0.7549 MB / 5.474 GB, free: 205.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/13.14, allocations: 15.5 kB / 5.474 GB, free: 205.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003815/13.14, allocations: 53.48 kB / 5.474 GB, free: 205.2 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/13.14, allocations: 330.5 kB / 5.474 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/13.14, allocations: 11.62 kB / 5.474 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.578e-05/13.14, allocations: 19.44 kB / 5.474 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007895/13.14, allocations: 356.1 kB / 5.475 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006953/13.14, allocations: 328.6 kB / 5.475 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/13.14, allocations: 3.797 kB / 5.475 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/13.14, allocations: 6.359 kB / 5.475 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.663e-06/13.14, allocations: 10.38 kB / 5.475 GB, free: 204.9 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/13.14, allocations: 1.485 MB / 5.476 GB, free: 204.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/13.14, allocations: 255.6 kB / 5.477 GB, free: 204.1 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002633/13.15, allocations: 141.9 kB / 5.477 GB, free: 204.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/13.15, allocations: 9.859 kB / 5.477 GB, free: 204.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/13.15, allocations: 38.28 kB / 5.477 GB, free: 204.1 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 3.23e-06/13.15, allocations: 0 / 5.477 GB, free: 204.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=41): time 0.003602/13.15, allocations: 1.233 MB / 5.478 GB, free: 203.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/13.15, allocations: 62.11 kB / 5.478 GB, free: 203.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/13.15, allocations: 218.4 kB / 5.478 GB, free: 203.6 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/13.15, allocations: 29.48 kB / 5.478 GB, free: 203.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/13.15, allocations: 204.1 kB / 5.479 GB, free: 203.4 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/13.15, allocations: 135.7 kB / 5.479 GB, free: 203.3 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/13.15, allocations: 0 / 5.479 GB, free: 203.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/13.15, allocations: 344.3 kB / 5.479 GB, free: 203 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002991/13.15, allocations: 149.6 kB / 5.479 GB, free: 203 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/13.15, allocations: 196.7 kB / 5.479 GB, free: 203 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/13.15, allocations: 181.5 kB / 5.48 GB, free: 203 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.571e-06/13.15, allocations: 0 / 5.48 GB, free: 203 MB / 0.7605 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001167/13.15, allocations: 0.5073 MB / 5.48 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/13.15, allocations: 7.344 kB / 5.48 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.568e-06/13.15, allocations: 0 / 5.48 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00038/13.15, allocations: 93.56 kB / 5.48 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/13.15, allocations: 120.8 kB / 5.48 GB, free: 202.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/13.16, allocations: 3.986 MB / 5.484 GB, free: 199.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/13.16, allocations: 31.36 kB / 5.484 GB, free: 199.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/13.16, allocations: 11.06 kB / 5.484 GB, free: 199.2 MB / 0.7605 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000233/13.16, allocations: 124.1 kB / 5.484 GB, free: 199.1 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/13.16, allocations: 30.69 kB / 5.484 GB, free: 199.1 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/13.16, allocations: 44.25 kB / 5.484 GB, free: 199.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/13.16, allocations: 7.859 kB / 5.484 GB, free: 199.1 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.46e-06/13.16, allocations: 0 / 5.484 GB, free: 199.1 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009166/13.16, allocations: 0.6276 MB / 5.485 GB, free: 198.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/13.16, allocations: 1.036 MB / 5.486 GB, free: 198.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/13.16, allocations: 2.781 kB / 5.486 GB, free: 198.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009364/13.16, allocations: 119.3 kB / 5.486 GB, free: 198.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/13.16, allocations: 60.08 kB / 5.486 GB, free: 198.4 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/13.16, allocations: 7.359 kB / 5.486 GB, free: 198.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/13.16, allocations: 1.5 MB / 5.488 GB, free: 197.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.176e-06/13.16, allocations: 2.344 kB / 5.488 GB, free: 197.1 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/13.16, allocations: 0.7779 MB / 5.488 GB, free: 196.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/13.16, allocations: 164.8 kB / 5.489 GB, free: 196.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/13.16, allocations: 6.781 kB / 5.489 GB, free: 196.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/13.17, allocations: 24.59 kB / 5.489 GB, free: 196.7 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/13.17, allocations: 34.52 kB / 5.489 GB, free: 196.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/13.17, allocations: 21.06 kB / 5.489 GB, free: 196.7 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000189/13.17, allocations: 174.3 kB / 5.489 GB, free: 196.6 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6.47e-07/13.17, allocations: 0 / 5.489 GB, free: 196.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001165/13.17, allocations: 194 kB / 5.489 GB, free: 196.6 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/13.17, allocations: 1.155 MB / 5.49 GB, free: 196.4 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001166/13.17, allocations: 0.6926 MB / 5.491 GB, free: 196.1 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.317e-06/13.17, allocations: 0 / 5.491 GB, free: 196.1 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006153/13.17, allocations: 308 kB / 5.491 GB, free: 196 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/13.17, allocations: 175.6 kB / 5.491 GB, free: 196 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/13.17, allocations: 0.843 MB / 5.492 GB, free: 195.7 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/13.17, allocations: 0.8351 MB / 5.493 GB, free: 195 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0006935/13.17, allocations: 90.19 kB / 5.493 GB, free: 195 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/13.18, allocations: 37.08 kB / 5.493 GB, free: 195 MB / 0.7605 GB Notification: Performance of SimCode: time 1.271e-06/13.18, allocations: 0 / 5.493 GB, free: 195 MB / 0.7605 GB Notification: Performance of Templates: time 0.02924/13.2, allocations: 13.79 MB / 5.506 GB, free: 194.4 MB / 0.7605 GB