Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.519/2.519, allocations: 287.5 MB / 303.2 MB, free: 8.145 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.001358/0.001358, allocations: 172.5 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.079/2.079, allocations: 205.4 MB / 0.6305 GB, free: 10.49 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.0009802/0.00098, allocations: 92.03 kB / 0.7438 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004615, allocations: 11.06 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 14/14.22, allocations: 4.611 GB / 5.591 GB, free: 290.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/14.22, allocations: 84.83 kB / 5.591 GB, free: 290.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.112/14.33, allocations: 36.59 MB / 5.626 GB, free: 253.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/14.33, allocations: 0 / 5.626 GB, free: 253.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.901e-06/14.33, allocations: 0 / 5.626 GB, free: 253.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.0003491/14.33, allocations: 351.5 kB / 5.627 GB, free: 253.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/14.33, allocations: 8.031 kB / 5.627 GB, free: 253.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/14.33, allocations: 17.55 kB / 5.627 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.685e-05/14.33, allocations: 176.2 kB / 5.627 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/14.33, allocations: 384 / 5.627 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/14.33, allocations: 4.375 kB / 5.627 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/14.33, allocations: 58.22 kB / 5.627 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/14.33, allocations: 192 / 5.627 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/14.33, allocations: 3.938 kB / 5.627 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/14.33, allocations: 0 / 5.627 GB, free: 253.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/14.33, allocations: 15.98 kB / 5.627 GB, free: 253 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/14.33, allocations: 165.6 kB / 5.627 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/14.33, allocations: 54.48 kB / 5.627 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/14.33, allocations: 20.84 kB / 5.627 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/14.33, allocations: 0 / 5.627 GB, free: 252.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/14.33, allocations: 38.56 kB / 5.627 GB, free: 252.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/14.33, allocations: 0 / 5.627 GB, free: 252.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008449/14.33, allocations: 374.2 kB / 5.628 GB, free: 252.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/14.33, allocations: 55.41 kB / 5.628 GB, free: 252.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/14.33, allocations: 101.7 kB / 5.628 GB, free: 252.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/14.33, allocations: 29.7 kB / 5.628 GB, free: 252.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.678e-05/14.33, allocations: 84.14 kB / 5.628 GB, free: 252 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/14.33, allocations: 35.41 kB / 5.628 GB, free: 252 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/14.33, allocations: 4 kB / 5.628 GB, free: 251.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.67e-05/14.33, allocations: 319 kB / 5.628 GB, free: 251.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.839e-05/14.33, allocations: 19.98 kB / 5.628 GB, free: 251.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.365e-05/14.33, allocations: 34.83 kB / 5.628 GB, free: 251.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/14.33, allocations: 57.72 kB / 5.628 GB, free: 251.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/14.33, allocations: 0 / 5.628 GB, free: 251.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001789/14.33, allocations: 98.08 kB / 5.628 GB, free: 251.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/14.33, allocations: 8 kB / 5.628 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/14.33, allocations: 0 / 5.628 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/14.33, allocations: 7.969 kB / 5.628 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/14.33, allocations: 24 kB / 5.629 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/14.33, allocations: 3.938 kB / 5.629 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/14.33, allocations: 4 kB / 5.629 GB, free: 251.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/14.33, allocations: 8.078 kB / 5.629 GB, free: 251.4 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.903e-05/14.33, allocations: 113.8 kB / 5.629 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/14.33, allocations: 11.92 kB / 5.629 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/14.33, allocations: 7.969 kB / 5.629 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/14.33, allocations: 0 / 5.629 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/14.33, allocations: 4 kB / 5.629 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/14.33, allocations: 0 / 5.629 GB, free: 251.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/14.33, allocations: 177.6 kB / 5.629 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/14.33, allocations: 3.938 kB / 5.629 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/14.33, allocations: 23.94 kB / 5.629 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/14.33, allocations: 3.938 kB / 5.629 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/14.33, allocations: 3.984 kB / 5.629 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/14.33, allocations: 3.984 kB / 5.629 GB, free: 250.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/14.33, allocations: 0 / 5.629 GB, free: 250.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/14.33, allocations: 133 kB / 5.629 GB, free: 250.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/14.33, allocations: 89.08 kB / 5.629 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/14.33, allocations: 0 / 5.629 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/14.33, allocations: 4 kB / 5.629 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/14.33, allocations: 7.984 kB / 5.629 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/14.33, allocations: 4 kB / 5.629 GB, free: 250.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.509e-05/14.33, allocations: 75.28 kB / 5.629 GB, free: 250.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/14.33, allocations: 3.938 kB / 5.629 GB, free: 250.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004378/14.33, allocations: 52.08 kB / 5.629 GB, free: 250.6 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.000805/14.33, allocations: 0.5605 MB / 5.63 GB, free: 250 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001844/14.34, allocations: 51.98 kB / 5.63 GB, free: 249.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/14.34, allocations: 4 kB / 5.63 GB, free: 249.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.588e-05/14.34, allocations: 27.92 kB / 5.63 GB, free: 249.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/14.34, allocations: 11.94 kB / 5.63 GB, free: 249.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007309/14.34, allocations: 399.3 kB / 5.63 GB, free: 249.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/14.34, allocations: 0.6887 MB / 5.631 GB, free: 248.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001138/14.34, allocations: 8.672 kB / 5.631 GB, free: 248.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/14.34, allocations: 11.44 kB / 5.631 GB, free: 248.7 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/14.34, allocations: 0 / 5.631 GB, free: 248.7 MB / 0.948 GB Notification: Performance of Templates: time 0.01788/14.35, allocations: 8.052 MB / 5.639 GB, free: 240.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)