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.631/1.631, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001217/0.001217, allocations: 176.9 kB / 361.4 MB, free: 6.82 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.631/1.631, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008977/0.0008972, allocations: 96.08 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.867e-05, allocations: 0 / 0.8517 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7339/0.7339, allocations: 115.3 MB / 0.9644 GB, free: 78.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.96, allocations: 4.611 GB / 5.575 GB, free: 148.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/11.96, allocations: 82.72 kB / 5.575 GB, free: 148.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06371/12.02, allocations: 35.84 MB / 5.61 GB, free: 112.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.335e-06/12.02, allocations: 3.984 kB / 5.61 GB, free: 112.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.953e-06/12.02, allocations: 4 kB / 5.61 GB, free: 112.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.0002657/12.02, allocations: 343.8 kB / 5.61 GB, free: 112 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/12.02, allocations: 12.03 kB / 5.61 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/12.02, allocations: 15.83 kB / 5.61 GB, free: 112 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/12.02, allocations: 163.1 kB / 5.611 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/12.02, allocations: 0 / 5.611 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/12.02, allocations: 4 kB / 5.611 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.369e-05/12.02, allocations: 15.98 kB / 5.611 GB, free: 111.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.84e-05/12.02, allocations: 49.28 kB / 5.611 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/12.02, allocations: 3.953 kB / 5.611 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/12.02, allocations: 4 kB / 5.611 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/12.02, allocations: 0 / 5.611 GB, free: 111.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/12.02, allocations: 138.2 kB / 5.611 GB, free: 111.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.198e-05/12.02, allocations: 46.5 kB / 5.611 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/12.02, allocations: 16.86 kB / 5.611 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/12.02, allocations: 0 / 5.611 GB, free: 111.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/12.02, allocations: 35.5 kB / 5.611 GB, free: 111.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 7.62e-07/12.02, allocations: 0 / 5.611 GB, free: 111.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005844/12.02, allocations: 334.3 kB / 5.611 GB, free: 111.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/12.02, allocations: 51.41 kB / 5.611 GB, free: 111 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.948e-05/12.02, allocations: 93.08 kB / 5.611 GB, free: 110.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/12.02, allocations: 29.73 kB / 5.611 GB, free: 110.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.763e-05/12.02, allocations: 84.08 kB / 5.611 GB, free: 110.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/12.02, allocations: 43.39 kB / 5.612 GB, free: 110.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/12.02, allocations: 0 / 5.612 GB, free: 110.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/12.02, allocations: 314.8 kB / 5.612 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/12.02, allocations: 13.66 kB / 5.612 GB, free: 110.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/12.02, allocations: 34.41 kB / 5.612 GB, free: 110.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.522e-05/12.02, allocations: 27.98 kB / 5.612 GB, free: 110.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/12.02, allocations: 0 / 5.612 GB, free: 110.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.069e-05/12.02, allocations: 85.58 kB / 5.612 GB, free: 110.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/12.02, allocations: 4 kB / 5.612 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/12.02, allocations: 6.547 kB / 5.612 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/12.02, allocations: 0 / 5.612 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/12.02, allocations: 23.94 kB / 5.612 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/12.02, allocations: 6.844 kB / 5.612 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/12.02, allocations: 0 / 5.612 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/12.02, allocations: 4 kB / 5.612 GB, free: 110.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 () * 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 5.449e-05/12.02, allocations: 109 kB / 5.612 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/12.02, allocations: 7.984 kB / 5.612 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/12.02, allocations: 8.406 kB / 5.612 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/12.02, allocations: 4 kB / 5.612 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/12.02, allocations: 0 / 5.612 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/12.02, allocations: 6.953 kB / 5.612 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.373e-05/12.02, allocations: 138.2 kB / 5.612 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/12.02, allocations: 0 / 5.612 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/12.02, allocations: 27.92 kB / 5.612 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/12.02, allocations: 3.984 kB / 5.612 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/12.02, allocations: 4 kB / 5.612 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/12.02, allocations: 0 / 5.612 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/12.02, allocations: 0 / 5.612 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/12.02, allocations: 128.9 kB / 5.612 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/12.02, allocations: 85.14 kB / 5.613 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/12.02, allocations: 0 / 5.613 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/12.02, allocations: 3.062 kB / 5.613 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/12.02, allocations: 7.984 kB / 5.613 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.006e-06/12.02, allocations: 12 kB / 5.613 GB, free: 109.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.489e-05/12.02, allocations: 79.22 kB / 5.613 GB, free: 109.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/12.02, allocations: 0 / 5.613 GB, free: 109.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002487/12.02, allocations: 43.98 kB / 5.613 GB, free: 109.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.0006257/12.03, allocations: 0.6531 MB / 5.613 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001079/12.03, allocations: 47.88 kB / 5.613 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/12.03, allocations: 0 / 5.613 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/12.03, allocations: 28 kB / 5.613 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/12.03, allocations: 7.938 kB / 5.613 GB, free: 108.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/12.03, allocations: 279.5 kB / 5.614 GB, free: 108.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/12.03, allocations: 0.6889 MB / 5.614 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.655e-05/12.03, allocations: 8.672 kB / 5.614 GB, free: 107.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/12.03, allocations: 15.44 kB / 5.614 GB, free: 107.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/12.03, allocations: 0 / 5.614 GB, free: 107.7 MB / 0.948 GB Notification: Performance of Templates: time 0.006116/12.03, allocations: 3.892 MB / 5.618 GB, free: 103.9 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)