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.00116/0.00116, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001398/0.001398, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4162/0.4162, allocations: 55.01 MB / 325.4 MB, free: 0.6211 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.0005566/0.0005566, allocations: 16 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3814, allocations: 60.72 MB / 457.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1766/0.558, allocations: 134 MB / 0.5775 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.5582, allocations: 45.77 kB / 0.5776 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.5583, allocations: 0 / 0.5776 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.5584, allocations: 4 kB / 0.5776 GB, free: 1.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.98e-05/0.5585, allocations: 11.91 kB / 0.5776 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.5589, allocations: 71.91 kB / 0.5777 GB, free: 1.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.606e-05/0.559, allocations: 43.81 kB / 0.5777 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.559, allocations: 4 kB / 0.5777 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.5591, allocations: 19.92 kB / 0.5777 GB, free: 1.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.5592, allocations: 11.94 kB / 0.5778 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.5592, allocations: 4 kB / 0.5778 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.5594, allocations: 47.81 kB / 0.5778 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.5595, allocations: 8 kB / 0.5778 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.5595, allocations: 25.7 kB / 0.5778 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.5597, allocations: 38.45 kB / 0.5779 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5597, allocations: 0 / 0.5779 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.5597, allocations: 0 / 0.5779 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.5597, allocations: 0 / 0.5779 GB, free: 0.8711 MB / 446.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.0004834/0.5602, allocations: 331.4 kB / 0.5782 GB, free: 0.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.5602, allocations: 12.03 kB / 0.5782 GB, free: 500 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.5605, allocations: 15.98 kB / 0.5782 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.5606, allocations: 162.6 kB / 0.5784 GB, free: 284 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.5607, allocations: 29.69 kB / 0.5784 GB, free: 248 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.5607, allocations: 7.938 kB / 0.5784 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5609, allocations: 45.69 kB / 0.5784 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.5609, allocations: 3.984 kB / 0.5785 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.561, allocations: 5.719 kB / 0.5785 GB, free: 180 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.561, allocations: 5.359 kB / 0.5785 GB, free: 176 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.13e-05/0.561, allocations: 19.98 kB / 0.5785 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.5615, allocations: 257.4 kB / 0.5787 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.428e-05/0.5615, allocations: 26.52 kB / 0.5788 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.882e-05/0.5616, allocations: 4.859 kB / 0.5788 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.5616, allocations: 0 / 0.5788 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.5616, allocations: 38.66 kB / 0.5788 GB, free: 15.77 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 1.093e-06/0.5616, allocations: 0 / 0.5788 GB, free: 15.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.5617, allocations: 37.61 kB / 0.5788 GB, free: 15.72 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.5618, allocations: 51.41 kB / 0.5789 GB, free: 15.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.5619, allocations: 113.9 kB / 0.579 GB, free: 15.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.5619, allocations: 25.7 kB / 0.579 GB, free: 15.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.562, allocations: 94.08 kB / 0.5791 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.562, allocations: 4 kB / 0.5791 GB, free: 15.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.562, allocations: 0 / 0.5791 GB, free: 15.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5621, allocations: 314.8 kB / 0.5794 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/0.5621, allocations: 7.984 kB / 0.5794 GB, free: 15.09 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.5622, allocations: 18.58 kB / 0.5794 GB, free: 15.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.341e-05/0.5622, allocations: 12 kB / 0.5794 GB, free: 15.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5622, allocations: 0 / 0.5794 GB, free: 15.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.062e-05/0.5623, allocations: 61.48 kB / 0.5795 GB, free: 14.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5623, allocations: 8 kB / 0.5795 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.5623, allocations: 0 / 0.5795 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5623, allocations: 0 / 0.5795 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.5624, allocations: 8 kB / 0.5795 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.5624, allocations: 8.078 kB / 0.5795 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.454e-05/0.5625, allocations: 0 / 0.5795 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.5625, allocations: 7.938 kB / 0.5795 GB, free: 14.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.568e-05/0.5626, allocations: 109.8 kB / 0.5796 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.5626, allocations: 9.078 kB / 0.5796 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.5626, allocations: 3.125 kB / 0.5796 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.5626, allocations: 0 / 0.5796 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5626, allocations: 0 / 0.5796 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5626, allocations: 0 / 0.5796 GB, free: 14.82 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.563, allocations: 350.7 kB / 0.58 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.563, allocations: 1.406 kB / 0.58 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.447e-05/0.563, allocations: 4 kB / 0.58 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.563, allocations: 0 / 0.58 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.563, allocations: 0.6875 kB / 0.58 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.563, allocations: 3.938 kB / 0.58 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.563, allocations: 0 / 0.58 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.369e-05/0.5631, allocations: 69.03 kB / 0.5801 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.5632, allocations: 81.09 kB / 0.5801 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.5632, allocations: 1.438 kB / 0.5801 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.5633, allocations: 4 kB / 0.5801 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.5633, allocations: 0 / 0.5801 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.5633, allocations: 0 / 0.5801 GB, free: 14.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.777e-05/0.5633, allocations: 91.53 kB / 0.5802 GB, free: 14.13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5634, allocations: 3.938 kB / 0.5802 GB, free: 14.13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0001887/0.5636, allocations: 8.031 kB / 0.5802 GB, free: 14.12 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 (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.0001267/0.5637, allocations: 96.47 kB / 0.5803 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 9.89e-05/0.5638, allocations: 15.94 kB / 0.5803 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5638, allocations: 0 / 0.5803 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.072e-05/0.5638, allocations: 4 kB / 0.5803 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5641, allocations: 7.953 kB / 0.5804 GB, free: 13.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.5644, allocations: 123.8 kB / 0.5805 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.5648, allocations: 0.6731 MB / 0.5811 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 6.03e-05/0.5649, allocations: 7.984 kB / 0.5811 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.5649, allocations: 7.438 kB / 0.5811 GB, free: 13.14 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5649, allocations: 0 / 0.5811 GB, free: 13.14 MB / 462.1 MB Notification: Performance of Templates: time 0.003071/0.568, allocations: 429.1 kB / 0.5816 GB, free: 12.77 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: