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.001143/0.001143, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001126/0.001126, allocations: 194.6 kB / 16.25 MB, free: 6.145 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.434/1.434, allocations: 205.1 MB / 222.1 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.432/0.432, allocations: 54.93 MB / 324.4 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.001475/0.001476, allocations: 71.91 kB / 394.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1566, allocations: 59.58 MB / 454.5 MB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4729/0.6295, allocations: 145.7 MB / 0.5862 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001613/0.6298, allocations: 41.75 kB / 0.5862 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.756e-05/0.6298, allocations: 3.938 kB / 0.5862 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.63, allocations: 0 / 0.5862 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.6301, allocations: 17.66 kB / 0.5862 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004711/0.6306, allocations: 95.66 kB / 0.5863 GB, free: 5.777 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.873e-05/0.6307, allocations: 27.91 kB / 0.5863 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.6307, allocations: 0 / 0.5863 GB, free: 5.75 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.6308, allocations: 11.94 kB / 0.5863 GB, free: 5.738 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.6309, allocations: 23.91 kB / 0.5864 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.6309, allocations: 0 / 0.5864 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.6311, allocations: 74.92 kB / 0.5864 GB, free: 5.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.6312, allocations: 15.97 kB / 0.5865 GB, free: 5.629 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.6312, allocations: 7.938 kB / 0.5865 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.6314, allocations: 69.83 kB / 0.5865 GB, free: 5.555 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.6314, allocations: 4 kB / 0.5865 GB, free: 5.551 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6314, allocations: 0 / 0.5865 GB, free: 5.551 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.6314, allocations: 0.5625 kB / 0.5865 GB, free: 5.551 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.0004163/0.6318, allocations: 335.5 kB / 0.5869 GB, free: 5.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6319, allocations: 12.03 kB / 0.5869 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.6321, allocations: 20.92 kB / 0.5869 GB, free: 5.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.6322, allocations: 164.4 kB / 0.587 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.335e-05/0.6323, allocations: 29.64 kB / 0.5871 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.6323, allocations: 0.6562 kB / 0.5871 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.6325, allocations: 57.59 kB / 0.5871 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.6325, allocations: 0 / 0.5871 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.6325, allocations: 0 / 0.5871 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.6325, allocations: 4 kB / 0.5871 GB, free: 4.844 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.6326, allocations: 15.98 kB / 0.5871 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.633, allocations: 264 kB / 0.5874 GB, free: 4.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.707e-05/0.633, allocations: 19.14 kB / 0.5874 GB, free: 4.496 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.6331, allocations: 4.859 kB / 0.5874 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.6331, allocations: 0 / 0.5874 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.6331, allocations: 38.56 kB / 0.5875 GB, free: 4.441 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 2.255e-06/0.6331, allocations: 4 kB / 0.5875 GB, free: 4.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.6333, allocations: 33.64 kB / 0.5875 GB, free: 4.398 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.6333, allocations: 60.17 kB / 0.5875 GB, free: 4.328 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.6334, allocations: 101.9 kB / 0.5876 GB, free: 4.219 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.6334, allocations: 25.7 kB / 0.5877 GB, free: 4.188 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.6335, allocations: 97.84 kB / 0.5878 GB, free: 4.09 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.6335, allocations: 3.906 kB / 0.5878 GB, free: 4.086 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.6336, allocations: 17.72 kB / 0.5878 GB, free: 4.062 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6337, allocations: 319 kB / 0.5881 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.6337, allocations: 0 / 0.5881 GB, free: 3.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.6338, allocations: 34.5 kB / 0.5881 GB, free: 3.699 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.817e-05/0.6338, allocations: 23.52 kB / 0.5881 GB, free: 3.668 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6339, allocations: 4 kB / 0.5881 GB, free: 3.664 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.787e-05/0.6339, allocations: 57.62 kB / 0.5882 GB, free: 3.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.634, allocations: 4 kB / 0.5882 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.634, allocations: 0 / 0.5882 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.634, allocations: 4 kB / 0.5882 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.634, allocations: 7.938 kB / 0.5882 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6341, allocations: 3.938 kB / 0.5882 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.6341, allocations: 4 kB / 0.5882 GB, free: 3.578 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.6341, allocations: 3.984 kB / 0.5882 GB, free: 3.574 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 9.415e-05/0.6342, allocations: 115.1 kB / 0.5883 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.6342, allocations: 0 / 0.5883 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.6343, allocations: 7.125 kB / 0.5883 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.6343, allocations: 0 / 0.5883 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6343, allocations: 8.219 kB / 0.5884 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6343, allocations: 0 / 0.5884 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.6346, allocations: 346.6 kB / 0.5887 GB, free: 3.039 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.6346, allocations: 3.984 kB / 0.5887 GB, free: 3.035 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.6346, allocations: 8.016 kB / 0.5887 GB, free: 3.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6346, allocations: 3.938 kB / 0.5887 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.6346, allocations: 0 / 0.5887 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6346, allocations: 0.5 kB / 0.5887 GB, free: 3.023 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.6346, allocations: 5.312 kB / 0.5887 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.6347, allocations: 53.14 kB / 0.5888 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.6347, allocations: 85.03 kB / 0.5888 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.6348, allocations: 8.719 kB / 0.5888 GB, free: 2.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.6348, allocations: 3.938 kB / 0.5888 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.6349, allocations: 0 / 0.5888 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.6349, allocations: 0 / 0.5888 GB, free: 2.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.6349, allocations: 79.28 kB / 0.5889 GB, free: 2.758 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6349, allocations: 0 / 0.5889 GB, free: 2.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001859/0.6351, allocations: 11.98 kB / 0.5889 GB, free: 2.746 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.0001028/0.6352, allocations: 103.2 kB / 0.589 GB, free: 2.637 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 7.852e-05/0.6353, allocations: 12 kB / 0.589 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6353, allocations: 0 / 0.589 GB, free: 2.625 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 6.702e-06/0.6353, allocations: 4 kB / 0.5891 GB, free: 2.621 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.6355, allocations: 7.031 kB / 0.5891 GB, free: 2.617 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.6358, allocations: 117.2 kB / 0.5892 GB, free: 2.488 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.6361, allocations: 0.6731 MB / 0.5898 GB, free: 1.789 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.6361, allocations: 11.98 kB / 0.5898 GB, free: 1.777 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.6362, allocations: 11.44 kB / 0.5898 GB, free: 1.77 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6362, allocations: 0 / 0.5898 GB, free: 1.77 MB / 462.1 MB Notification: Performance of Templates: time 0.002624/0.6388, allocations: 461.1 kB / 0.5903 GB, free: 1.367 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)