Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.007046/0.007045, allocations: 101.9 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.001665/0.001665, allocations: 190.9 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8815/0.8815, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 62.94 kB / 0.5814 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2098, allocations: 80.19 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2569/0.4668, allocations: 147.9 MB / 0.8041 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.4671, allocations: 59.78 kB / 0.8041 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.4672, allocations: 0 / 0.8041 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.4674, allocations: 3.938 kB / 0.8041 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.4675, allocations: 15.91 kB / 0.8041 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007112/0.4683, allocations: 109.4 kB / 0.8042 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.4684, allocations: 35.84 kB / 0.8043 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 6.233e-05/0.4685, allocations: 0 / 0.8043 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.4686, allocations: 15.98 kB / 0.8043 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.4687, allocations: 11.92 kB / 0.8043 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.4687, allocations: 0 / 0.8043 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.4691, allocations: 87.72 kB / 0.8044 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.4692, allocations: 15.98 kB / 0.8044 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.4692, allocations: 7.938 kB / 0.8044 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.4695, allocations: 79.77 kB / 0.8045 GB, free: 8.641 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.4695, allocations: 4 kB / 0.8045 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.567e-06/0.4695, allocations: 0 / 0.8045 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.4695, allocations: 0 / 0.8045 GB, free: 8.637 MB / 0.6387 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.0006207/0.4701, allocations: 327.6 kB / 0.8048 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.4702, allocations: 8.031 kB / 0.8048 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.4706, allocations: 24.91 kB / 0.8048 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.4708, allocations: 172.2 kB / 0.805 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.4709, allocations: 29.64 kB / 0.805 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.4709, allocations: 0 / 0.805 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4711, allocations: 53.66 kB / 0.8051 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4711, allocations: 0 / 0.8051 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.4711, allocations: 0 / 0.8051 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.4712, allocations: 7.938 kB / 0.8051 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.4712, allocations: 27.92 kB / 0.8051 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.4717, allocations: 256.9 kB / 0.8053 GB, free: 7.602 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.732e-05/0.4718, allocations: 18.58 kB / 0.8054 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.4718, allocations: 4.859 kB / 0.8054 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.4718, allocations: 0 / 0.8054 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.4719, allocations: 38.62 kB / 0.8054 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.4719, allocations: 0 / 0.8054 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.472, allocations: 41.62 kB / 0.8054 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.4721, allocations: 55.34 kB / 0.8055 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4722, allocations: 105.8 kB / 0.8056 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.4722, allocations: 25.7 kB / 0.8056 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.4723, allocations: 99.92 kB / 0.8057 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.4723, allocations: 128 / 0.8057 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4724, allocations: 21.72 kB / 0.8057 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4725, allocations: 310.8 kB / 0.806 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.4726, allocations: 11.98 kB / 0.806 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.4726, allocations: 18.58 kB / 0.8061 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.989e-05/0.4727, allocations: 34.77 kB / 0.8061 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4727, allocations: 0 / 0.8061 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.97e-05/0.4728, allocations: 57.62 kB / 0.8062 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4728, allocations: 8 kB / 0.8062 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4728, allocations: 0 / 0.8062 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4728, allocations: 0 / 0.8062 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.4729, allocations: 11.98 kB / 0.8062 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4729, allocations: 3.938 kB / 0.8062 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.002e-05/0.473, allocations: 7.938 kB / 0.8062 GB, free: 6.645 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.473, allocations: 8 kB / 0.8062 GB, free: 6.637 MB / 0.6387 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 0.0001219/0.4731, allocations: 114.4 kB / 0.8063 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.4732, allocations: 4 kB / 0.8063 GB, free: 6.512 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.4732, allocations: 3.125 kB / 0.8063 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4732, allocations: 0 / 0.8063 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.4732, allocations: 3.938 kB / 0.8063 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4732, allocations: 0 / 0.8063 GB, free: 6.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.4736, allocations: 350.7 kB / 0.8066 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4736, allocations: 0 / 0.8066 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.695e-05/0.4736, allocations: 4 kB / 0.8066 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4736, allocations: 3.938 kB / 0.8067 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4737, allocations: 0 / 0.8067 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4737, allocations: 0 / 0.8067 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4737, allocations: 0 / 0.8067 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.325e-05/0.4738, allocations: 69.09 kB / 0.8067 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.4738, allocations: 84.95 kB / 0.8068 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.4739, allocations: 0 / 0.8068 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.614e-05/0.4739, allocations: 4 kB / 0.8068 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.474, allocations: 3.984 kB / 0.8068 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.474, allocations: 0 / 0.8068 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.4741, allocations: 87.28 kB / 0.8069 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4741, allocations: 0 / 0.8069 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002057/0.4743, allocations: 4 kB / 0.8069 GB, free: 5.805 MB / 0.6387 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.0001399/0.4744, allocations: 99.28 kB / 0.807 GB, free: 5.699 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4745, allocations: 23.92 kB / 0.807 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4745, allocations: 3.938 kB / 0.807 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.69e-06/0.4746, allocations: 0 / 0.807 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4749, allocations: 9.125 kB / 0.807 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.4753, allocations: 107 kB / 0.8071 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.4757, allocations: 0.6845 MB / 0.8078 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.959e-05/0.4758, allocations: 8.078 kB / 0.8078 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.4758, allocations: 11.44 kB / 0.8078 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.4758, allocations: 0 / 0.8078 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of Templates: time 0.003424/0.4793, allocations: 0.5026 MB / 0.8083 GB, free: 4.344 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)