Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3111/0.3111, allocations: 55.01 MB / 69.96 MB, free: 8.691 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001208/0.001208, allocations: 187.6 kB / 83.98 MB, free: 10.87 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.814/1.814, allocations: 194.4 MB / 292.3 MB, free: 3.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001677/0.001677, allocations: 107.8 kB / 350.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 12 kB / 418.9 MB, free: 37.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.905/6.056, allocations: 2.113 GB / 2.578 GB, free: 72.42 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/6.057, allocations: 79.95 kB / 2.578 GB, free: 72.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06628/6.123, allocations: 36.58 MB / 2.614 GB, free: 35.27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.974e-06/6.123, allocations: 0 / 2.614 GB, free: 35.27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.598e-06/6.123, allocations: 4 kB / 2.614 GB, free: 35.26 MB / 0.4948 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.0003963/6.123, allocations: 355.2 kB / 2.614 GB, free: 34.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/6.123, allocations: 8.031 kB / 2.614 GB, free: 34.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/6.124, allocations: 23.97 kB / 2.614 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/6.124, allocations: 163 kB / 2.614 GB, free: 34.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/6.124, allocations: 25.7 kB / 2.614 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/6.124, allocations: 11.92 kB / 2.614 GB, free: 34.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/6.124, allocations: 49.67 kB / 2.615 GB, free: 34.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/6.124, allocations: 0 / 2.615 GB, free: 34.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/6.124, allocations: 4 kB / 2.615 GB, free: 34.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/6.124, allocations: 0 / 2.615 GB, free: 34.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.708e-05/6.124, allocations: 27.86 kB / 2.615 GB, free: 34.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/6.125, allocations: 252.9 kB / 2.615 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.483e-05/6.125, allocations: 26.58 kB / 2.615 GB, free: 34.18 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/6.125, allocations: 93.16 kB / 2.615 GB, free: 34.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.42e-05/6.125, allocations: 34.56 kB / 2.615 GB, free: 34.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/6.125, allocations: 0 / 2.615 GB, free: 34.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002327/6.125, allocations: 53.62 kB / 2.615 GB, free: 33.96 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/6.125, allocations: 51.53 kB / 2.615 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/6.125, allocations: 104.9 kB / 2.615 GB, free: 33.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/6.125, allocations: 25.7 kB / 2.615 GB, free: 33.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/6.125, allocations: 80.14 kB / 2.615 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/6.125, allocations: 11.84 kB / 2.615 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/6.125, allocations: 0 / 2.615 GB, free: 33.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.465e-05/6.125, allocations: 318.8 kB / 2.616 GB, free: 33.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/6.125, allocations: 7.984 kB / 2.616 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/6.125, allocations: 22.58 kB / 2.616 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/6.125, allocations: 8 kB / 2.616 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/6.125, allocations: 0 / 2.616 GB, free: 33.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.434e-05/6.125, allocations: 57.53 kB / 2.616 GB, free: 33.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/6.125, allocations: 8 kB / 2.616 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/6.126, allocations: 0 / 2.616 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/6.126, allocations: 3.938 kB / 2.616 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.729e-05/6.126, allocations: 12.09 kB / 2.616 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/6.126, allocations: 3.984 kB / 2.616 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/6.126, allocations: 0 / 2.616 GB, free: 33.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.301e-06/6.126, allocations: 4 kB / 2.616 GB, free: 33.21 MB / 0.4948 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 () * Number of clocked 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.005e-05/6.126, allocations: 113.8 kB / 2.616 GB, free: 33.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/6.126, allocations: 4 kB / 2.616 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/6.126, allocations: 7.078 kB / 2.616 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/6.126, allocations: 288 / 2.616 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/6.126, allocations: 0 / 2.616 GB, free: 33.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/6.126, allocations: 4 kB / 2.616 GB, free: 33.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/6.126, allocations: 367.5 kB / 2.616 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/6.126, allocations: 4 kB / 2.616 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/6.126, allocations: 0 / 2.616 GB, free: 32.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/6.126, allocations: 7.938 kB / 2.616 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/6.126, allocations: 0 / 2.616 GB, free: 32.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/6.126, allocations: 7.922 kB / 2.616 GB, free: 32.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/6.126, allocations: 64 / 2.616 GB, free: 32.63 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.685e-05/6.126, allocations: 91.59 kB / 2.616 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.081e-05/6.126, allocations: 81.02 kB / 2.616 GB, free: 32.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/6.126, allocations: 4 kB / 2.616 GB, free: 32.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/6.126, allocations: 4 kB / 2.616 GB, free: 32.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/6.126, allocations: 11.97 kB / 2.616 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/6.126, allocations: 0 / 2.616 GB, free: 32.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.336e-05/6.126, allocations: 79.28 kB / 2.616 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.21e-07/6.126, allocations: 0 / 2.616 GB, free: 32.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003024/6.127, allocations: 39.98 kB / 2.616 GB, free: 32.28 MB / 0.4948 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 () * Number of clocked 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.0005985/6.127, allocations: 0.5382 MB / 2.617 GB, free: 31.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.072e-05/6.127, allocations: 19.92 kB / 2.617 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/6.127, allocations: 0 / 2.617 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.877e-06/6.127, allocations: 8.25 kB / 2.617 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/6.128, allocations: 9.094 kB / 2.617 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002738/6.128, allocations: 125.9 kB / 2.617 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/6.128, allocations: 0.6809 MB / 2.618 GB, free: 30.85 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.275e-05/6.128, allocations: 8.062 kB / 2.618 GB, free: 30.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/6.128, allocations: 11.38 kB / 2.618 GB, free: 30.83 MB / 0.4948 GB Notification: Performance of SimCode: time 3.11e-07/6.128, allocations: 0 / 2.618 GB, free: 30.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.009565/6.138, allocations: 7.578 MB / 2.625 GB, free: 23.24 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)