Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.001072/0.001072, allocations: 189 kB / 371.8 MB, free: 10.29 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.97/1.97, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.000998/0.0009979, allocations: 102.8 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 11.47 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2699, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.481/5.751, allocations: 2.089 GB / 3.068 GB, free: 184.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/5.752, allocations: 81.86 kB / 3.068 GB, free: 184.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05801/5.81, allocations: 30.02 MB / 3.098 GB, free: 159 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.293e-06/5.81, allocations: 0 / 3.098 GB, free: 159 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.985e-06/5.81, allocations: 4 kB / 3.098 GB, free: 159 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004422/5.81, allocations: 387.1 kB / 3.098 GB, free: 158.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/5.81, allocations: 16.02 kB / 3.098 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003716/5.811, allocations: 35.67 kB / 3.098 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.695e-05/5.811, allocations: 171 kB / 3.098 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/5.811, allocations: 4 kB / 3.098 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/5.811, allocations: 11.66 kB / 3.098 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/5.811, allocations: 80.78 kB / 3.098 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/5.811, allocations: 0 / 3.098 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/5.811, allocations: 7.688 kB / 3.098 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/5.811, allocations: 0 / 3.098 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/5.811, allocations: 47.34 kB / 3.098 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/5.811, allocations: 176.7 kB / 3.098 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/5.812, allocations: 89.5 kB / 3.099 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/5.812, allocations: 181.6 kB / 3.099 GB, free: 157.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/5.812, allocations: 34.56 kB / 3.099 GB, free: 157.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.383e-06/5.812, allocations: 0 / 3.099 GB, free: 157.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001197/5.813, allocations: 0.5339 MB / 3.099 GB, free: 157.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/5.813, allocations: 63.33 kB / 3.099 GB, free: 157.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/5.813, allocations: 92.25 kB / 3.099 GB, free: 157 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/5.813, allocations: 33.2 kB / 3.099 GB, free: 156.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/5.813, allocations: 84.45 kB / 3.1 GB, free: 156.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/5.813, allocations: 66.44 kB / 3.1 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/5.813, allocations: 3.688 kB / 3.1 GB, free: 156.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/5.813, allocations: 326.5 kB / 3.1 GB, free: 156.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/5.813, allocations: 43.34 kB / 3.1 GB, free: 156.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.731e-05/5.813, allocations: 62.91 kB / 3.1 GB, free: 156.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.697e-05/5.814, allocations: 50.86 kB / 3.1 GB, free: 156.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/5.814, allocations: 0 / 3.1 GB, free: 156.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000182/5.814, allocations: 155 kB / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/5.814, allocations: 4 kB / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/5.814, allocations: 7.938 kB / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/5.814, allocations: 3.938 kB / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/5.814, allocations: 35.98 kB / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/5.814, allocations: 0 / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/5.814, allocations: 7.625 kB / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/5.814, allocations: 8 kB / 3.1 GB, free: 156.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.528e-05/5.814, allocations: 133.7 kB / 3.1 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/5.814, allocations: 11.91 kB / 3.1 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/5.814, allocations: 18.19 kB / 3.1 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/5.814, allocations: 0 / 3.1 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/5.814, allocations: 4 kB / 3.1 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/5.814, allocations: 0 / 3.1 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/5.814, allocations: 191.5 kB / 3.101 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/5.814, allocations: 4 kB / 3.101 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/5.815, allocations: 39.92 kB / 3.101 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/5.815, allocations: 4 kB / 3.101 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/5.815, allocations: 7.812 kB / 3.101 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/5.815, allocations: 3.984 kB / 3.101 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/5.815, allocations: 0 / 3.101 GB, free: 155.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/5.815, allocations: 203.9 kB / 3.101 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/5.815, allocations: 92.75 kB / 3.101 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/5.815, allocations: 4 kB / 3.101 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/5.815, allocations: 15.67 kB / 3.101 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/5.815, allocations: 11.73 kB / 3.101 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/5.815, allocations: 4 kB / 3.101 GB, free: 155.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.968e-05/5.815, allocations: 83.22 kB / 3.101 GB, free: 155.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/5.815, allocations: 0 / 3.101 GB, free: 155.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003294/5.815, allocations: 61.61 kB / 3.101 GB, free: 155.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0005658/5.816, allocations: 0.551 MB / 3.102 GB, free: 154.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001737/5.816, allocations: 113 kB / 3.102 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/5.816, allocations: 4 kB / 3.102 GB, free: 154.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.609e-05/5.816, allocations: 47.23 kB / 3.102 GB, free: 154.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/5.816, allocations: 7.438 kB / 3.102 GB, free: 154.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/5.817, allocations: 0.627 MB / 3.102 GB, free: 154 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/5.817, allocations: 0.705 MB / 3.103 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001205/5.817, allocations: 20.42 kB / 3.103 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/5.817, allocations: 19.44 kB / 3.103 GB, free: 153.2 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/5.817, allocations: 0 / 3.103 GB, free: 153.2 MB / 0.948 GB Notification: Performance of Templates: time 0.009658/5.827, allocations: 8.111 MB / 3.111 GB, free: 145.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)