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.005236/0.005236, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.001281/0.001281, allocations: 200.9 kB / 16.68 MB, free: 5.969 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.395/1.395, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2875/0.2875, allocations: 54.96 MB / 324.9 MB, free: 4.863 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.001585/0.001585, allocations: 64.84 kB / 456.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1616, allocations: 59.6 MB / 0.5037 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5105/0.6722, allocations: 147.8 MB / 0.6481 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001632/0.6724, allocations: 44.47 kB / 0.6481 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.6724, allocations: 0 / 0.6481 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001526/0.6726, allocations: 3.938 kB / 0.6481 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.649e-05/0.6727, allocations: 14.67 kB / 0.6481 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.6733, allocations: 99.61 kB / 0.6482 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.894e-05/0.6734, allocations: 31.91 kB / 0.6483 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.6734, allocations: 3.984 kB / 0.6483 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.6735, allocations: 15.92 kB / 0.6483 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.6736, allocations: 8 kB / 0.6483 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.6736, allocations: 0 / 0.6483 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.6739, allocations: 87.7 kB / 0.6484 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.6739, allocations: 9.906 kB / 0.6484 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.674, allocations: 11.98 kB / 0.6484 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.6742, allocations: 67.5 kB / 0.6485 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6742, allocations: 8 kB / 0.6485 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6742, allocations: 0 / 0.6485 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.6742, allocations: 0 / 0.6485 GB, free: 12.86 MB / 0.4981 GB 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.0004253/0.6746, allocations: 333 kB / 0.6488 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6747, allocations: 8.031 kB / 0.6488 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002285/0.6749, allocations: 20.91 kB / 0.6488 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.675, allocations: 160.6 kB / 0.649 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.55e-05/0.6751, allocations: 40.14 kB / 0.649 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.6751, allocations: 4 kB / 0.649 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.6753, allocations: 49.61 kB / 0.6491 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6753, allocations: 0 / 0.6491 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6753, allocations: 0 / 0.6491 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.6753, allocations: 4 kB / 0.6491 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.6754, allocations: 15.98 kB / 0.6491 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.6758, allocations: 264.9 kB / 0.6493 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.846e-05/0.6758, allocations: 22.52 kB / 0.6493 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.6758, allocations: 8.859 kB / 0.6494 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.6758, allocations: 1.688 kB / 0.6494 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6759, allocations: 30.56 kB / 0.6494 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.6759, allocations: 0 / 0.6494 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.676, allocations: 37.77 kB / 0.6494 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.6761, allocations: 51.41 kB / 0.6495 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.6762, allocations: 105.9 kB / 0.6496 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.6762, allocations: 29.7 kB / 0.6496 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.6762, allocations: 92.03 kB / 0.6497 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.572e-06/0.6763, allocations: 7.891 kB / 0.6497 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.6763, allocations: 17.7 kB / 0.6497 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6764, allocations: 319 kB / 0.65 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.6764, allocations: 7.938 kB / 0.65 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.6765, allocations: 26.59 kB / 0.6501 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.121e-05/0.6765, allocations: 26.58 kB / 0.6501 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.6765, allocations: 0 / 0.6501 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.511e-05/0.6766, allocations: 61.56 kB / 0.6501 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.6766, allocations: 8 kB / 0.6501 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.6766, allocations: 0 / 0.6501 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6767, allocations: 3.938 kB / 0.6501 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.766e-05/0.6767, allocations: 8 kB / 0.6502 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.6767, allocations: 3.938 kB / 0.6502 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.946e-05/0.6768, allocations: 7.953 kB / 0.6502 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.6768, allocations: 4 kB / 0.6502 GB, free: 10.88 MB / 0.4981 GB 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.283e-05/0.6769, allocations: 113.9 kB / 0.6503 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.6769, allocations: 7.984 kB / 0.6503 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.945e-05/0.6769, allocations: 3.125 kB / 0.6503 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.6769, allocations: 0 / 0.6503 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6769, allocations: 4.625 kB / 0.6503 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.677, allocations: 0 / 0.6503 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.6772, allocations: 342.7 kB / 0.6506 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6772, allocations: 0 / 0.6506 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.6772, allocations: 8.906 kB / 0.6506 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.6772, allocations: 3.938 kB / 0.6506 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.6773, allocations: 0 / 0.6506 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6773, allocations: 0 / 0.6506 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6773, allocations: 3.984 kB / 0.6506 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.716e-05/0.6773, allocations: 57.14 kB / 0.6507 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.6774, allocations: 77.11 kB / 0.6508 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.6774, allocations: 5.438 kB / 0.6508 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.6775, allocations: 12.02 kB / 0.6508 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.6775, allocations: 3.938 kB / 0.6508 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-06/0.6775, allocations: 0 / 0.6508 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.6776, allocations: 83.28 kB / 0.6509 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6776, allocations: 0 / 0.6509 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001927/0.6778, allocations: 8 kB / 0.6509 GB, free: 10.05 MB / 0.4981 GB 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 9.02e-05/0.6778, allocations: 95.25 kB / 0.651 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.759e-05/0.6779, allocations: 19.98 kB / 0.651 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.678, allocations: 3.938 kB / 0.651 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.895e-06/0.678, allocations: 7.938 kB / 0.651 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.6782, allocations: 1.203 kB / 0.651 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.6785, allocations: 115.1 kB / 0.6511 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.6787, allocations: 0.6768 MB / 0.6518 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.633e-05/0.6788, allocations: 8.25 kB / 0.6518 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.6788, allocations: 7.438 kB / 0.6518 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.6788, allocations: 4 kB / 0.6518 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of Templates: time 0.002503/0.6813, allocations: 478.5 kB / 0.6522 GB, free: 8.641 MB / 0.4981 GB 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)