Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadModel(Buildings): time 4.14/4.14, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.617e-05/4.63e-05, allocations: 5.094 kB / 0.5731 GB, free: 5.754 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 107.2 MB / 0.6777 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.08/12.34, allocations: 4.605 GB / 5.283 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/12.34, allocations: 84.12 kB / 5.283 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1127/12.46, allocations: 36.45 MB / 5.319 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.487e-06/12.46, allocations: 0 / 5.319 GB, free: 313.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.842e-06/12.46, allocations: 0 / 5.319 GB, free: 313.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002939/12.46, allocations: 354.3 kB / 5.319 GB, free: 313.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/12.46, allocations: 12.03 kB / 5.319 GB, free: 313.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002359/12.46, allocations: 8 kB / 5.319 GB, free: 313.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.083e-05/12.46, allocations: 163.1 kB / 5.319 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/12.46, allocations: 4 kB / 5.319 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/12.46, allocations: 8 kB / 5.319 GB, free: 313.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/12.46, allocations: 41.69 kB / 5.319 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/12.46, allocations: 4 kB / 5.319 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/12.46, allocations: 4 kB / 5.319 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-06/12.46, allocations: 3.953 kB / 5.319 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.046e-05/12.46, allocations: 19.92 kB / 5.319 GB, free: 313 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/12.46, allocations: 169.5 kB / 5.319 GB, free: 312.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.083e-05/12.46, allocations: 46.56 kB / 5.32 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/12.46, allocations: 16.86 kB / 5.32 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/12.46, allocations: 0 / 5.32 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/12.46, allocations: 34.56 kB / 5.32 GB, free: 312.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 2.733e-06/12.46, allocations: 4 kB / 5.32 GB, free: 312.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0007176/12.46, allocations: 366.3 kB / 5.32 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/12.46, allocations: 51.41 kB / 5.32 GB, free: 312.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.923e-05/12.46, allocations: 96.94 kB / 5.32 GB, free: 312.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/12.46, allocations: 25.7 kB / 5.32 GB, free: 312 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.625e-05/12.46, allocations: 80.27 kB / 5.32 GB, free: 312 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/12.46, allocations: 51.3 kB / 5.32 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-06/12.46, allocations: 7.938 kB / 5.32 GB, free: 311.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/12.46, allocations: 314.8 kB / 5.321 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.433e-05/12.46, allocations: 16 kB / 5.321 GB, free: 311.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.473e-05/12.46, allocations: 37.7 kB / 5.321 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.671e-05/12.46, allocations: 16 kB / 5.321 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-06/12.46, allocations: 0 / 5.321 GB, free: 311.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001634/12.46, allocations: 89.66 kB / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/12.46, allocations: 10.97 kB / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.928e-06/12.46, allocations: 0 / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/12.46, allocations: 4 kB / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/12.46, allocations: 27.89 kB / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.445e-06/12.46, allocations: 7.984 kB / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/12.46, allocations: 0 / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/12.46, allocations: 7.938 kB / 5.321 GB, free: 311.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.675e-05/12.46, allocations: 105 kB / 5.321 GB, free: 311.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/12.46, allocations: 7.906 kB / 5.321 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/12.46, allocations: 16.09 kB / 5.321 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-06/12.46, allocations: 0 / 5.321 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.857e-06/12.46, allocations: 11.89 kB / 5.321 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.733e-06/12.46, allocations: 0 / 5.321 GB, free: 311.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/12.46, allocations: 169.6 kB / 5.321 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-06/12.46, allocations: 0 / 5.321 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/12.46, allocations: 23.98 kB / 5.321 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.919e-06/12.46, allocations: 0 / 5.321 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/12.46, allocations: 4 kB / 5.321 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/12.46, allocations: 0 / 5.321 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/12.46, allocations: 0 / 5.321 GB, free: 311 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/12.46, allocations: 145 kB / 5.321 GB, free: 310.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/12.46, allocations: 81.02 kB / 5.321 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/12.46, allocations: 4 kB / 5.321 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/12.46, allocations: 8.031 kB / 5.321 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/12.46, allocations: 7.938 kB / 5.321 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/12.46, allocations: 4 kB / 5.321 GB, free: 310.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.332e-05/12.46, allocations: 79.28 kB / 5.321 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.14e-07/12.46, allocations: 0 / 5.321 GB, free: 310.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004081/12.46, allocations: 55.94 kB / 5.321 GB, free: 310.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0007061/12.46, allocations: 0.5769 MB / 5.322 GB, free: 310 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001498/12.46, allocations: 51.94 kB / 5.322 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/12.46, allocations: 4 kB / 5.322 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/12.46, allocations: 20 kB / 5.322 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/12.46, allocations: 8 kB / 5.322 GB, free: 309.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000527/12.46, allocations: 297.3 kB / 5.322 GB, free: 309.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/12.46, allocations: 0.6926 MB / 5.323 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001048/12.46, allocations: 12.66 kB / 5.323 GB, free: 308.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/12.46, allocations: 11.44 kB / 5.323 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.466e-06/12.46, allocations: 0 / 5.323 GB, free: 308.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.01647/12.48, allocations: 9.777 MB / 5.333 GB, free: 299.1 MB / 0.8855 GB