Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.00173/0.00173, allocations: 184.7 kB / 371.6 MB, free: 3.344 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.767/1.767, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009089/0.0009088, allocations: 87 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.69e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.542/6.816, allocations: 2.054 GB / 3.034 GB, free: 142.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/6.817, allocations: 71.17 kB / 3.034 GB, free: 142.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06787/6.884, allocations: 37.36 MB / 3.071 GB, free: 111.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.915e-06/6.885, allocations: 0 / 3.071 GB, free: 111.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.628e-06/6.885, allocations: 4 kB / 3.071 GB, free: 111.5 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003652/6.885, allocations: 334.5 kB / 3.071 GB, free: 111.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/6.885, allocations: 8.031 kB / 3.071 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002676/6.885, allocations: 33.58 kB / 3.071 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/6.885, allocations: 163 kB / 3.071 GB, free: 110.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.602e-05/6.886, allocations: 29.69 kB / 3.071 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/6.886, allocations: 7.984 kB / 3.071 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/6.886, allocations: 41.44 kB / 3.071 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/6.886, allocations: 8 kB / 3.071 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/6.886, allocations: 3.984 kB / 3.071 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/6.886, allocations: 3.828 kB / 3.071 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.938e-05/6.886, allocations: 23.69 kB / 3.071 GB, free: 110.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/6.886, allocations: 259.1 kB / 3.071 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/6.886, allocations: 22.27 kB / 3.072 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/6.886, allocations: 12.92 kB / 3.072 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/6.886, allocations: 89.09 kB / 3.072 GB, free: 110.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/6.886, allocations: 38.5 kB / 3.072 GB, free: 110.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/6.886, allocations: 0 / 3.072 GB, free: 110.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002129/6.887, allocations: 53.58 kB / 3.072 GB, free: 110.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/6.887, allocations: 55.44 kB / 3.072 GB, free: 110.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/6.887, allocations: 92.75 kB / 3.072 GB, free: 110.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/6.887, allocations: 25.7 kB / 3.072 GB, free: 110 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/6.887, allocations: 96.59 kB / 3.072 GB, free: 109.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/6.887, allocations: 7.781 kB / 3.072 GB, free: 109.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/6.887, allocations: 0 / 3.072 GB, free: 109.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/6.887, allocations: 310.8 kB / 3.072 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/6.887, allocations: 4 kB / 3.072 GB, free: 109.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/6.887, allocations: 26.39 kB / 3.072 GB, free: 109.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/6.887, allocations: 11.98 kB / 3.072 GB, free: 109.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/6.887, allocations: 0 / 3.072 GB, free: 109.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.864e-05/6.887, allocations: 53.5 kB / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/6.887, allocations: 4.625 kB / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/6.887, allocations: 0 / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/6.887, allocations: 12.05 kB / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/6.887, allocations: 7.938 kB / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/6.887, allocations: 3.938 kB / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.855e-05/6.887, allocations: 4 kB / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/6.887, allocations: 0 / 3.072 GB, free: 109.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.424e-05/6.887, allocations: 110.4 kB / 3.072 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/6.887, allocations: 3.906 kB / 3.072 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/6.887, allocations: 7.109 kB / 3.073 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/6.888, allocations: 0 / 3.073 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/6.888, allocations: 7.953 kB / 3.073 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/6.888, allocations: 0 / 3.073 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/6.888, allocations: 362.2 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/6.888, allocations: 3.984 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/6.888, allocations: 4 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/6.888, allocations: 3.953 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/6.888, allocations: 0 / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/6.888, allocations: 0 / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/6.888, allocations: 8.062 kB / 3.073 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.588e-05/6.888, allocations: 78.47 kB / 3.073 GB, free: 108.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/6.888, allocations: 89.05 kB / 3.073 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/6.888, allocations: 0 / 3.073 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/6.888, allocations: 4 kB / 3.073 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/6.888, allocations: 4.031 kB / 3.073 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/6.888, allocations: 0 / 3.073 GB, free: 108.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.112e-05/6.888, allocations: 90.97 kB / 3.073 GB, free: 108.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/6.888, allocations: 0 / 3.073 GB, free: 108.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003361/6.888, allocations: 37.88 kB / 3.073 GB, free: 108.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0006755/6.889, allocations: 0.544 MB / 3.074 GB, free: 108.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 8.394e-05/6.889, allocations: 19.56 kB / 3.074 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/6.889, allocations: 192 / 3.074 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/6.889, allocations: 8 kB / 3.074 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/6.889, allocations: 3.984 kB / 3.074 GB, free: 108 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/6.89, allocations: 80.59 kB / 3.074 GB, free: 107.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001756/6.89, allocations: 0.677 MB / 3.074 GB, free: 107.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.153e-05/6.89, allocations: 16.05 kB / 3.074 GB, free: 107.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/6.89, allocations: 7.438 kB / 3.074 GB, free: 107.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/6.89, allocations: 7.938 kB / 3.074 GB, free: 107.2 MB / 0.948 GB Notification: Performance of Templates: time 0.01152/6.901, allocations: 9.235 MB / 3.084 GB, free: 97.98 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)