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.009839/0.00984, allocations: 99.52 kB / 15.73 MB, free: 6.008 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.002201/0.002201, allocations: 197.9 kB / 16.68 MB, free: 5.93 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4275/0.4275, allocations: 54.95 MB / 324.8 MB, free: 15.99 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.00149/0.00149, allocations: 66.66 kB / 456.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1551, allocations: 59.6 MB / 0.5037 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6321/0.7872, allocations: 147.8 MB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001677/0.7875, allocations: 45.89 kB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.7875, allocations: 0.9375 kB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.7877, allocations: 2.156 kB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.7878, allocations: 16 kB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.7884, allocations: 97.38 kB / 0.6482 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.7885, allocations: 36 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.7885, allocations: 2.312 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.7886, allocations: 14.09 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.7887, allocations: 14.8 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.7887, allocations: 0.9375 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002995/0.789, allocations: 83.08 kB / 0.6484 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.7891, allocations: 9.969 kB / 0.6484 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.7891, allocations: 10.02 kB / 0.6484 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.7894, allocations: 67.47 kB / 0.6485 GB, free: 488 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7894, allocations: 2.438 kB / 0.6485 GB, free: 488 kB / 0.4981 GB Notification: Performance of FrontEnd: time 3.637e-06/0.7894, allocations: 4.812 kB / 0.6485 GB, free: 484 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7894, allocations: 0 / 0.6485 GB, free: 484 kB / 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.0006519/0.7901, allocations: 335.9 kB / 0.6488 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.7901, allocations: 12.88 kB / 0.6488 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.7904, allocations: 16.83 kB / 0.6488 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.7906, allocations: 168.8 kB / 0.649 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/0.7907, allocations: 35.48 kB / 0.649 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.7907, allocations: 1.031 kB / 0.649 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.7909, allocations: 45.86 kB / 0.6491 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.7909, allocations: 0.7188 kB / 0.6491 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7909, allocations: 0.7188 kB / 0.6491 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.7909, allocations: 3.938 kB / 0.6491 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.839e-05/0.791, allocations: 20.17 kB / 0.6491 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.7915, allocations: 261.6 kB / 0.6493 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.287e-05/0.7915, allocations: 21.39 kB / 0.6493 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.7915, allocations: 6.547 kB / 0.6494 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.132e-06/0.7915, allocations: 0 / 0.6494 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.7916, allocations: 34.47 kB / 0.6494 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7916, allocations: 0.75 kB / 0.6494 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001708/0.7918, allocations: 38.75 kB / 0.6494 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.7918, allocations: 51.41 kB / 0.6495 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.7919, allocations: 110.4 kB / 0.6496 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.7919, allocations: 26.83 kB / 0.6496 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.792, allocations: 101.8 kB / 0.6497 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.7e-06/0.792, allocations: 2.031 kB / 0.6497 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.7921, allocations: 17.88 kB / 0.6497 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7922, allocations: 313.7 kB / 0.65 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.7922, allocations: 6.406 kB / 0.65 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.7923, allocations: 25.94 kB / 0.65 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.984e-05/0.7923, allocations: 32.16 kB / 0.6501 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7923, allocations: 0 / 0.6501 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.825e-05/0.7924, allocations: 55.75 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.7925, allocations: 5.406 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7925, allocations: 0.6562 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7925, allocations: 2.484 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.7926, allocations: 8.641 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.7926, allocations: 5.031 kB / 0.6502 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.7926, allocations: 9.781 kB / 0.6502 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.7927, allocations: 0.9688 kB / 0.6502 GB, free: 14.77 MB / 0.5137 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 8.726e-05/0.7928, allocations: 112.7 kB / 0.6503 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.7928, allocations: 6.656 kB / 0.6503 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.7928, allocations: 4.125 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7928, allocations: 0.6875 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.7928, allocations: 8.781 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.7928, allocations: 1.125 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002698/0.7931, allocations: 344.3 kB / 0.6506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.7931, allocations: 2.016 kB / 0.6506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.7931, allocations: 2 kB / 0.6506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.7932, allocations: 7.969 kB / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.7932, allocations: 0.875 kB / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7932, allocations: 0 / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7932, allocations: 1.812 kB / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.726e-05/0.7933, allocations: 57.75 kB / 0.6507 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.7933, allocations: 77.98 kB / 0.6508 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.7934, allocations: 7.078 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.284e-05/0.7934, allocations: 6.844 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.7935, allocations: 3.875 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.7935, allocations: 0 / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.618e-05/0.7935, allocations: 85.05 kB / 0.6509 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7935, allocations: 0.8125 kB / 0.6509 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002127/0.7938, allocations: 5.344 kB / 0.6509 GB, free: 14.02 MB / 0.5137 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 0.0001579/0.7939, allocations: 99.97 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.794, allocations: 20.34 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.7941, allocations: 0.6875 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.7941, allocations: 1.844 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.7943, allocations: 6.703 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.7946, allocations: 114.9 kB / 0.6511 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7949, allocations: 0.6761 MB / 0.6518 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.494e-05/0.795, allocations: 10.61 kB / 0.6518 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.249e-05/0.795, allocations: 9 kB / 0.6518 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.7951, allocations: 3.188 kB / 0.6518 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.002964/0.798, allocations: 472.3 kB / 0.6522 GB, free: 13.05 MB / 0.5137 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)