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 1.67/1.67, allocations: 287.5 MB / 302.6 MB, free: 8.336 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.001116/0.001116, allocations: 180.8 kB / 371.2 MB, free: 10.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.443/1.443, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0006939/0.0006939, allocations: 97.22 kB / 0.7432 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.000401, allocations: 11.17 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1839, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001256/0.1852, allocations: 0.9937 MB / 0.9796 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6237/0.8088, allocations: 133.5 MB / 1.11 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.8089, allocations: 2.781 kB / 1.11 GB, free: 2.059 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.8089, allocations: 4.688 kB / 1.11 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.889e-05/0.809, allocations: 8.797 kB / 1.11 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.8094, allocations: 76.2 kB / 1.11 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.8095, allocations: 34.75 kB / 1.11 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.8095, allocations: 3.031 kB / 1.11 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.96e-05/0.8096, allocations: 16.53 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.8096, allocations: 15.38 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.8096, allocations: 1.062 kB / 1.11 GB, free: 2.023 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000257/0.8099, allocations: 70.05 kB / 1.11 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.8099, allocations: 7.344 kB / 1.11 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.81, allocations: 37.83 kB / 1.11 GB, free: 17.97 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.8101, allocations: 49.42 kB / 1.11 GB, free: 17.97 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.8102, allocations: 0.7969 kB / 1.11 GB, free: 17.97 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8102, allocations: 1.188 kB / 1.11 GB, free: 17.97 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.8102, allocations: 0 / 1.11 GB, free: 17.97 MB / 0.698 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.0003343/0.8105, allocations: 340.1 kB / 1.111 GB, free: 17.61 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.8106, allocations: 9.406 kB / 1.111 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.8107, allocations: 17.42 kB / 1.111 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.581e-05/0.8108, allocations: 171 kB / 1.111 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.8109, allocations: 9.062 kB / 1.111 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.8109, allocations: 4.109 kB / 1.111 GB, free: 17.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.811, allocations: 50.53 kB / 1.111 GB, free: 17.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.811, allocations: 3.938 kB / 1.111 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.811, allocations: 3.406 kB / 1.111 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.8111, allocations: 0 / 1.111 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.741e-05/0.8111, allocations: 17.14 kB / 1.111 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.8113, allocations: 164.3 kB / 1.111 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.339e-05/0.8114, allocations: 57.05 kB / 1.111 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.8114, allocations: 17.47 kB / 1.111 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.8114, allocations: 0 / 1.111 GB, free: 17.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.8114, allocations: 40.19 kB / 1.111 GB, free: 17.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.8114, allocations: 0 / 1.111 GB, free: 17.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006616/0.8121, allocations: 375.1 kB / 1.112 GB, free: 16.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.8122, allocations: 52.78 kB / 1.112 GB, free: 16.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.022e-05/0.8122, allocations: 92.75 kB / 1.112 GB, free: 16.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.8122, allocations: 32.14 kB / 1.112 GB, free: 16.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.8123, allocations: 80.14 kB / 1.112 GB, free: 16.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.8123, allocations: 36.97 kB / 1.112 GB, free: 16.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.8123, allocations: 4.125 kB / 1.112 GB, free: 16.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.8124, allocations: 322 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.715e-05/0.8124, allocations: 19.11 kB / 1.112 GB, free: 16.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.8125, allocations: 33.72 kB / 1.112 GB, free: 16.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/0.8126, allocations: 65.45 kB / 1.112 GB, free: 16.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.8126, allocations: 0 / 1.112 GB, free: 16.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001307/0.8127, allocations: 100.7 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.8127, allocations: 5.375 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8127, allocations: 0 / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.8128, allocations: 2.188 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.8129, allocations: 25.25 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8129, allocations: 0.7031 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.096e-05/0.8129, allocations: 1.406 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.8129, allocations: 7.422 kB / 1.112 GB, free: 16.13 MB / 0.698 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.998e-05/0.813, allocations: 124.5 kB / 1.112 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.813, allocations: 2.781 kB / 1.112 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/0.8131, allocations: 12.14 kB / 1.112 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.8131, allocations: 1.969 kB / 1.112 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8131, allocations: 4 kB / 1.112 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8131, allocations: 1.922 kB / 1.112 GB, free: 16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.8132, allocations: 174 kB / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8132, allocations: 1.984 kB / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.8133, allocations: 21.22 kB / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8134, allocations: 0 / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.8134, allocations: 5.375 kB / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.8134, allocations: 0 / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8134, allocations: 0 / 1.113 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.8136, allocations: 145.1 kB / 1.113 GB, free: 15.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.8136, allocations: 86.59 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.8137, allocations: 0.8438 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.8137, allocations: 6.438 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.713e-05/0.8138, allocations: 5.406 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.8138, allocations: 3.469 kB / 1.113 GB, free: 15.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.8138, allocations: 77.17 kB / 1.113 GB, free: 15.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8138, allocations: 0 / 1.113 GB, free: 15.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000181/0.814, allocations: 21.94 kB / 1.113 GB, free: 15.55 MB / 0.698 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 8.632e-05/0.8141, allocations: 103.7 kB / 1.113 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.8142, allocations: 56.08 kB / 1.113 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8142, allocations: 0 / 1.113 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.8143, allocations: 28.53 kB / 1.113 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.8145, allocations: 7.453 kB / 1.113 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.815, allocations: 383 kB / 1.114 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.8152, allocations: 0.6897 MB / 1.114 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.217e-05/0.8153, allocations: 12.61 kB / 1.114 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.8153, allocations: 16.44 kB / 1.114 GB, free: 14.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/0.8153, allocations: 3.938 kB / 1.114 GB, free: 14.46 MB / 0.698 GB Notification: Performance of Templates: time 0.002454/0.8178, allocations: 0.5898 MB / 1.115 GB, free: 14.39 MB / 0.698 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)