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.005511/0.005511, allocations: 237.5 kB / 15.8 MB, free: 6.312 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.001621/0.001621, allocations: 179.3 kB / 16.68 MB, free: 5.473 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 4.182/4.182, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.107/4.107, allocations: 472.3 MB / 0.9024 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 19.25 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 98.7 MB / 1.105 GB, free: 80.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001688/0.2219, allocations: 0.9921 MB / 1.106 GB, free: 79.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.7417/0.9636, allocations: 133.3 MB / 1.236 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.9637, allocations: 0 / 1.236 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.9637, allocations: 2.203 kB / 1.236 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.9638, allocations: 1.344 kB / 1.236 GB, free: 6.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.9642, allocations: 81.62 kB / 1.236 GB, free: 6.707 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.861e-05/0.9643, allocations: 28.86 kB / 1.236 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.9643, allocations: 2.328 kB / 1.236 GB, free: 6.703 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.583e-05/0.9644, allocations: 19.77 kB / 1.236 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.9645, allocations: 11.67 kB / 1.236 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.9645, allocations: 1.312 kB / 1.236 GB, free: 6.699 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.9648, allocations: 76.81 kB / 1.236 GB, free: 6.684 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.9648, allocations: 15.25 kB / 1.236 GB, free: 6.68 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.9649, allocations: 32.33 kB / 1.236 GB, free: 6.645 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.965, allocations: 47.33 kB / 1.236 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.965, allocations: 0 / 1.236 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.965, allocations: 0 / 1.236 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.9651, allocations: 3 kB / 1.236 GB, free: 6.641 MB / 0.6042 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.0003393/0.9654, allocations: 338.2 kB / 1.236 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9655, allocations: 8.875 kB / 1.236 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002195/0.9657, allocations: 11.31 kB / 1.236 GB, free: 6.281 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.9658, allocations: 173.7 kB / 1.237 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.9658, allocations: 0 / 1.237 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.9658, allocations: 16.58 kB / 1.237 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.966, allocations: 52.94 kB / 1.237 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.966, allocations: 1.781 kB / 1.237 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.966, allocations: 3.953 kB / 1.237 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.966, allocations: 0.8125 kB / 1.237 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.9661, allocations: 16.86 kB / 1.237 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.9663, allocations: 161.3 kB / 1.237 GB, free: 5.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.9664, allocations: 56.11 kB / 1.237 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.9665, allocations: 16.66 kB / 1.237 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.9665, allocations: 1.25 kB / 1.237 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.9665, allocations: 32.42 kB / 1.237 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.9665, allocations: 0 / 1.237 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0008637/0.9674, allocations: 383.7 kB / 1.237 GB, free: 5.488 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.9674, allocations: 52.72 kB / 1.237 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.321e-05/0.9675, allocations: 96.67 kB / 1.237 GB, free: 5.328 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.9675, allocations: 25.7 kB / 1.237 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.756e-05/0.9675, allocations: 80.14 kB / 1.238 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.9676, allocations: 38.89 kB / 1.238 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.9676, allocations: 3.375 kB / 1.238 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002156/0.9678, allocations: 323.3 kB / 1.238 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.9679, allocations: 19.61 kB / 1.238 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.968, allocations: 33.78 kB / 1.238 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/0.968, allocations: 23.41 kB / 1.238 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.9681, allocations: 3.312 kB / 1.238 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001904/0.9682, allocations: 97.11 kB / 1.238 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9683, allocations: 5.828 kB / 1.238 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9683, allocations: 0 / 1.238 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.9683, allocations: 3.953 kB / 1.238 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.9685, allocations: 26.83 kB / 1.238 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.9685, allocations: 0.7031 kB / 1.238 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.9686, allocations: 6.062 kB / 1.238 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.9686, allocations: 6.75 kB / 1.238 GB, free: 20.8 MB / 0.6198 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.664e-05/0.9687, allocations: 118.7 kB / 1.238 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.9687, allocations: 2.438 kB / 1.238 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.9688, allocations: 10.47 kB / 1.238 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.9688, allocations: 9.016 kB / 1.238 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.9688, allocations: 4.562 kB / 1.238 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.9689, allocations: 85.91 kB / 1.238 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.9689, allocations: 1.672 kB / 1.238 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.9691, allocations: 4.016 kB / 1.238 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.9691, allocations: 10.92 kB / 1.238 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003828/0.9695, allocations: 171.7 kB / 1.239 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003332/0.9699, allocations: 298.8 kB / 1.239 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.32e-05/0.9699, allocations: 24.94 kB / 1.239 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.97, allocations: 78.19 kB / 1.239 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of Backend: time 6.72e-07/0.97, allocations: 0 / 1.239 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005538/0.9706, allocations: 146.3 kB / 1.239 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008573/0.9714, allocations: 0.8181 MB / 1.24 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.005003/0.9765, allocations: 1.131 MB / 1.241 GB, free: 19.2 MB / 0.6198 GB