Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009396/0.00094, allocations: 177.3 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 0.5785 GB, free: 20.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007601/0.0007601, allocations: 90.27 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 15.19 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.66/7.83, allocations: 4.605 GB / 5.507 GB, free: 17.15 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/7.83, allocations: 84.94 kB / 5.507 GB, free: 17.07 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4154/8.245, allocations: 36.6 MB / 5.542 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.793e-06/8.245, allocations: 0 / 5.542 GB, free: 319.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.192e-06/8.245, allocations: 1.031 kB / 5.542 GB, free: 319.1 MB / 0.8855 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.0002869/8.246, allocations: 352.1 kB / 5.543 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/8.246, allocations: 10.03 kB / 5.543 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/8.246, allocations: 13.02 kB / 5.543 GB, free: 318.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.6e-05/8.246, allocations: 160.4 kB / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/8.246, allocations: 10.31 kB / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/8.246, allocations: 7.938 kB / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/8.246, allocations: 54.53 kB / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/8.246, allocations: 4.188 kB / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/8.246, allocations: 5.25 kB / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/8.246, allocations: 0 / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.281e-05/8.246, allocations: 13.55 kB / 5.543 GB, free: 318.5 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/8.246, allocations: 170.5 kB / 5.543 GB, free: 318.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/8.246, allocations: 54.98 kB / 5.543 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/8.246, allocations: 16.17 kB / 5.543 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/8.246, allocations: 0 / 5.543 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/8.247, allocations: 41.06 kB / 5.543 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/8.247, allocations: 0 / 5.543 GB, free: 318.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0006146/8.247, allocations: 360.4 kB / 5.544 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/8.247, allocations: 55.47 kB / 5.544 GB, free: 317.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.492e-05/8.247, allocations: 95.12 kB / 5.544 GB, free: 317.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/8.247, allocations: 34.58 kB / 5.544 GB, free: 317.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/8.247, allocations: 84.14 kB / 5.544 GB, free: 317.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/8.247, allocations: 45.41 kB / 5.544 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/8.247, allocations: 3.875 kB / 5.544 GB, free: 317.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.948e-05/8.247, allocations: 316 kB / 5.544 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/8.247, allocations: 25.72 kB / 5.544 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/8.247, allocations: 34.36 kB / 5.544 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.937e-05/8.248, allocations: 59.11 kB / 5.544 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/8.248, allocations: 1 kB / 5.544 GB, free: 317.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001384/8.248, allocations: 100.4 kB / 5.544 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/8.248, allocations: 5.594 kB / 5.544 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/8.248, allocations: 1.531 kB / 5.544 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/8.248, allocations: 0 / 5.544 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/8.248, allocations: 21.84 kB / 5.544 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/8.248, allocations: 3.938 kB / 5.544 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/8.248, allocations: 5.125 kB / 5.544 GB, free: 317.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/8.248, allocations: 3.656 kB / 5.544 GB, free: 317.2 MB / 0.8855 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 6.355e-05/8.248, allocations: 118.8 kB / 5.545 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/8.248, allocations: 10.88 kB / 5.545 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/8.248, allocations: 10.59 kB / 5.545 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/8.248, allocations: 5.453 kB / 5.545 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/8.248, allocations: 0 / 5.545 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/8.248, allocations: 1.531 kB / 5.545 GB, free: 317.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/8.248, allocations: 168.3 kB / 5.545 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/8.248, allocations: 7.938 kB / 5.545 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/8.248, allocations: 26.08 kB / 5.545 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/8.248, allocations: 5.375 kB / 5.545 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/8.248, allocations: 0 / 5.545 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/8.248, allocations: 2.375 kB / 5.545 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/8.248, allocations: 0 / 5.545 GB, free: 316.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/8.249, allocations: 127.9 kB / 5.545 GB, free: 316.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/8.249, allocations: 91.48 kB / 5.545 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/8.249, allocations: 5.344 kB / 5.545 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/8.249, allocations: 6.281 kB / 5.545 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/8.249, allocations: 6.625 kB / 5.545 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/8.249, allocations: 6.656 kB / 5.545 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.163e-05/8.249, allocations: 76.75 kB / 5.545 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/8.249, allocations: 0 / 5.545 GB, free: 316.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003654/8.249, allocations: 54.38 kB / 5.545 GB, free: 316.7 MB / 0.8855 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.0009104/8.25, allocations: 0.5657 MB / 5.546 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001685/8.25, allocations: 62.17 kB / 5.546 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/8.25, allocations: 0 / 5.546 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/8.25, allocations: 22.38 kB / 5.546 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/8.251, allocations: 20.88 kB / 5.546 GB, free: 316.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/8.251, allocations: 382.8 kB / 5.546 GB, free: 316.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/8.251, allocations: 0.6913 MB / 5.547 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.945e-05/8.251, allocations: 12.91 kB / 5.547 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/8.252, allocations: 11.88 kB / 5.547 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of SimCode: time 7.11e-07/8.252, allocations: 0 / 5.547 GB, free: 315.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.01317/8.265, allocations: 8.055 MB / 5.555 GB, free: 314.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)