Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4471/0.4471, allocations: 54.93 MB / 324.3 MB, free: 152 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1498, allocations: 59.59 MB / 454.3 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4119/0.5618, allocations: 145.6 MB / 0.5858 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000139/0.562, allocations: 48.09 kB / 0.5858 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.562, allocations: 0 / 0.5858 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.5622, allocations: 0 / 0.5858 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.781e-05/0.5623, allocations: 15.91 kB / 0.5858 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.5628, allocations: 93.36 kB / 0.5859 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.46e-05/0.5629, allocations: 47.89 kB / 0.586 GB, free: 6.156 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.5629, allocations: 11.92 kB / 0.586 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.563, allocations: 8.562 kB / 0.586 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.5631, allocations: 15.92 kB / 0.586 GB, free: 6.121 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.5631, allocations: 4 kB / 0.586 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002834/0.5634, allocations: 79.72 kB / 0.5861 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.5634, allocations: 3.984 kB / 0.5861 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.5635, allocations: 19.92 kB / 0.5861 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.5637, allocations: 62.59 kB / 0.5862 GB, free: 5.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.5637, allocations: 4 kB / 0.5862 GB, free: 5.953 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5637, allocations: 0 / 0.5862 GB, free: 5.953 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.5637, allocations: 0 / 0.5862 GB, free: 5.953 MB / 462.1 MB 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.0005739/0.5643, allocations: 335.5 kB / 0.5865 GB, free: 5.578 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.5644, allocations: 15.97 kB / 0.5865 GB, free: 5.562 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.5646, allocations: 20.2 kB / 0.5865 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.5648, allocations: 160.4 kB / 0.5867 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-05/0.5649, allocations: 33.64 kB / 0.5867 GB, free: 5.312 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.5649, allocations: 4 kB / 0.5867 GB, free: 5.309 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5651, allocations: 49.61 kB / 0.5867 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5651, allocations: 0 / 0.5867 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.5651, allocations: 4 kB / 0.5868 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.5651, allocations: 3.938 kB / 0.5868 GB, free: 5.246 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6e-05/0.5652, allocations: 23.97 kB / 0.5868 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.5656, allocations: 264 kB / 0.587 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.5657, allocations: 14.58 kB / 0.587 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.048e-05/0.5657, allocations: 12.8 kB / 0.5871 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.219e-06/0.5657, allocations: 0 / 0.5871 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.5657, allocations: 34.62 kB / 0.5871 GB, free: 4.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.5657, allocations: 0 / 0.5871 GB, free: 4.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001502/0.5659, allocations: 37.69 kB / 0.5871 GB, free: 4.793 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.5659, allocations: 55.34 kB / 0.5872 GB, free: 4.727 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.566, allocations: 101.9 kB / 0.5873 GB, free: 4.617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.566, allocations: 25.7 kB / 0.5873 GB, free: 4.586 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.5661, allocations: 97.83 kB / 0.5874 GB, free: 4.488 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.5661, allocations: 11.91 kB / 0.5874 GB, free: 4.477 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.5662, allocations: 13.72 kB / 0.5874 GB, free: 4.457 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5663, allocations: 319 kB / 0.5877 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.5663, allocations: 7.938 kB / 0.5877 GB, free: 4.129 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.5663, allocations: 22.56 kB / 0.5878 GB, free: 4.098 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.5664, allocations: 26.58 kB / 0.5878 GB, free: 4.062 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5664, allocations: 0 / 0.5878 GB, free: 4.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.868e-05/0.5665, allocations: 57.62 kB / 0.5878 GB, free: 4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.5665, allocations: 4 kB / 0.5878 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5665, allocations: 4 kB / 0.5878 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.5665, allocations: 3.938 kB / 0.5878 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.5666, allocations: 4 kB / 0.5878 GB, free: 3.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.5666, allocations: 11.92 kB / 0.5879 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.5666, allocations: 0 / 0.5879 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.5666, allocations: 4 kB / 0.5879 GB, free: 3.969 MB / 462.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.943e-05/0.5667, allocations: 114.5 kB / 0.588 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5667, allocations: 0 / 0.588 GB, free: 3.848 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.5668, allocations: 7.125 kB / 0.588 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5668, allocations: 0 / 0.588 GB, free: 3.84 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5668, allocations: 4.625 kB / 0.588 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5668, allocations: 0 / 0.588 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.567, allocations: 355.2 kB / 0.5883 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5671, allocations: 3.938 kB / 0.5883 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.5671, allocations: 4.531 kB / 0.5883 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5671, allocations: 3.938 kB / 0.5883 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.5671, allocations: 4 kB / 0.5883 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5671, allocations: 0 / 0.5883 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5671, allocations: 4.156 kB / 0.5883 GB, free: 3.414 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.78e-05/0.5672, allocations: 53.14 kB / 0.5884 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.5672, allocations: 89.03 kB / 0.5885 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.5673, allocations: 0 / 0.5885 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.5673, allocations: 4.031 kB / 0.5885 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.5673, allocations: 0 / 0.5885 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.5674, allocations: 4 kB / 0.5885 GB, free: 3.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.129e-05/0.5674, allocations: 91.2 kB / 0.5886 GB, free: 3.141 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5674, allocations: 0 / 0.5886 GB, free: 3.141 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002057/0.5676, allocations: 4 kB / 0.5886 GB, free: 3.137 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.54e-05/0.5677, allocations: 99.19 kB / 0.5887 GB, free: 3.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.5678, allocations: 17.31 kB / 0.5887 GB, free: 3.016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5678, allocations: 4 kB / 0.5887 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.552e-06/0.5678, allocations: 0 / 0.5887 GB, free: 3.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.5681, allocations: 11.92 kB / 0.5887 GB, free: 3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.5683, allocations: 114 kB / 0.5888 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.5686, allocations: 0.6813 MB / 0.5895 GB, free: 2.168 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.408e-05/0.5686, allocations: 16.22 kB / 0.5895 GB, free: 2.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.5686, allocations: 7.438 kB / 0.5895 GB, free: 2.148 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5686, allocations: 0 / 0.5895 GB, free: 2.148 MB / 462.1 MB Notification: Performance of Templates: time 0.002403/0.5711, allocations: 443 kB / 0.5899 GB, free: 1.758 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)