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.005582/0.005582, allocations: 100.5 kB / 15.73 MB, free: 6.453 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.001222/0.001222, allocations: 184.8 kB / 16.67 MB, free: 6.367 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.475/1.475, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3926/0.3926, allocations: 54.95 MB / 324.8 MB, free: 15.96 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.001499/0.0015, allocations: 70.3 kB / 456.2 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1486, allocations: 59.59 MB / 0.5037 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5997/0.7484, allocations: 147.8 MB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001301/0.7486, allocations: 46.92 kB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.7487, allocations: 0 / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.7488, allocations: 7.234 kB / 0.6481 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.702e-05/0.7489, allocations: 14.97 kB / 0.6481 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.7494, allocations: 97.02 kB / 0.6482 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.7495, allocations: 31.14 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.106e-05/0.7495, allocations: 3.781 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.7496, allocations: 11.92 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.514e-05/0.7497, allocations: 12.41 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.7497, allocations: 1.094 kB / 0.6483 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.7499, allocations: 84.73 kB / 0.6484 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.75, allocations: 10.09 kB / 0.6484 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.7501, allocations: 11.03 kB / 0.6484 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.7502, allocations: 69.22 kB / 0.6485 GB, free: 484 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7502, allocations: 0 / 0.6485 GB, free: 484 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7502, allocations: 0 / 0.6485 GB, free: 484 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.7503, allocations: 0.9375 kB / 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.0004605/0.7507, allocations: 337.3 kB / 0.6488 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7508, allocations: 9.156 kB / 0.6488 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.751, allocations: 20.64 kB / 0.6488 GB, free: 16.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.7511, allocations: 172.3 kB / 0.649 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/0.7512, allocations: 32.52 kB / 0.649 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.7512, allocations: 0.8438 kB / 0.649 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.7514, allocations: 47.7 kB / 0.649 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7514, allocations: 3.984 kB / 0.6491 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7514, allocations: 3.812 kB / 0.6491 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.7514, allocations: 1.406 kB / 0.6491 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.592e-05/0.7515, allocations: 20.91 kB / 0.6491 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.7519, allocations: 256.5 kB / 0.6493 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.7519, allocations: 22.34 kB / 0.6493 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.752, allocations: 6.703 kB / 0.6493 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.752, allocations: 0 / 0.6493 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.752, allocations: 39.5 kB / 0.6494 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.752, allocations: 0 / 0.6494 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.7521, allocations: 32.91 kB / 0.6494 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.7522, allocations: 52.28 kB / 0.6495 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.708e-05/0.7523, allocations: 107.1 kB / 0.6496 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.7523, allocations: 25.7 kB / 0.6496 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.7524, allocations: 103.3 kB / 0.6497 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.7524, allocations: 3.078 kB / 0.6497 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.7524, allocations: 21.94 kB / 0.6497 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7526, allocations: 312.2 kB / 0.65 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.7526, allocations: 9.422 kB / 0.65 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.7526, allocations: 23.95 kB / 0.65 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.7527, allocations: 36.39 kB / 0.6501 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7527, allocations: 1.062 kB / 0.6501 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.602e-05/0.7528, allocations: 50.94 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.7528, allocations: 5.688 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7528, allocations: 0.75 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7528, allocations: 0.7812 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.363e-05/0.7529, allocations: 8.062 kB / 0.6501 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.7529, allocations: 7.344 kB / 0.6502 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.924e-05/0.7529, allocations: 6.344 kB / 0.6502 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.753, allocations: 5.375 kB / 0.6502 GB, free: 14.76 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 7.804e-05/0.753, allocations: 113.3 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.7531, allocations: 1.531 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.655e-05/0.7531, allocations: 7.203 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7531, allocations: 1.906 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.7531, allocations: 3.938 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7531, allocations: 0.8125 kB / 0.6503 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.7534, allocations: 343.7 kB / 0.6506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7534, allocations: 3.594 kB / 0.6506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.32e-05/0.7534, allocations: 3.938 kB / 0.6506 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.7534, allocations: 5.969 kB / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.7534, allocations: 0 / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.7534, allocations: 1 kB / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.7534, allocations: 0 / 0.6506 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.564e-05/0.7535, allocations: 61.75 kB / 0.6507 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.7536, allocations: 78.05 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7536, allocations: 5.719 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.7537, allocations: 5.344 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.7537, allocations: 3.344 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-06/0.7537, allocations: 3.188 kB / 0.6508 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.7537, allocations: 84.25 kB / 0.6509 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7538, allocations: 0 / 0.6509 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002062/0.754, allocations: 6.688 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 9.887e-05/0.7541, allocations: 100.2 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.134e-05/0.7542, allocations: 12.88 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7542, allocations: 3.094 kB / 0.651 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.7542, allocations: 2.125 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.0002384/0.7544, allocations: 10.59 kB / 0.651 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.7547, allocations: 114.4 kB / 0.6511 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.755, allocations: 0.6781 MB / 0.6518 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.656e-05/0.755, allocations: 10.42 kB / 0.6518 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.755, allocations: 8.438 kB / 0.6518 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.755, allocations: 0.9062 kB / 0.6518 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.002484/0.7575, allocations: 479.8 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)