Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000901/0.000901, allocations: 174.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.439/0.439, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 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.261/1.261, allocations: 225.7 MB / 353.3 MB, free: 1.055 MB / 282.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.000711/0.0007111, allocations: 94.38 kB / 425.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 12 kB / 0.4955 GB, free: 4.508 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00132/0.277, allocations: 0.9923 MB / 0.5662 GB, free: 41.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1281/0.4052, allocations: 135.5 MB / 0.6985 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.4053, allocations: 0 / 0.6985 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.4053, allocations: 3.984 kB / 0.6985 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.013e-05/0.4053, allocations: 7.922 kB / 0.6985 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.4057, allocations: 71.7 kB / 0.6986 GB, free: 1.164 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.4057, allocations: 35.86 kB / 0.6986 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.4058, allocations: 11.98 kB / 0.6986 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.4058, allocations: 11.94 kB / 0.6987 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.178e-05/0.4059, allocations: 19.91 kB / 0.6987 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.4059, allocations: 0 / 0.6987 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.4061, allocations: 71.84 kB / 0.6987 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.4062, allocations: 7.969 kB / 0.6988 GB, free: 1.008 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.4062, allocations: 41.64 kB / 0.6988 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.4063, allocations: 65.98 kB / 0.6989 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4064, allocations: 0 / 0.6989 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4064, allocations: 0 / 0.6989 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.4064, allocations: 4 kB / 0.6989 GB, free: 0.8945 MB / 0.4948 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.0003425/0.4067, allocations: 339.5 kB / 0.6992 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.4068, allocations: 12.03 kB / 0.6992 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.4069, allocations: 12.92 kB / 0.6992 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.407, allocations: 164.3 kB / 0.6994 GB, free: 300 kB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.407, allocations: 7.922 kB / 0.6994 GB, free: 292 kB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.4071, allocations: 8 kB / 0.6994 GB, free: 284 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.4072, allocations: 53.67 kB / 0.6994 GB, free: 224 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.4072, allocations: 0 / 0.6994 GB, free: 224 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4072, allocations: 7.984 kB / 0.6994 GB, free: 216 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.411e-06/0.4072, allocations: 4 kB / 0.6994 GB, free: 212 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.4073, allocations: 11.98 kB / 0.6995 GB, free: 200 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2069/0.6142, allocations: 173.3 kB / 0.6996 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.6144, allocations: 42.25 kB / 0.6997 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.327e-05/0.6144, allocations: 15.97 kB / 0.6997 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.6144, allocations: 5.703 kB / 0.6997 GB, free: 137.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.6144, allocations: 37.08 kB / 0.6997 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 2.836e-06/0.6145, allocations: 0 / 0.6997 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0007343/0.6152, allocations: 360.4 kB / 0.7001 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.6152, allocations: 55.17 kB / 0.7001 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.411e-05/0.6153, allocations: 93.58 kB / 0.7002 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.6153, allocations: 30.52 kB / 0.7002 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 1.219e-05/0.6153, allocations: 85.8 kB / 0.7003 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.6154, allocations: 43.09 kB / 0.7004 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.6154, allocations: 3.438 kB / 0.7004 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/0.6154, allocations: 320.6 kB / 0.7007 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.6155, allocations: 21.48 kB / 0.7007 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.6155, allocations: 37.44 kB / 0.7007 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.6156, allocations: 55.59 kB / 0.7008 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6156, allocations: 0.5312 kB / 0.7008 GB, free: 136.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001413/0.6158, allocations: 101.9 kB / 0.7009 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6158, allocations: 9.625 kB / 0.7009 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6158, allocations: 1.375 kB / 0.7009 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6158, allocations: 1.406 kB / 0.7009 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6159, allocations: 22.52 kB / 0.7009 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.6159, allocations: 9.188 kB / 0.7009 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.302e-05/0.616, allocations: 4.281 kB / 0.7009 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.616, allocations: 8.438 kB / 0.7009 GB, free: 136.7 MB / 0.4948 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 5.385e-05/0.6161, allocations: 118.4 kB / 0.701 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.6161, allocations: 4.016 kB / 0.701 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.6161, allocations: 12.7 kB / 0.7011 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.6161, allocations: 1.219 kB / 0.7011 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.6161, allocations: 3.938 kB / 0.7011 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.6162, allocations: 2.172 kB / 0.7011 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.019e-05/0.6162, allocations: 169.7 kB / 0.7012 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6163, allocations: 0 / 0.7012 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.6164, allocations: 25.11 kB / 0.7012 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6164, allocations: 4.156 kB / 0.7013 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.6164, allocations: 2.562 kB / 0.7013 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6164, allocations: 4.594 kB / 0.7013 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6164, allocations: 5.391 kB / 0.7013 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.6166, allocations: 132.1 kB / 0.7014 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.6167, allocations: 90.84 kB / 0.7015 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.6167, allocations: 3.484 kB / 0.7015 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.069e-05/0.6168, allocations: 4.188 kB / 0.7015 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.6168, allocations: 11.22 kB / 0.7015 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.6168, allocations: 4.531 kB / 0.7015 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 1.458e-05/0.6168, allocations: 76.55 kB / 0.7016 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.6168, allocations: 1.156 kB / 0.7016 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001848/0.617, allocations: 17.47 kB / 0.7016 GB, free: 136.1 MB / 0.4948 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 8.451e-05/0.6171, allocations: 110.8 kB / 0.7017 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.6172, allocations: 52.28 kB / 0.7017 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6172, allocations: 0 / 0.7017 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.26e-05/0.6173, allocations: 33.27 kB / 0.7018 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.6175, allocations: 13.77 kB / 0.7018 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005057/0.618, allocations: 394.8 kB / 0.7022 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.789e-05/0.6181, allocations: 0.6897 MB / 0.7028 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.814e-05/0.6182, allocations: 10.41 kB / 0.7028 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.592e-05/0.6182, allocations: 12.03 kB / 0.7029 GB, free: 135 MB / 0.4948 GB Notification: Performance of SimCode: time 3.8e-07/0.6182, allocations: 1.25 kB / 0.7029 GB, free: 135 MB / 0.4948 GB Notification: Performance of Templates: time 0.002396/0.6206, allocations: 0.5961 MB / 0.7034 GB, free: 134.9 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)