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.001207/0.001208, allocations: 100 kB / 16.4 MB, free: 6.449 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.00146/0.00146, allocations: 193.4 kB / 17.34 MB, free: 5.738 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8091/0.8091, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 66.5 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1632, allocations: 80.21 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6281/0.7913, allocations: 147.8 MB / 0.8047 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.000136/0.7915, allocations: 53.19 kB / 0.8048 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.7915, allocations: 0.8438 kB / 0.8048 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.7916, allocations: 9 kB / 0.8048 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.607e-05/0.7918, allocations: 12.14 kB / 0.8048 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.7922, allocations: 107.5 kB / 0.8049 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.7923, allocations: 35.83 kB / 0.8049 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.155e-05/0.7924, allocations: 1.75 kB / 0.8049 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.887e-05/0.7924, allocations: 14.36 kB / 0.8049 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.7925, allocations: 16.17 kB / 0.8049 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.7925, allocations: 7.453 kB / 0.805 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.7928, allocations: 83.36 kB / 0.805 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.7928, allocations: 8.844 kB / 0.805 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.139e-05/0.7929, allocations: 12.69 kB / 0.8051 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.793, allocations: 76.84 kB / 0.8051 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.793, allocations: 0 / 0.8051 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7931, allocations: 3.938 kB / 0.8051 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.7931, allocations: 0 / 0.8051 GB, free: 11.96 MB / 0.5919 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.0004187/0.7935, allocations: 339.9 kB / 0.8055 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.7935, allocations: 9.125 kB / 0.8055 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00023/0.7938, allocations: 21.45 kB / 0.8055 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.7939, allocations: 163.1 kB / 0.8056 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.794, allocations: 34.7 kB / 0.8057 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.794, allocations: 1.844 kB / 0.8057 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.7941, allocations: 46.25 kB / 0.8057 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7942, allocations: 4 kB / 0.8057 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7942, allocations: 1.312 kB / 0.8057 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.7942, allocations: 1.219 kB / 0.8057 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.505e-05/0.7943, allocations: 23.42 kB / 0.8057 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.7946, allocations: 259.4 kB / 0.806 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.644e-05/0.7947, allocations: 16.02 kB / 0.806 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.7947, allocations: 10.48 kB / 0.806 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.7947, allocations: 0 / 0.806 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.7948, allocations: 31.84 kB / 0.806 GB, free: 11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.7948, allocations: 0 / 0.806 GB, free: 11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001305/0.7949, allocations: 41.48 kB / 0.8061 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.795, allocations: 52.34 kB / 0.8061 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.795, allocations: 106.6 kB / 0.8062 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.7951, allocations: 33.72 kB / 0.8063 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.7951, allocations: 97.45 kB / 0.8064 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.7951, allocations: 0 / 0.8064 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.7952, allocations: 14.16 kB / 0.8064 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7953, allocations: 316.4 kB / 0.8067 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.485e-05/0.7953, allocations: 3.812 kB / 0.8067 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.511e-05/0.7954, allocations: 28.61 kB / 0.8067 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.7954, allocations: 36.73 kB / 0.8067 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7954, allocations: 0 / 0.8067 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.494e-05/0.7955, allocations: 59.73 kB / 0.8068 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.7956, allocations: 10.91 kB / 0.8068 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.7956, allocations: 1.062 kB / 0.8068 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.7956, allocations: 3.078 kB / 0.8068 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.7956, allocations: 9.344 kB / 0.8068 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.7957, allocations: 5.844 kB / 0.8068 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.7957, allocations: 1.812 kB / 0.8068 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.7957, allocations: 6 kB / 0.8068 GB, free: 10.22 MB / 0.5919 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.415e-05/0.7958, allocations: 115.1 kB / 0.8069 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.7958, allocations: 1.438 kB / 0.807 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.7959, allocations: 4.688 kB / 0.807 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.7959, allocations: 0 / 0.807 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7959, allocations: 3.938 kB / 0.807 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7959, allocations: 5.406 kB / 0.807 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.7961, allocations: 349.8 kB / 0.8073 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7962, allocations: 0 / 0.8073 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.7962, allocations: 1 kB / 0.8073 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7962, allocations: 5.094 kB / 0.8073 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.7962, allocations: 0 / 0.8073 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7962, allocations: 5.125 kB / 0.8073 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7962, allocations: 1.781 kB / 0.8073 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.373e-05/0.7963, allocations: 62.92 kB / 0.8074 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.7963, allocations: 85 kB / 0.8075 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.7964, allocations: 4.969 kB / 0.8075 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.7964, allocations: 4.625 kB / 0.8075 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.7965, allocations: 1.156 kB / 0.8075 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-06/0.7965, allocations: 0 / 0.8075 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.542e-05/0.7965, allocations: 89.58 kB / 0.8075 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7965, allocations: 0 / 0.8075 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001893/0.7967, allocations: 6.219 kB / 0.8076 GB, free: 9.461 MB / 0.5919 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 8.964e-05/0.7968, allocations: 95.41 kB / 0.8076 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.985e-05/0.7969, allocations: 20.25 kB / 0.8077 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7969, allocations: 0 / 0.8077 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-06/0.7969, allocations: 2.125 kB / 0.8077 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.7972, allocations: 9.469 kB / 0.8077 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.7974, allocations: 136.6 kB / 0.8078 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7977, allocations: 0.6774 MB / 0.8085 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.7977, allocations: 12.38 kB / 0.8085 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7977, allocations: 0.9375 kB / 0.8085 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of Templates: time 0.001708/0.7994, allocations: 0.5673 MB / 0.809 GB, free: 8.504 MB / 0.5919 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)