Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 297.4 MB / 312.6 MB, free: 2.91 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009495/0.0009496, allocations: 186 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.7 MB / 0.6617 GB, free: 7.203 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007649/0.0007649, allocations: 93.42 kB / 0.7789 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8 kB / 0.9058 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.562/0.5623, allocations: 119.2 MB / 1.022 GB, free: 58.3 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001298/0.5637, allocations: 0.9986 MB / 1.023 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1444/0.7081, allocations: 135.5 MB / 1.156 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.7082, allocations: 0 / 1.156 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.7083, allocations: 0 / 1.156 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.7084, allocations: 12.73 kB / 1.156 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005768/0.709, allocations: 84.05 kB / 1.156 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.192e-05/0.7091, allocations: 31.91 kB / 1.156 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.7092, allocations: 1.375 kB / 1.156 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.676e-05/0.7092, allocations: 14.84 kB / 1.156 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.7093, allocations: 17.47 kB / 1.156 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.7094, allocations: 1.469 kB / 1.156 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.7098, allocations: 75.78 kB / 1.156 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.018e-05/0.7098, allocations: 5.25 kB / 1.156 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.7099, allocations: 44.67 kB / 1.156 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.7102, allocations: 64.12 kB / 1.156 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.7102, allocations: 1 kB / 1.156 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.346e-06/0.7102, allocations: 3.469 kB / 1.156 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.7102, allocations: 0 / 1.156 GB, free: 8.352 MB / 0.7448 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.0005471/0.7108, allocations: 340.2 kB / 1.156 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.7108, allocations: 13.22 kB / 1.156 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.7111, allocations: 15.39 kB / 1.156 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.7113, allocations: 169.5 kB / 1.156 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.7114, allocations: 10 kB / 1.156 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.7114, allocations: 3.469 kB / 1.156 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.7116, allocations: 52.69 kB / 1.157 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.7116, allocations: 0.9688 kB / 1.157 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.7117, allocations: 1.125 kB / 1.157 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.7117, allocations: 0 / 1.157 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.7118, allocations: 16.19 kB / 1.157 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.7121, allocations: 171.6 kB / 1.157 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.7122, allocations: 56.8 kB / 1.157 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.7123, allocations: 15.52 kB / 1.157 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.7123, allocations: 1.688 kB / 1.157 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.7124, allocations: 35.91 kB / 1.157 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/0.7124, allocations: 0 / 1.157 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.00111/0.7135, allocations: 369.5 kB / 1.157 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.7136, allocations: 57.38 kB / 1.157 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.7137, allocations: 95.17 kB / 1.157 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.7137, allocations: 26.83 kB / 1.157 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.977e-05/0.7138, allocations: 81.58 kB / 1.157 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.769e-05/0.7139, allocations: 45.62 kB / 1.157 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-06/0.7139, allocations: 0.9375 kB / 1.157 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7141, allocations: 325.1 kB / 1.158 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.7141, allocations: 17.38 kB / 1.158 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.7142, allocations: 34.42 kB / 1.158 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.7144, allocations: 59.77 kB / 1.158 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7144, allocations: 1.469 kB / 1.158 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002489/0.7147, allocations: 93.98 kB / 1.158 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.7147, allocations: 9.031 kB / 1.158 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7147, allocations: 0 / 1.158 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.7148, allocations: 1.25 kB / 1.158 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.715, allocations: 37.45 kB / 1.158 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.715, allocations: 1.281 kB / 1.158 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.7151, allocations: 1.156 kB / 1.158 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.7151, allocations: 2.469 kB / 1.158 GB, free: 6.355 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.7152, allocations: 117.4 kB / 1.158 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.137e-05/0.7153, allocations: 3.094 kB / 1.158 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.7153, allocations: 13.75 kB / 1.158 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7154, allocations: 1.125 kB / 1.158 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.7154, allocations: 4 kB / 1.158 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.7154, allocations: 3.469 kB / 1.158 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.7156, allocations: 178.3 kB / 1.158 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.7156, allocations: 1.125 kB / 1.158 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.7159, allocations: 21.88 kB / 1.158 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7159, allocations: 0 / 1.158 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.7159, allocations: 8.297 kB / 1.158 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7159, allocations: 4.906 kB / 1.158 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7159, allocations: 1.156 kB / 1.158 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.7163, allocations: 132.9 kB / 1.158 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.7164, allocations: 91.28 kB / 1.159 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.7164, allocations: 1.375 kB / 1.159 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.7166, allocations: 5.078 kB / 1.159 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.7166, allocations: 7.875 kB / 1.159 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.7166, allocations: 2.312 kB / 1.159 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.221e-05/0.7167, allocations: 79.78 kB / 1.159 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7167, allocations: 0 / 1.159 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003354/0.7171, allocations: 25 kB / 1.159 GB, free: 5.715 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.7172, allocations: 107.6 kB / 1.159 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001988/0.7174, allocations: 54.56 kB / 1.159 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.7174, allocations: 3.938 kB / 1.159 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.129e-05/0.7175, allocations: 25.66 kB / 1.159 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.7179, allocations: 13.08 kB / 1.159 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.7188, allocations: 389.1 kB / 1.159 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.7192, allocations: 0.6921 MB / 1.16 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000129/0.7194, allocations: 11.34 kB / 1.16 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.7194, allocations: 12.75 kB / 1.16 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.7195, allocations: 0 / 1.16 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.003979/0.7234, allocations: 0.6106 MB / 1.161 GB, free: 4.512 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)