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.00147/0.00147, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 196 kB / 16.53 MB, free: 6.664 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.495/1.495, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4496/0.4496, allocations: 54.94 MB / 324.7 MB, free: 15.94 MB / 270.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.001532/0.001532, allocations: 59.91 kB / 395.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.145, allocations: 59.59 MB / 454.9 MB, free: 152 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4877/0.6327, allocations: 147.8 MB / 0.5886 GB, free: 3.617 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002218/0.633, allocations: 47.44 kB / 0.5887 GB, free: 3.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.6331, allocations: 0 / 0.5887 GB, free: 3.574 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.6334, allocations: 4 kB / 0.5887 GB, free: 3.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.6335, allocations: 15.91 kB / 0.5887 GB, free: 3.555 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007084/0.6342, allocations: 103.5 kB / 0.5888 GB, free: 3.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.6343, allocations: 27.86 kB / 0.5888 GB, free: 3.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.845e-05/0.6344, allocations: 7.984 kB / 0.5888 GB, free: 3.426 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.287e-05/0.6345, allocations: 12 kB / 0.5888 GB, free: 3.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.6346, allocations: 15.91 kB / 0.5888 GB, free: 3.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.6346, allocations: 4 kB / 0.5888 GB, free: 3.395 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003091/0.6349, allocations: 79.72 kB / 0.5889 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.458e-05/0.635, allocations: 8 kB / 0.5889 GB, free: 3.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.635, allocations: 7.984 kB / 0.5889 GB, free: 3.301 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.6353, allocations: 77.77 kB / 0.589 GB, free: 3.227 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.6353, allocations: 0 / 0.589 GB, free: 3.227 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6353, allocations: 0 / 0.589 GB, free: 3.227 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.6353, allocations: 0 / 0.589 GB, free: 3.227 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.0006187/0.6359, allocations: 331.5 kB / 0.5893 GB, free: 2.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.636, allocations: 20.02 kB / 0.5893 GB, free: 2.836 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/0.6363, allocations: 12.92 kB / 0.5893 GB, free: 2.824 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.6365, allocations: 167.5 kB / 0.5895 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.704e-05/0.6366, allocations: 33.62 kB / 0.5895 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.6366, allocations: 0 / 0.5895 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.6368, allocations: 49.67 kB / 0.5896 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.6369, allocations: 3.984 kB / 0.5896 GB, free: 2.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.6369, allocations: 4 kB / 0.5896 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.6369, allocations: 4 kB / 0.5896 GB, free: 2.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.637, allocations: 19.92 kB / 0.5896 GB, free: 2.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.6375, allocations: 260 kB / 0.5899 GB, free: 2.199 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.775e-05/0.6376, allocations: 18.58 kB / 0.5899 GB, free: 2.172 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.6376, allocations: 8.859 kB / 0.5899 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.6376, allocations: 0 / 0.5899 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.6377, allocations: 34.56 kB / 0.5899 GB, free: 2.117 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.6377, allocations: 4 kB / 0.5899 GB, free: 2.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.6379, allocations: 37.64 kB / 0.59 GB, free: 2.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.6379, allocations: 55.34 kB / 0.59 GB, free: 2.004 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.638, allocations: 105.8 kB / 0.5901 GB, free: 1.891 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.638, allocations: 25.83 kB / 0.5901 GB, free: 1.859 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.6381, allocations: 93.86 kB / 0.5902 GB, free: 1.766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-06/0.6381, allocations: 3.906 kB / 0.5902 GB, free: 1.762 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.6382, allocations: 21.7 kB / 0.5903 GB, free: 1.734 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.6383, allocations: 314.8 kB / 0.5906 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.6383, allocations: 0 / 0.5906 GB, free: 1.418 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.6383, allocations: 30.56 kB / 0.5906 GB, free: 1.379 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.6384, allocations: 34.52 kB / 0.5906 GB, free: 1.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6384, allocations: 0 / 0.5906 GB, free: 1.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.117e-05/0.6385, allocations: 53.62 kB / 0.5907 GB, free: 1.277 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.6385, allocations: 4 kB / 0.5907 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6385, allocations: 0 / 0.5907 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.6385, allocations: 4 kB / 0.5907 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.6386, allocations: 8.094 kB / 0.5907 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6386, allocations: 3.938 kB / 0.5907 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.6387, allocations: 4 kB / 0.5907 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.6387, allocations: 0.8438 kB / 0.5907 GB, free: 1.254 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.253e-05/0.6388, allocations: 117.8 kB / 0.5908 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.6388, allocations: 0.5625 kB / 0.5908 GB, free: 1.129 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.6388, allocations: 7.125 kB / 0.5908 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6388, allocations: 0 / 0.5908 GB, free: 1.121 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6388, allocations: 7.938 kB / 0.5908 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.6389, allocations: 4 kB / 0.5908 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.6391, allocations: 343.4 kB / 0.5912 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.6392, allocations: 0 / 0.5912 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.225e-05/0.6392, allocations: 0.6562 kB / 0.5912 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.6392, allocations: 7.922 kB / 0.5912 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.6392, allocations: 0 / 0.5912 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.6392, allocations: 0.75 kB / 0.5912 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6392, allocations: 7.938 kB / 0.5912 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.6393, allocations: 57.17 kB / 0.5912 GB, free: 0.625 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.6393, allocations: 84.98 kB / 0.5913 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6394, allocations: 5.969 kB / 0.5913 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.6394, allocations: 5.047 kB / 0.5913 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.6395, allocations: 0 / 0.5913 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.6395, allocations: 0 / 0.5913 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.321e-05/0.6395, allocations: 79.56 kB / 0.5914 GB, free: 448 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6395, allocations: 4.031 kB / 0.5914 GB, free: 444 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.6397, allocations: 12 kB / 0.5914 GB, free: 432 kB / 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.0001273/0.6399, allocations: 99.23 kB / 0.5915 GB, free: 324 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.64, allocations: 11.94 kB / 0.5915 GB, free: 312 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.64, allocations: 0 / 0.5915 GB, free: 312 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 7.024e-06/0.64, allocations: 4 kB / 0.5915 GB, free: 308 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.6403, allocations: 8.391 kB / 0.5915 GB, free: 300 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.6405, allocations: 112.7 kB / 0.5916 GB, free: 172 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.6408, allocations: 0.6768 MB / 0.5923 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.6408, allocations: 7.984 kB / 0.5923 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.6409, allocations: 7.438 kB / 0.5923 GB, free: 15.45 MB / 478.1 MB Notification: Performance of SimCode: time 2.61e-07/0.6409, allocations: 4 kB / 0.5923 GB, free: 15.45 MB / 478.1 MB Notification: Performance of Templates: time 0.002747/0.6436, allocations: 463.1 kB / 0.5928 GB, free: 15.04 MB / 478.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)