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.0008854/0.0008855, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009905/0.0009906, allocations: 177.3 kB / 15.95 MB, free: 216 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.403/1.403, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3829/0.3829, allocations: 54.98 MB / 325.4 MB, free: 0.707 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.0005099/0.0005101, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3258, allocations: 60.71 MB / 457.3 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1397/0.4655, allocations: 124.9 MB / 0.5686 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000255/0.4658, allocations: 131.7 kB / 0.5687 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.4659, allocations: 0 / 0.5687 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.466, allocations: 4 kB / 0.5687 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.881e-05/0.4661, allocations: 4.922 kB / 0.5687 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.4665, allocations: 75.8 kB / 0.5688 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.4665, allocations: 11.98 kB / 0.5688 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.4666, allocations: 3.984 kB / 0.5688 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.4666, allocations: 8 kB / 0.5688 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.949e-05/0.4667, allocations: 15.92 kB / 0.5688 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.4667, allocations: 3.938 kB / 0.5688 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.4669, allocations: 51.89 kB / 0.5688 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.467, allocations: 11.98 kB / 0.5689 GB, free: 10.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.467, allocations: 25.7 kB / 0.5689 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.704e-05/0.4671, allocations: 27.92 kB / 0.5689 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.4671, allocations: 0 / 0.5689 GB, free: 10.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4671, allocations: 0 / 0.5689 GB, free: 10.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.4672, allocations: 0 / 0.5689 GB, free: 10.06 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.0003724/0.4675, allocations: 328.7 kB / 0.5692 GB, free: 9.699 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.4676, allocations: 12.03 kB / 0.5692 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.4678, allocations: 23.97 kB / 0.5693 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.468, allocations: 161.8 kB / 0.5694 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.232e-05/0.468, allocations: 30.58 kB / 0.5694 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.4681, allocations: 4 kB / 0.5694 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.4682, allocations: 49.66 kB / 0.5695 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.4683, allocations: 0 / 0.5695 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.4683, allocations: 5.719 kB / 0.5695 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.4683, allocations: 4 kB / 0.5695 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.4684, allocations: 19.98 kB / 0.5695 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.4689, allocations: 260.5 kB / 0.5698 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.4689, allocations: 18.52 kB / 0.5698 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.545e-06/0.4689, allocations: 0 / 0.5698 GB, free: 9.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.469, allocations: 34.56 kB / 0.5698 GB, free: 8.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 4.057e-06/0.469, allocations: 0 / 0.5698 GB, free: 8.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001629/0.4692, allocations: 45.61 kB / 0.5699 GB, free: 8.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.4692, allocations: 52.62 kB / 0.5699 GB, free: 8.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4693, allocations: 105.8 kB / 0.57 GB, free: 8.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.4694, allocations: 29.64 kB / 0.57 GB, free: 8.715 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.4694, allocations: 87.98 kB / 0.5701 GB, free: 8.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.4694, allocations: 0 / 0.5701 GB, free: 8.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.4694, allocations: 128 / 0.5701 GB, free: 8.625 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4696, allocations: 326.8 kB / 0.5704 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.4696, allocations: 0 / 0.5704 GB, free: 8.297 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.4697, allocations: 22.58 kB / 0.5705 GB, free: 8.266 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.4697, allocations: 11.98 kB / 0.5705 GB, free: 8.254 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4697, allocations: 0 / 0.5705 GB, free: 8.254 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001291/0.4698, allocations: 61.5 kB / 0.5705 GB, free: 8.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4699, allocations: 4 kB / 0.5705 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4699, allocations: 6.734 kB / 0.5705 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.4699, allocations: 4.281 kB / 0.5705 GB, free: 8.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.47, allocations: 4 kB / 0.5705 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.47, allocations: 0 / 0.5705 GB, free: 8.172 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.4701, allocations: 4 kB / 0.5706 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.4701, allocations: 0 / 0.5706 GB, free: 8.168 MB / 446.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 0.0001077/0.4702, allocations: 122.6 kB / 0.5707 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4702, allocations: 7.938 kB / 0.5707 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.483e-05/0.4702, allocations: 3.125 kB / 0.5707 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4703, allocations: 7.984 kB / 0.5707 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.4703, allocations: 1.688 kB / 0.5707 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4703, allocations: 0 / 0.5707 GB, free: 8.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.4706, allocations: 342.8 kB / 0.571 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4706, allocations: 0 / 0.571 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.603e-05/0.4706, allocations: 0 / 0.571 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4707, allocations: 4.031 kB / 0.571 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.4707, allocations: 0 / 0.571 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.4707, allocations: 4 kB / 0.571 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4707, allocations: 4.781 kB / 0.571 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.576e-05/0.4708, allocations: 64.98 kB / 0.5711 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.4709, allocations: 77.11 kB / 0.5712 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.4709, allocations: 4 kB / 0.5712 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.471, allocations: 8.656 kB / 0.5712 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.471, allocations: 0 / 0.5712 GB, free: 7.426 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.471, allocations: 0 / 0.5712 GB, free: 7.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.4711, allocations: 87.27 kB / 0.5713 GB, free: 7.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4711, allocations: 4 kB / 0.5713 GB, free: 7.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.4713, allocations: 4.938 kB / 0.5713 GB, free: 7.332 MB / 446.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.0001136/0.4714, allocations: 95.25 kB / 0.5714 GB, free: 7.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.745e-05/0.4715, allocations: 19.92 kB / 0.5714 GB, free: 7.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4715, allocations: 0 / 0.5714 GB, free: 7.211 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.124e-06/0.4715, allocations: 4 kB / 0.5714 GB, free: 7.207 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.4717, allocations: 7.234 kB / 0.5714 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.472, allocations: 115.6 kB / 0.5715 GB, free: 7.074 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.4723, allocations: 0.6847 MB / 0.5722 GB, free: 6.363 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.37e-05/0.4724, allocations: 8.25 kB / 0.5722 GB, free: 6.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.4724, allocations: 12.38 kB / 0.5722 GB, free: 6.348 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4724, allocations: 0 / 0.5722 GB, free: 6.348 MB / 446.1 MB Notification: Performance of Templates: time 0.002702/0.4751, allocations: 421.9 kB / 0.5726 GB, free: 5.977 MB / 446.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: