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.001032/0.001032, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.008434/0.008435, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.484/1.484, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4638/0.4638, allocations: 55.01 MB / 325.8 MB, free: 0.5781 MB / 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.0005718/0.0005718, allocations: 16 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4594, allocations: 60.71 MB / 458 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1827/0.6422, allocations: 143.7 MB / 0.5876 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001231/0.6424, allocations: 47.48 kB / 0.5876 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.6424, allocations: 0 / 0.5876 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.6425, allocations: 11.92 kB / 0.5876 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 8.896e-05/0.6426, allocations: 3.984 kB / 0.5876 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.6431, allocations: 94.95 kB / 0.5877 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.6432, allocations: 51.89 kB / 0.5878 GB, free: 7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.6433, allocations: 4 kB / 0.5878 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.105e-05/0.6433, allocations: 15.97 kB / 0.5878 GB, free: 6.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.841e-05/0.6434, allocations: 16.53 kB / 0.5878 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.6434, allocations: 0 / 0.5878 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.6437, allocations: 75.78 kB / 0.5879 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.6437, allocations: 11.98 kB / 0.5879 GB, free: 6.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.6438, allocations: 29.7 kB / 0.5879 GB, free: 6.844 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.644, allocations: 85.73 kB / 0.588 GB, free: 6.762 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.644, allocations: 0 / 0.588 GB, free: 6.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.644, allocations: 0.75 kB / 0.588 GB, free: 6.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.644, allocations: 0 / 0.588 GB, free: 6.762 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.0004546/0.6445, allocations: 327.5 kB / 0.5883 GB, free: 6.395 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.6445, allocations: 15.97 kB / 0.5883 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.6448, allocations: 16.92 kB / 0.5884 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.6449, allocations: 161.6 kB / 0.5885 GB, free: 6.168 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.645, allocations: 29.64 kB / 0.5885 GB, free: 6.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.645, allocations: 4 kB / 0.5885 GB, free: 6.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.6452, allocations: 51.73 kB / 0.5886 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.6452, allocations: 0 / 0.5886 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.6452, allocations: 4 kB / 0.5886 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.6453, allocations: 0 / 0.5886 GB, free: 6.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.6453, allocations: 24.67 kB / 0.5886 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.6458, allocations: 257.5 kB / 0.5889 GB, free: 5.746 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.179e-05/0.6458, allocations: 18.58 kB / 0.5889 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.6459, allocations: 8.859 kB / 0.5889 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.6459, allocations: 0 / 0.5889 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.6459, allocations: 34.62 kB / 0.5889 GB, free: 5.664 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 2.535e-06/0.6459, allocations: 0 / 0.5889 GB, free: 5.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.6461, allocations: 45.47 kB / 0.589 GB, free: 5.613 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.6461, allocations: 59.47 kB / 0.589 GB, free: 5.543 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.6463, allocations: 101.9 kB / 0.5891 GB, free: 5.434 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.6463, allocations: 25.7 kB / 0.5891 GB, free: 5.402 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.6463, allocations: 95.97 kB / 0.5892 GB, free: 5.305 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.6464, allocations: 7.906 kB / 0.5892 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.6464, allocations: 9.719 kB / 0.5893 GB, free: 5.281 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6465, allocations: 310.8 kB / 0.5896 GB, free: 4.969 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.6465, allocations: 4 kB / 0.5896 GB, free: 4.965 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.157e-05/0.6465, allocations: 30.56 kB / 0.5896 GB, free: 4.926 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.6466, allocations: 30.52 kB / 0.5896 GB, free: 4.887 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6466, allocations: 1.219 kB / 0.5896 GB, free: 4.887 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.251e-05/0.6467, allocations: 53.62 kB / 0.5897 GB, free: 4.828 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.6467, allocations: 8 kB / 0.5897 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6467, allocations: 4.094 kB / 0.5897 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.6468, allocations: 0 / 0.5897 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.6468, allocations: 9 kB / 0.5897 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.6468, allocations: 3.938 kB / 0.5897 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.6469, allocations: 3.984 kB / 0.5897 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.6469, allocations: 7.938 kB / 0.5897 GB, free: 4.793 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 7.841e-05/0.647, allocations: 109.8 kB / 0.5898 GB, free: 4.676 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.647, allocations: 4.281 kB / 0.5898 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.647, allocations: 3.125 kB / 0.5898 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6471, allocations: 7.984 kB / 0.5898 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6471, allocations: 5.156 kB / 0.5898 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6471, allocations: 0 / 0.5898 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.6474, allocations: 343.3 kB / 0.5902 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.6474, allocations: 0 / 0.5902 GB, free: 4.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.6474, allocations: 4.625 kB / 0.5902 GB, free: 4.258 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6474, allocations: 3.938 kB / 0.5902 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.6474, allocations: 0 / 0.5902 GB, free: 4.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.6474, allocations: 7.969 kB / 0.5902 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6474, allocations: 0 / 0.5902 GB, free: 4.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.373e-05/0.6475, allocations: 61.86 kB / 0.5902 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.6475, allocations: 85.03 kB / 0.5903 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.6476, allocations: 0 / 0.5903 GB, free: 4.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.6476, allocations: 7.938 kB / 0.5903 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.6477, allocations: 0.8438 kB / 0.5903 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.6477, allocations: 4.031 kB / 0.5903 GB, free: 4.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.605e-05/0.6477, allocations: 87.27 kB / 0.5904 GB, free: 3.969 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6477, allocations: 0 / 0.5904 GB, free: 3.969 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000181/0.6479, allocations: 8 kB / 0.5904 GB, free: 3.961 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 0.0001008/0.648, allocations: 96.44 kB / 0.5905 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.6481, allocations: 11.94 kB / 0.5905 GB, free: 3.848 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6481, allocations: 0 / 0.5905 GB, free: 3.848 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.632e-06/0.6481, allocations: 4.188 kB / 0.5905 GB, free: 3.844 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.6483, allocations: 8.938 kB / 0.5905 GB, free: 3.836 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.6486, allocations: 123.5 kB / 0.5906 GB, free: 3.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.6489, allocations: 0.677 MB / 0.5913 GB, free: 2.996 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.6489, allocations: 12.05 kB / 0.5913 GB, free: 2.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.649, allocations: 7.438 kB / 0.5913 GB, free: 2.98 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.649, allocations: 0 / 0.5913 GB, free: 2.98 MB / 462.1 MB Notification: Performance of Templates: time 0.002318/0.6513, allocations: 445 kB / 0.5918 GB, free: 2.59 MB / 462.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: