Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.768/2.768, allocations: 284.8 MB / 297.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001498/0.001498, allocations: 184.7 kB / 365.7 MB, free: 2.574 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.1 MB / 0.6241 GB, free: 8.152 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001102, allocations: 92.66 kB / 0.7372 GB, free: 40.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.678e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8647/0.8648, allocations: 115.2 MB / 0.97 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.16/15.02, allocations: 4.611 GB / 5.581 GB, free: 17.63 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/15.02, allocations: 82.06 kB / 5.581 GB, free: 17.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7828/15.8, allocations: 36.49 MB / 5.617 GB, free: 330.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/15.8, allocations: 2.906 kB / 5.617 GB, free: 330.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.015e-06/15.8, allocations: 1.781 kB / 5.617 GB, free: 330.8 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.0003903/15.8, allocations: 346.2 kB / 5.617 GB, free: 330.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/15.8, allocations: 9.156 kB / 5.617 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002391/15.8, allocations: 12.25 kB / 5.617 GB, free: 330.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.784e-05/15.8, allocations: 161.5 kB / 5.617 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/15.8, allocations: 4.281 kB / 5.617 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/15.8, allocations: 6.969 kB / 5.617 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/15.8, allocations: 48.84 kB / 5.617 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/15.8, allocations: 6.734 kB / 5.617 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/15.8, allocations: 0 / 5.617 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/15.8, allocations: 1.719 kB / 5.617 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.656e-05/15.8, allocations: 17.53 kB / 5.617 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/15.8, allocations: 168.5 kB / 5.618 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/15.8, allocations: 46.45 kB / 5.618 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/15.8, allocations: 16.08 kB / 5.618 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/15.8, allocations: 1.875 kB / 5.618 GB, free: 330 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/15.81, allocations: 43.19 kB / 5.618 GB, free: 330 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/15.81, allocations: 0 / 5.618 GB, free: 330 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008752/15.81, allocations: 363.1 kB / 5.618 GB, free: 329.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/15.81, allocations: 52.72 kB / 5.618 GB, free: 329.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.026e-05/15.81, allocations: 91.39 kB / 5.618 GB, free: 329.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/15.81, allocations: 30.14 kB / 5.618 GB, free: 329.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.992e-05/15.81, allocations: 81.55 kB / 5.618 GB, free: 329.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/15.81, allocations: 39.56 kB / 5.618 GB, free: 329.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/15.81, allocations: 1.188 kB / 5.618 GB, free: 329.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/15.81, allocations: 321.8 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/15.81, allocations: 15.12 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/15.81, allocations: 35.38 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.279e-05/15.81, allocations: 32.52 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/15.81, allocations: 0 / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001941/15.81, allocations: 91.67 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/15.81, allocations: 6.453 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/15.81, allocations: 0 / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/15.81, allocations: 1.719 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/15.81, allocations: 25.02 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/15.81, allocations: 1.125 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.439e-05/15.81, allocations: 4.719 kB / 5.619 GB, free: 329.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/15.81, allocations: 3.031 kB / 5.619 GB, free: 329.1 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 () * 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 6.718e-05/15.81, allocations: 114.1 kB / 5.619 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/15.81, allocations: 7.938 kB / 5.619 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/15.81, allocations: 11.5 kB / 5.619 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/15.81, allocations: 2.188 kB / 5.619 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/15.81, allocations: 0 / 5.619 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/15.81, allocations: 1.766 kB / 5.619 GB, free: 328.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/15.81, allocations: 175.2 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/15.81, allocations: 4 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/15.81, allocations: 25.14 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/15.81, allocations: 4.938 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/15.81, allocations: 4.531 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/15.81, allocations: 1.688 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/15.81, allocations: 0.9375 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/15.81, allocations: 136.1 kB / 5.619 GB, free: 328.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/15.81, allocations: 82.72 kB / 5.619 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/15.81, allocations: 4.453 kB / 5.619 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/15.81, allocations: 3.312 kB / 5.619 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/15.81, allocations: 13.56 kB / 5.619 GB, free: 328.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/15.81, allocations: 4.25 kB / 5.619 GB, free: 328.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.474e-05/15.81, allocations: 80.89 kB / 5.619 GB, free: 328.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/15.81, allocations: 1.156 kB / 5.619 GB, free: 328.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004179/15.81, allocations: 49.61 kB / 5.62 GB, free: 328.5 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 () * 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.0009573/15.81, allocations: 0.561 MB / 5.62 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001988/15.81, allocations: 50.34 kB / 5.62 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/15.81, allocations: 0 / 5.62 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.427e-05/15.81, allocations: 30.83 kB / 5.62 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/15.81, allocations: 11.97 kB / 5.62 GB, free: 328.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/15.81, allocations: 281.8 kB / 5.62 GB, free: 328.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/15.81, allocations: 0.6989 MB / 5.621 GB, free: 327.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001118/15.81, allocations: 10.69 kB / 5.621 GB, free: 327.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/15.81, allocations: 11.31 kB / 5.621 GB, free: 327.4 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/15.81, allocations: 1.406 kB / 5.621 GB, free: 327.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02501/15.84, allocations: 9.751 MB / 5.631 GB, free: 326.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)