Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008992/0.008992, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001149/0.001148, allocations: 184 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.972/1.972, allocations: 194.5 MB / 211.2 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.214/2.214, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007842/0.0007843, allocations: 12 kB / 0.5869 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.577/0.5778, allocations: 98.7 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.07/12.64, allocations: 4.655 GB / 5.339 GB, free: 222.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/12.64, allocations: 84.98 kB / 5.339 GB, free: 222.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1078/12.75, allocations: 36.51 MB / 5.374 GB, free: 205.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.569e-06/12.75, allocations: 4 kB / 5.374 GB, free: 205.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.441e-05/12.75, allocations: 0 / 5.374 GB, free: 205.4 MB / 0.823 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.0002973/12.75, allocations: 354.9 kB / 5.375 GB, free: 205 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/12.75, allocations: 12.03 kB / 5.375 GB, free: 205 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/12.75, allocations: 4 kB / 5.375 GB, free: 205 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.852e-05/12.75, allocations: 171 kB / 5.375 GB, free: 204.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/12.75, allocations: 0 / 5.375 GB, free: 204.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/12.75, allocations: 11.5 kB / 5.375 GB, free: 204.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/12.75, allocations: 61 kB / 5.375 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.121e-06/12.75, allocations: 0 / 5.375 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/12.75, allocations: 0 / 5.375 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-06/12.75, allocations: 0 / 5.375 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.191e-05/12.75, allocations: 19.3 kB / 5.375 GB, free: 204.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/12.75, allocations: 168.5 kB / 5.375 GB, free: 204.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.1e-05/12.75, allocations: 50.06 kB / 5.375 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/12.75, allocations: 4 kB / 5.375 GB, free: 204.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/12.75, allocations: 34.56 kB / 5.375 GB, free: 204.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.909e-06/12.75, allocations: 0 / 5.375 GB, free: 204.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.0007472/12.75, allocations: 363.8 kB / 5.375 GB, free: 204 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/12.75, allocations: 55.39 kB / 5.376 GB, free: 204 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.458e-05/12.75, allocations: 93 kB / 5.376 GB, free: 203.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/12.75, allocations: 29.45 kB / 5.376 GB, free: 203.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/12.75, allocations: 84.08 kB / 5.376 GB, free: 203.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/12.75, allocations: 42.86 kB / 5.376 GB, free: 203.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.156e-06/12.75, allocations: 3.312 kB / 5.376 GB, free: 203.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/12.75, allocations: 318.2 kB / 5.376 GB, free: 203.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/12.75, allocations: 19.3 kB / 5.376 GB, free: 203.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.634e-05/12.75, allocations: 40.83 kB / 5.376 GB, free: 203.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/12.75, allocations: 30.61 kB / 5.376 GB, free: 203.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.826e-06/12.75, allocations: 0 / 5.376 GB, free: 203.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001622/12.76, allocations: 87.81 kB / 5.376 GB, free: 203.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/12.76, allocations: 11.89 kB / 5.376 GB, free: 203.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.945e-06/12.76, allocations: 0.7031 kB / 5.376 GB, free: 203.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/12.76, allocations: 0 / 5.376 GB, free: 203.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/12.76, allocations: 27.55 kB / 5.376 GB, free: 203.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.466e-06/12.76, allocations: 0 / 5.376 GB, free: 203.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/12.76, allocations: 0 / 5.376 GB, free: 203.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/12.76, allocations: 4 kB / 5.376 GB, free: 203.2 MB / 0.823 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 () * Number of clocked 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 7.285e-05/12.76, allocations: 128.5 kB / 5.376 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/12.76, allocations: 7.906 kB / 5.376 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/12.76, allocations: 18.84 kB / 5.376 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-06/12.76, allocations: 0 / 5.376 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.742e-06/12.76, allocations: 0 / 5.376 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.16e-06/12.76, allocations: 0 / 5.376 GB, free: 203.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/12.76, allocations: 177.1 kB / 5.377 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-06/12.76, allocations: 0 / 5.377 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/12.76, allocations: 20 kB / 5.377 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.735e-06/12.76, allocations: 0 / 5.377 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/12.76, allocations: 7.75 kB / 5.377 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.056e-06/12.76, allocations: 7.938 kB / 5.377 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-06/12.76, allocations: 0 / 5.377 GB, free: 202.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/12.76, allocations: 134.5 kB / 5.377 GB, free: 202.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/12.76, allocations: 89.05 kB / 5.377 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/12.76, allocations: 3.375 kB / 5.377 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.085e-05/12.76, allocations: 0 / 5.377 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.933e-05/12.76, allocations: 11.94 kB / 5.377 GB, free: 202.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/12.76, allocations: 11.5 kB / 5.377 GB, free: 202.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.288e-05/12.76, allocations: 75.28 kB / 5.377 GB, free: 202.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.96e-07/12.76, allocations: 0 / 5.377 GB, free: 202.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004083/12.76, allocations: 52.92 kB / 5.377 GB, free: 202.4 MB / 0.823 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 () * Number of clocked 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.0006811/12.76, allocations: 0.5698 MB / 5.378 GB, free: 201.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001556/12.76, allocations: 55.05 kB / 5.378 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.803e-06/12.76, allocations: 0 / 5.378 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/12.76, allocations: 31.17 kB / 5.378 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/12.76, allocations: 4 kB / 5.378 GB, free: 201.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/12.76, allocations: 382.1 kB / 5.378 GB, free: 201.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/12.76, allocations: 0.6965 MB / 5.379 GB, free: 200.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001036/12.76, allocations: 12.66 kB / 5.379 GB, free: 200.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/12.76, allocations: 11.44 kB / 5.379 GB, free: 200.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.641e-06/12.76, allocations: 0 / 5.379 GB, free: 200.7 MB / 0.823 GB Notification: Performance of Templates: time 0.0148/12.77, allocations: 8.015 MB / 5.387 GB, free: 192.6 MB / 0.823 GB