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.01023/0.01024, allocations: 220.3 kB / 15.17 MB, free: 6 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.001093/0.001093, allocations: 175.6 kB / 16.06 MB, free: 5.871 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 3.277/3.277, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.063/4.063, allocations: 472.3 MB / 0.9018 GB, free: 87.64 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004777, allocations: 10.47 kB / 1.008 GB, free: 37.55 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, allocations: 98.72 MB / 1.104 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001406/0.1575, allocations: 0.9921 MB / 1.105 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.6604/0.818, allocations: 133.3 MB / 1.235 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.717e-05/0.8181, allocations: 0 / 1.235 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.898e-05/0.8181, allocations: 3.094 kB / 1.235 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.8181, allocations: 10.45 kB / 1.235 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.8185, allocations: 74.77 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.8186, allocations: 32.44 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.8186, allocations: 0.7031 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.8187, allocations: 15.64 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.8188, allocations: 17.62 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.8188, allocations: 4.625 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/0.819, allocations: 67.95 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.628e-05/0.8191, allocations: 9.578 kB / 1.235 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.8191, allocations: 33.95 kB / 1.235 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.8193, allocations: 45.64 kB / 1.235 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.477e-06/0.8193, allocations: 1.219 kB / 1.235 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.705e-06/0.8193, allocations: 0 / 1.235 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.346e-06/0.8193, allocations: 0 / 1.235 GB, free: 3.832 MB / 0.6355 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.0003814/0.8197, allocations: 347.1 kB / 1.236 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.8197, allocations: 8.562 kB / 1.236 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.82, allocations: 11.45 kB / 1.236 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.8201, allocations: 171.7 kB / 1.236 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.8201, allocations: 6.781 kB / 1.236 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.8201, allocations: 7.75 kB / 1.236 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.8203, allocations: 52.52 kB / 1.236 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.041e-06/0.8203, allocations: 0 / 1.236 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.8203, allocations: 4.516 kB / 1.236 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-06/0.8203, allocations: 0 / 1.236 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.921e-05/0.8204, allocations: 22.45 kB / 1.236 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.8206, allocations: 158.3 kB / 1.236 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.52e-05/0.8207, allocations: 53.27 kB / 1.236 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.8207, allocations: 21.25 kB / 1.236 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.8208, allocations: 0.75 kB / 1.236 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.8208, allocations: 34.38 kB / 1.236 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.926e-06/0.8208, allocations: 2.531 kB / 1.236 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0009308/0.8218, allocations: 375.5 kB / 1.237 GB, free: 18.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.8218, allocations: 56.73 kB / 1.237 GB, free: 18.64 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.713e-05/0.8219, allocations: 91.08 kB / 1.237 GB, free: 18.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.8219, allocations: 32.48 kB / 1.237 GB, free: 18.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.822, allocations: 80.14 kB / 1.237 GB, free: 18.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.822, allocations: 33.8 kB / 1.237 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.206e-06/0.822, allocations: 6.688 kB / 1.237 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8222, allocations: 316.8 kB / 1.237 GB, free: 18.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.8223, allocations: 19.67 kB / 1.237 GB, free: 18.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.8223, allocations: 39.12 kB / 1.237 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.688e-05/0.8224, allocations: 23.81 kB / 1.237 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-06/0.8224, allocations: 0 / 1.237 GB, free: 18.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001824/0.8226, allocations: 93.64 kB / 1.237 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8226, allocations: 8.359 kB / 1.237 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.989e-06/0.8227, allocations: 4.656 kB / 1.237 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.8227, allocations: 2.531 kB / 1.237 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.8228, allocations: 32.38 kB / 1.238 GB, free: 18.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.109e-06/0.8228, allocations: 0 / 1.238 GB, free: 18.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.058e-05/0.8229, allocations: 0 / 1.238 GB, free: 18.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.313e-06/0.8229, allocations: 4.906 kB / 1.238 GB, free: 18.02 MB / 0.6511 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 9.848e-05/0.823, allocations: 116.5 kB / 1.238 GB, free: 17.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.823, allocations: 5.219 kB / 1.238 GB, free: 17.91 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/0.8231, allocations: 10.91 kB / 1.238 GB, free: 17.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-06/0.8231, allocations: 4.609 kB / 1.238 GB, free: 17.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.775e-06/0.8231, allocations: 7.312 kB / 1.238 GB, free: 17.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-06/0.8231, allocations: 0.5156 kB / 1.238 GB, free: 17.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.8233, allocations: 169.1 kB / 1.238 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-06/0.8233, allocations: 0 / 1.238 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.8234, allocations: 27.3 kB / 1.238 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.8235, allocations: 1.781 kB / 1.238 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.8235, allocations: 3.656 kB / 1.238 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.883e-06/0.8235, allocations: 0.6562 kB / 1.238 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.452e-06/0.8235, allocations: 3.953 kB / 1.238 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.8237, allocations: 138.9 kB / 1.238 GB, free: 17.63 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.8238, allocations: 86.25 kB / 1.238 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.8239, allocations: 0.6094 kB / 1.238 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.824, allocations: 3.406 kB / 1.238 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.824, allocations: 13.31 kB / 1.238 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.824, allocations: 6.141 kB / 1.238 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.8241, allocations: 75.84 kB / 1.238 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.7e-07/0.8241, allocations: 0 / 1.238 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002634/0.8244, allocations: 18.31 kB / 1.238 GB, free: 17.46 MB / 0.6511 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.0001232/0.8245, allocations: 104.1 kB / 1.238 GB, free: 17.37 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.8247, allocations: 64.91 kB / 1.238 GB, free: 17.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.8247, allocations: 0 / 1.238 GB, free: 17.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.8248, allocations: 31.81 kB / 1.238 GB, free: 17.36 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.825, allocations: 9.047 kB / 1.238 GB, free: 17.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.8257, allocations: 392.2 kB / 1.239 GB, free: 17.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.826, allocations: 0.691 MB / 1.239 GB, free: 16.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.8261, allocations: 11.78 kB / 1.239 GB, free: 16.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.8262, allocations: 10.25 kB / 1.239 GB, free: 16.37 MB / 0.6511 GB Notification: Performance of SimCode: time 1.25e-06/0.8262, allocations: 3.062 kB / 1.239 GB, free: 16.37 MB / 0.6511 GB Notification: Performance of Templates: time 0.003181/0.8294, allocations: 0.5663 MB / 1.24 GB, free: 16.32 MB / 0.6511 GB