Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 293 MB / 309 MB, free: 4.836 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.001099/0.001099, allocations: 172.4 kB / 378.7 MB, free: 1.039 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.503/1.503, allocations: 205.4 MB / 0.6383 GB, free: 8.172 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.0008287/0.0008287, allocations: 101.1 kB / 0.7527 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004108, allocations: 16 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2262, allocations: 116.4 MB / 0.9904 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.18/10.4, allocations: 4.613 GB / 5.603 GB, free: 159.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/10.4, allocations: 85.02 kB / 5.603 GB, free: 159.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06646/10.47, allocations: 36.59 MB / 5.639 GB, free: 122.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.597e-06/10.47, allocations: 0 / 5.639 GB, free: 122.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.231e-06/10.47, allocations: 7.938 kB / 5.639 GB, free: 122.9 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.0003144/10.47, allocations: 352.3 kB / 5.639 GB, free: 122.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/10.47, allocations: 8.031 kB / 5.639 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/10.47, allocations: 13.56 kB / 5.639 GB, free: 122.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.415e-05/10.47, allocations: 165.3 kB / 5.639 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/10.47, allocations: 4.312 kB / 5.639 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/10.47, allocations: 8.359 kB / 5.639 GB, free: 122.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/10.47, allocations: 50.25 kB / 5.639 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/10.47, allocations: 4.188 kB / 5.639 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/10.47, allocations: 3.938 kB / 5.639 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/10.47, allocations: 7.984 kB / 5.639 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.316e-05/10.47, allocations: 15.98 kB / 5.639 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/10.47, allocations: 169.6 kB / 5.64 GB, free: 122 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.272e-05/10.47, allocations: 46.5 kB / 5.64 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/10.47, allocations: 20.86 kB / 5.64 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/10.47, allocations: 5.266 kB / 5.64 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/10.47, allocations: 34.56 kB / 5.64 GB, free: 121.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/10.47, allocations: 0 / 5.64 GB, free: 121.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0006503/10.47, allocations: 375.9 kB / 5.64 GB, free: 121.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/10.47, allocations: 51.41 kB / 5.64 GB, free: 121.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.689e-05/10.47, allocations: 97.86 kB / 5.64 GB, free: 121.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/10.47, allocations: 29.7 kB / 5.64 GB, free: 121.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/10.47, allocations: 80.14 kB / 5.64 GB, free: 121.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/10.47, allocations: 43.38 kB / 5.64 GB, free: 121.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/10.47, allocations: 4 kB / 5.64 GB, free: 121.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/10.47, allocations: 322.8 kB / 5.641 GB, free: 120.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/10.47, allocations: 12.56 kB / 5.641 GB, free: 120.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.191e-05/10.47, allocations: 37.7 kB / 5.641 GB, free: 120.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.386e-05/10.47, allocations: 63.55 kB / 5.641 GB, free: 120.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/10.47, allocations: 0 / 5.641 GB, free: 120.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001152/10.47, allocations: 101.5 kB / 5.641 GB, free: 120.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/10.47, allocations: 5.562 kB / 5.641 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/10.47, allocations: 1.219 kB / 5.641 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/10.47, allocations: 4 kB / 5.641 GB, free: 120.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/10.47, allocations: 19.98 kB / 5.641 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/10.47, allocations: 4 kB / 5.641 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/10.47, allocations: 4 kB / 5.641 GB, free: 120.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/10.47, allocations: 5.797 kB / 5.641 GB, free: 120.5 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 6.233e-05/10.47, allocations: 117.8 kB / 5.641 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/10.47, allocations: 11.88 kB / 5.641 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/10.47, allocations: 7.969 kB / 5.641 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/10.47, allocations: 4 kB / 5.641 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/10.47, allocations: 0 / 5.641 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/10.47, allocations: 3.984 kB / 5.641 GB, free: 120.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.5e-05/10.47, allocations: 165.7 kB / 5.641 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/10.47, allocations: 4.875 kB / 5.641 GB, free: 120.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/10.47, allocations: 23.98 kB / 5.641 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/10.47, allocations: 4 kB / 5.641 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/10.47, allocations: 0 / 5.641 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/10.47, allocations: 4 kB / 5.641 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/10.47, allocations: 3.938 kB / 5.641 GB, free: 120.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/10.47, allocations: 132.9 kB / 5.641 GB, free: 120 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/10.47, allocations: 85.05 kB / 5.641 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/10.47, allocations: 0 / 5.641 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/10.47, allocations: 12.03 kB / 5.641 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/10.47, allocations: 8.938 kB / 5.641 GB, free: 119.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/10.47, allocations: 0 / 5.641 GB, free: 119.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.731e-05/10.47, allocations: 79.28 kB / 5.641 GB, free: 119.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/10.47, allocations: 0 / 5.641 GB, free: 119.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000323/10.47, allocations: 55.98 kB / 5.642 GB, free: 119.7 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.0007678/10.47, allocations: 0.5715 MB / 5.642 GB, free: 119.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000143/10.47, allocations: 51.98 kB / 5.642 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/10.47, allocations: 0 / 5.642 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.445e-05/10.47, allocations: 27.92 kB / 5.642 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/10.47, allocations: 14.38 kB / 5.642 GB, free: 119.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/10.48, allocations: 399.3 kB / 5.643 GB, free: 118.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/10.48, allocations: 0.6888 MB / 5.643 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.276e-05/10.48, allocations: 12.66 kB / 5.643 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/10.48, allocations: 11.44 kB / 5.643 GB, free: 117.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.71e-07/10.48, allocations: 1.688 kB / 5.643 GB, free: 117.9 MB / 0.948 GB Notification: Performance of Templates: time 0.01054/10.49, allocations: 8.05 MB / 5.651 GB, free: 109.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)