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.905/2.905, allocations: 287.5 MB / 302.4 MB, free: 8.172 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.001549/0.001548, allocations: 181.1 kB / 371 MB, free: 10.79 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.087/2.087, allocations: 205.4 MB / 0.6297 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001144, allocations: 97.91 kB / 0.743 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005008, allocations: 11.19 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2121, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.68/14.9, allocations: 4.611 GB / 5.59 GB, free: 189.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/14.9, allocations: 88.36 kB / 5.59 GB, free: 189.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1169/15.01, allocations: 36.57 MB / 5.625 GB, free: 159.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.805e-06/15.01, allocations: 0 / 5.625 GB, free: 159.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.655e-06/15.01, allocations: 0 / 5.625 GB, free: 159.4 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.0003686/15.01, allocations: 346.8 kB / 5.626 GB, free: 159.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/15.01, allocations: 16.02 kB / 5.626 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/15.01, allocations: 8.625 kB / 5.626 GB, free: 159 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/15.01, allocations: 163 kB / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/15.01, allocations: 7.562 kB / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/15.01, allocations: 7.984 kB / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/15.01, allocations: 44.88 kB / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/15.01, allocations: 7.953 kB / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/15.01, allocations: 0 / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/15.01, allocations: 0 / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.907e-05/15.01, allocations: 19.3 kB / 5.626 GB, free: 158.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/15.01, allocations: 176.5 kB / 5.626 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/15.01, allocations: 45.56 kB / 5.626 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/15.01, allocations: 0 / 5.626 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/15.01, allocations: 37.62 kB / 5.626 GB, free: 158.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/15.01, allocations: 0 / 5.626 GB, free: 158.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0009048/15.01, allocations: 372.6 kB / 5.627 GB, free: 158.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/15.02, allocations: 51.41 kB / 5.627 GB, free: 158 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.411e-05/15.02, allocations: 92.73 kB / 5.627 GB, free: 157.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/15.02, allocations: 33.64 kB / 5.627 GB, free: 157.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.123e-05/15.02, allocations: 80.14 kB / 5.627 GB, free: 157.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/15.02, allocations: 46.23 kB / 5.627 GB, free: 157.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.902e-06/15.02, allocations: 0 / 5.627 GB, free: 157.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/15.02, allocations: 318.3 kB / 5.627 GB, free: 157.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.993e-05/15.02, allocations: 23.3 kB / 5.627 GB, free: 157.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/15.02, allocations: 31.89 kB / 5.627 GB, free: 157.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/15.02, allocations: 22.73 kB / 5.627 GB, free: 157.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/15.02, allocations: 4 kB / 5.627 GB, free: 157.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001788/15.02, allocations: 98.12 kB / 5.627 GB, free: 157.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/15.02, allocations: 10.34 kB / 5.627 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/15.02, allocations: 0 / 5.627 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/15.02, allocations: 7.953 kB / 5.627 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/15.02, allocations: 27.36 kB / 5.627 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/15.02, allocations: 3.938 kB / 5.627 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/15.02, allocations: 0 / 5.627 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/15.02, allocations: 4 kB / 5.627 GB, free: 157.2 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.944e-05/15.02, allocations: 121 kB / 5.628 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.756e-05/15.02, allocations: 0 / 5.628 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/15.02, allocations: 11.59 kB / 5.628 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/15.02, allocations: 3.953 kB / 5.628 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/15.02, allocations: 4 kB / 5.628 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/15.02, allocations: 3.984 kB / 5.628 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/15.02, allocations: 172.3 kB / 5.628 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/15.02, allocations: 0 / 5.628 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/15.02, allocations: 23.98 kB / 5.628 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/15.02, allocations: 0 / 5.628 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/15.02, allocations: 7.938 kB / 5.628 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/15.02, allocations: 0 / 5.628 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/15.02, allocations: 3.953 kB / 5.628 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/15.02, allocations: 138.1 kB / 5.628 GB, free: 156.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.728e-05/15.02, allocations: 77.11 kB / 5.628 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/15.02, allocations: 4 kB / 5.628 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/15.02, allocations: 7.75 kB / 5.628 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/15.02, allocations: 11.92 kB / 5.628 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/15.02, allocations: 7.953 kB / 5.628 GB, free: 156.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.595e-05/15.02, allocations: 78.91 kB / 5.628 GB, free: 156.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.3e-07/15.02, allocations: 0 / 5.628 GB, free: 156.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004076/15.02, allocations: 53.83 kB / 5.628 GB, free: 156.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 () * 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.0008461/15.02, allocations: 0.5628 MB / 5.629 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002047/15.02, allocations: 50.11 kB / 5.629 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/15.02, allocations: 4 kB / 5.629 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.734e-05/15.02, allocations: 27.55 kB / 5.629 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/15.02, allocations: 10 kB / 5.629 GB, free: 155.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/15.02, allocations: 393.2 kB / 5.629 GB, free: 155.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/15.02, allocations: 0.6887 MB / 5.63 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001171/15.02, allocations: 8.672 kB / 5.63 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/15.02, allocations: 11.44 kB / 5.63 GB, free: 154.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.81e-07/15.02, allocations: 0 / 5.63 GB, free: 154.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01714/15.04, allocations: 8.023 MB / 5.638 GB, free: 146.7 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)