Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.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.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.62/1.62, allocations: 285.6 MB / 293.1 MB, free: 10.27 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.00123/0.00123, allocations: 176.9 kB / 361.4 MB, free: 6.828 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.523/1.523, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008434/0.0008433, allocations: 97.19 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.691e-05/1.693e-05, allocations: 4 kB / 0.8517 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7307/0.7307, allocations: 115.3 MB / 0.9643 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.163/5.894, allocations: 2.076 GB / 3.04 GB, free: 85.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/5.894, allocations: 71.97 kB / 3.04 GB, free: 85.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1035/5.998, allocations: 49.75 MB / 3.089 GB, free: 35.77 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.644e-06/5.998, allocations: 0 / 3.089 GB, free: 35.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.768e-06/5.998, allocations: 4 kB / 3.089 GB, free: 35.77 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001042/5.999, allocations: 0.5569 MB / 3.09 GB, free: 35.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/5.999, allocations: 19.97 kB / 3.09 GB, free: 35.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/6, allocations: 132.9 kB / 3.09 GB, free: 35.02 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/6, allocations: 215.4 kB / 3.09 GB, free: 34.77 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/6, allocations: 8.875 kB / 3.09 GB, free: 34.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/6, allocations: 12 kB / 3.09 GB, free: 34.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004295/6.001, allocations: 316.6 kB / 3.09 GB, free: 34.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/6.001, allocations: 278 kB / 3.09 GB, free: 34.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/6.001, allocations: 0 / 3.09 GB, free: 34.15 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/6.001, allocations: 3.953 kB / 3.09 GB, free: 34.14 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/6.001, allocations: 15.98 kB / 3.09 GB, free: 34.13 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/6.002, allocations: 1.101 MB / 3.092 GB, free: 32.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/6.003, allocations: 178.6 kB / 3.092 GB, free: 32.75 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/6.003, allocations: 79.83 kB / 3.092 GB, free: 32.67 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003568/6.003, allocations: 354.5 kB / 3.092 GB, free: 32.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/6.003, allocations: 38.55 kB / 3.092 GB, free: 32.21 MB / 0.948 GB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/6.003, allocations: 0 / 3.092 GB, free: 32.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=21): time 0.0004086/6.004, allocations: 173.5 kB / 3.092 GB, free: 32.04 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/6.004, allocations: 63.31 kB / 3.092 GB, free: 31.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/6.004, allocations: 136.2 kB / 3.093 GB, free: 31.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/6.004, allocations: 29.7 kB / 3.093 GB, free: 31.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/6.004, allocations: 152 kB / 3.093 GB, free: 31.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/6.004, allocations: 66.95 kB / 3.093 GB, free: 31.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/6.004, allocations: 0 / 3.093 GB, free: 31.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/6.004, allocations: 322.8 kB / 3.093 GB, free: 31.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.965e-05/6.004, allocations: 68.23 kB / 3.093 GB, free: 31.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/6.004, allocations: 143.7 kB / 3.093 GB, free: 31 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/6.004, allocations: 88.62 kB / 3.093 GB, free: 30.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/6.004, allocations: 3.953 kB / 3.093 GB, free: 30.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003555/6.005, allocations: 250.9 kB / 3.094 GB, free: 30.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/6.005, allocations: 9.094 kB / 3.094 GB, free: 30.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/6.005, allocations: 3.984 kB / 3.094 GB, free: 30.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/6.005, allocations: 8 kB / 3.094 GB, free: 30.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/6.005, allocations: 55.92 kB / 3.094 GB, free: 30.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/6.005, allocations: 8.094 kB / 3.094 GB, free: 30.58 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/6.005, allocations: 27.67 kB / 3.094 GB, free: 30.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/6.005, allocations: 12.25 kB / 3.094 GB, free: 30.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.656e-05/6.005, allocations: 118.5 kB / 3.094 GB, free: 30.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/6.005, allocations: 11.91 kB / 3.094 GB, free: 30.41 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003618/6.006, allocations: 218.1 kB / 3.094 GB, free: 30.19 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/6.006, allocations: 0 / 3.094 GB, free: 30.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/6.006, allocations: 0 / 3.094 GB, free: 30.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/6.006, allocations: 7.984 kB / 3.094 GB, free: 30.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/6.006, allocations: 492.2 kB / 3.095 GB, free: 29.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/6.006, allocations: 0 / 3.095 GB, free: 29.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/6.007, allocations: 39.94 kB / 3.095 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/6.007, allocations: 0 / 3.095 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/6.007, allocations: 4 kB / 3.095 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/6.007, allocations: 0 / 3.095 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/6.007, allocations: 3.5 kB / 3.095 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/6.007, allocations: 318.8 kB / 3.095 GB, free: 29.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/6.007, allocations: 112.8 kB / 3.095 GB, free: 29.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/6.007, allocations: 4 kB / 3.095 GB, free: 29.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/6.007, allocations: 7.984 kB / 3.095 GB, free: 29.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/6.007, allocations: 11.98 kB / 3.095 GB, free: 29.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/6.007, allocations: 12 kB / 3.095 GB, free: 29.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.258e-05/6.007, allocations: 111.2 kB / 3.095 GB, free: 28.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/6.007, allocations: 3.375 kB / 3.095 GB, free: 28.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005964/6.008, allocations: 139.8 kB / 3.095 GB, free: 28.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009013/6.009, allocations: 0.7074 MB / 3.096 GB, free: 28.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002909/6.009, allocations: 183.6 kB / 3.096 GB, free: 27.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/6.009, allocations: 0.75 kB / 3.096 GB, free: 27.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/6.009, allocations: 82.02 kB / 3.096 GB, free: 27.89 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/6.01, allocations: 46.03 kB / 3.096 GB, free: 27.85 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/6.01, allocations: 232 kB / 3.096 GB, free: 27.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/6.01, allocations: 0.7365 MB / 3.097 GB, free: 26.82 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002707/6.011, allocations: 59.67 kB / 3.097 GB, free: 26.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/6.011, allocations: 23.44 kB / 3.097 GB, free: 26.75 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/6.011, allocations: 0 / 3.097 GB, free: 26.75 MB / 0.948 GB Notification: Performance of Templates: time 0.01034/6.021, allocations: 6.824 MB / 3.104 GB, free: 20.01 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)