Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.699/1.699, allocations: 288.3 MB / 303.2 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 185 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 0.6306 GB, free: 9.973 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009231/0.000923, allocations: 105.2 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005387/0.0005387, allocations: 13.95 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2325, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.15/11.38, allocations: 4.611 GB / 5.591 GB, free: 299.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/11.38, allocations: 85.03 kB / 5.591 GB, free: 299.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06714/11.45, allocations: 36.57 MB / 5.627 GB, free: 262 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.245e-06/11.45, allocations: 3.938 kB / 5.627 GB, free: 262 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.873e-06/11.45, allocations: 4 kB / 5.627 GB, free: 262 MB / 0.948 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.000367/11.45, allocations: 343.4 kB / 5.627 GB, free: 261.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/11.45, allocations: 12.03 kB / 5.627 GB, free: 261.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/11.45, allocations: 12.61 kB / 5.627 GB, free: 261.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.459e-05/11.45, allocations: 163 kB / 5.627 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/11.45, allocations: 4 kB / 5.627 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/11.45, allocations: 7.938 kB / 5.627 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/11.45, allocations: 53.67 kB / 5.627 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/11.45, allocations: 4 kB / 5.627 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/11.45, allocations: 7.891 kB / 5.627 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/11.45, allocations: 0 / 5.627 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.924e-05/11.45, allocations: 19.98 kB / 5.627 GB, free: 261.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/11.45, allocations: 157.6 kB / 5.627 GB, free: 261.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.162e-05/11.45, allocations: 54.5 kB / 5.627 GB, free: 261.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/11.45, allocations: 0 / 5.627 GB, free: 261.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/11.45, allocations: 38.56 kB / 5.627 GB, free: 261 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/11.45, allocations: 0 / 5.627 GB, free: 261 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007135/11.45, allocations: 382.7 kB / 5.628 GB, free: 260.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/11.45, allocations: 51.41 kB / 5.628 GB, free: 260.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.222e-05/11.45, allocations: 89 kB / 5.628 GB, free: 260.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/11.45, allocations: 25.7 kB / 5.628 GB, free: 260.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.74e-05/11.45, allocations: 88.27 kB / 5.628 GB, free: 260.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/11.45, allocations: 39.39 kB / 5.628 GB, free: 260.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/11.45, allocations: 0 / 5.628 GB, free: 260.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.955e-05/11.45, allocations: 322.8 kB / 5.628 GB, free: 259.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/11.45, allocations: 12 kB / 5.628 GB, free: 259.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/11.45, allocations: 41.64 kB / 5.628 GB, free: 259.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/11.45, allocations: 20.06 kB / 5.628 GB, free: 259.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/11.45, allocations: 0 / 5.628 GB, free: 259.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001089/11.45, allocations: 105.6 kB / 5.629 GB, free: 259.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/11.45, allocations: 4 kB / 5.629 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/11.45, allocations: 0 / 5.629 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/11.45, allocations: 0 / 5.629 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/11.45, allocations: 27.89 kB / 5.629 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/11.45, allocations: 0 / 5.629 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/11.45, allocations: 11.97 kB / 5.629 GB, free: 259.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/11.45, allocations: 0 / 5.629 GB, free: 259.7 MB / 0.948 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.068e-05/11.45, allocations: 117.8 kB / 5.629 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/11.45, allocations: 15.94 kB / 5.629 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/11.45, allocations: 7.969 kB / 5.629 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/11.45, allocations: 0 / 5.629 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/11.45, allocations: 7.891 kB / 5.629 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/11.45, allocations: 0 / 5.629 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/11.45, allocations: 173.6 kB / 5.629 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/11.45, allocations: 0 / 5.629 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/11.45, allocations: 23.98 kB / 5.629 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/11.45, allocations: 0 / 5.629 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/11.45, allocations: 4 kB / 5.629 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/11.45, allocations: 4 kB / 5.629 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/11.45, allocations: 0 / 5.629 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001602/11.45, allocations: 139 kB / 5.629 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/11.45, allocations: 93.02 kB / 5.629 GB, free: 259 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/11.45, allocations: 4 kB / 5.629 GB, free: 259 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.648e-05/11.45, allocations: 8 kB / 5.629 GB, free: 259 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/11.45, allocations: 3.984 kB / 5.629 GB, free: 259 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/11.45, allocations: 4 kB / 5.629 GB, free: 259 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.51e-05/11.45, allocations: 79.28 kB / 5.629 GB, free: 258.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/11.45, allocations: 0 / 5.629 GB, free: 258.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000312/11.45, allocations: 59.94 kB / 5.629 GB, free: 258.9 MB / 0.948 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.0005603/11.45, allocations: 0.5568 MB / 5.63 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001166/11.45, allocations: 51.91 kB / 5.63 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/11.45, allocations: 0 / 5.63 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/11.45, allocations: 28 kB / 5.63 GB, free: 258.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/11.45, allocations: 7.938 kB / 5.63 GB, free: 258.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/11.45, allocations: 383.6 kB / 5.63 GB, free: 257.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/11.45, allocations: 0.6848 MB / 5.631 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.8e-05/11.45, allocations: 16.64 kB / 5.631 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/11.45, allocations: 15.44 kB / 5.631 GB, free: 257.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/11.45, allocations: 0 / 5.631 GB, free: 257.1 MB / 0.948 GB Notification: Performance of Templates: time 0.009501/11.46, allocations: 8.024 MB / 5.639 GB, free: 249.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)