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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8155/0.8155, allocations: 130.7 MB / 138.7 MB, free: 3.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.5 MB / 391.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000859/0.000859, allocations: 97.53 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.694e-05, allocations: 3.984 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5488, allocations: 81.58 MB / 0.6282 GB, free: 42.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.42/11.97, allocations: 4.37 GB / 4.998 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/11.97, allocations: 79.95 kB / 4.998 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08659/12.05, allocations: 46.3 MB / 5.043 GB, free: 96.25 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.305e-06/12.05, allocations: 4 kB / 5.043 GB, free: 96.25 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.115e-06/12.05, allocations: 0 / 5.043 GB, free: 96.25 MB / 0.6667 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.0002972/12.05, allocations: 334.4 kB / 5.044 GB, free: 95.88 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/12.05, allocations: 12.03 kB / 5.044 GB, free: 95.87 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/12.06, allocations: 23.89 kB / 5.044 GB, free: 95.84 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/12.06, allocations: 163.1 kB / 5.044 GB, free: 95.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/12.06, allocations: 29.7 kB / 5.044 GB, free: 95.61 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/12.06, allocations: 0 / 5.044 GB, free: 95.61 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/12.06, allocations: 19.94 kB / 5.044 GB, free: 95.59 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.218e-05/12.06, allocations: 45.69 kB / 5.044 GB, free: 95.54 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/12.06, allocations: 0 / 5.044 GB, free: 95.54 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/12.06, allocations: 0 / 5.044 GB, free: 95.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/12.06, allocations: 7.984 kB / 5.044 GB, free: 95.53 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/12.06, allocations: 233.4 kB / 5.044 GB, free: 95.27 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 4.657e-05/12.06, allocations: 18.53 kB / 5.044 GB, free: 95.24 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/12.06, allocations: 9.172 kB / 5.044 GB, free: 95.23 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.612e-06/12.06, allocations: 0 / 5.044 GB, free: 95.23 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/12.06, allocations: 38.66 kB / 5.044 GB, free: 95.18 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/12.06, allocations: 0 / 5.044 GB, free: 95.18 MB / 0.6667 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/12.06, allocations: 29.7 kB / 5.044 GB, free: 95.14 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/12.06, allocations: 55.34 kB / 5.044 GB, free: 95.08 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/12.06, allocations: 104.9 kB / 5.044 GB, free: 94.97 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/12.06, allocations: 29.73 kB / 5.045 GB, free: 94.93 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/12.06, allocations: 95.94 kB / 5.045 GB, free: 94.84 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/12.06, allocations: 3.938 kB / 5.045 GB, free: 94.83 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/12.06, allocations: 0 / 5.045 GB, free: 94.83 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.548e-05/12.06, allocations: 314.8 kB / 5.045 GB, free: 94.52 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.228e-05/12.06, allocations: 4 kB / 5.045 GB, free: 94.51 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/12.06, allocations: 18.58 kB / 5.045 GB, free: 94.48 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.312e-05/12.06, allocations: 19.98 kB / 5.045 GB, free: 94.46 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/12.06, allocations: 0 / 5.045 GB, free: 94.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.934e-05/12.06, allocations: 53.58 kB / 5.045 GB, free: 94.41 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/12.06, allocations: 8 kB / 5.045 GB, free: 94.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/12.06, allocations: 0 / 5.045 GB, free: 94.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/12.06, allocations: 0 / 5.045 GB, free: 94.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/12.06, allocations: 8 kB / 5.045 GB, free: 94.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/12.06, allocations: 0 / 5.045 GB, free: 94.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.893e-05/12.06, allocations: 8 kB / 5.045 GB, free: 94.38 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/12.06, allocations: 4 kB / 5.045 GB, free: 94.38 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.154e-05/12.06, allocations: 101 kB / 5.045 GB, free: 94.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/12.06, allocations: 7.891 kB / 5.045 GB, free: 94.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.424e-05/12.06, allocations: 7.75 kB / 5.045 GB, free: 94.26 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/12.06, allocations: 3.984 kB / 5.045 GB, free: 94.25 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/12.06, allocations: 0 / 5.045 GB, free: 94.25 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/12.06, allocations: 0 / 5.045 GB, free: 94.25 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/12.06, allocations: 323.4 kB / 5.045 GB, free: 93.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/12.06, allocations: 96 / 5.045 GB, free: 93.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/12.06, allocations: 3.953 kB / 5.045 GB, free: 93.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/12.06, allocations: 3.984 kB / 5.045 GB, free: 93.88 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/12.06, allocations: 4 kB / 5.045 GB, free: 93.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/12.06, allocations: 256 / 5.045 GB, free: 93.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/12.06, allocations: 4 kB / 5.045 GB, free: 93.88 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.419e-05/12.06, allocations: 65.09 kB / 5.046 GB, free: 93.79 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/12.06, allocations: 85.02 kB / 5.046 GB, free: 93.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/12.06, allocations: 3.953 kB / 5.046 GB, free: 93.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/12.06, allocations: 4 kB / 5.046 GB, free: 93.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/12.06, allocations: 3.984 kB / 5.046 GB, free: 93.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-06/12.06, allocations: 3.938 kB / 5.046 GB, free: 93.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 3.337e-05/12.06, allocations: 83.28 kB / 5.046 GB, free: 93.59 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.21e-07/12.06, allocations: 0 / 5.046 GB, free: 93.59 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002577/12.06, allocations: 31.98 kB / 5.046 GB, free: 93.56 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007585/12.06, allocations: 0.6482 MB / 5.046 GB, free: 92.91 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.874e-05/12.06, allocations: 8 kB / 5.046 GB, free: 92.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/12.06, allocations: 0 / 5.046 GB, free: 92.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 4.308e-06/12.06, allocations: 8.125 kB / 5.046 GB, free: 92.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/12.06, allocations: 11.94 kB / 5.046 GB, free: 92.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/12.06, allocations: 56.38 kB / 5.046 GB, free: 92.81 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/12.06, allocations: 0.6768 MB / 5.047 GB, free: 92.11 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 6.172e-05/12.06, allocations: 11.97 kB / 5.047 GB, free: 92.09 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/12.06, allocations: 11.5 kB / 5.047 GB, free: 92.08 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/12.06, allocations: 4 kB / 5.047 GB, free: 92.08 MB / 0.6667 GB Notification: Performance of Templates: time 0.006408/12.07, allocations: 3.763 MB / 5.051 GB, free: 88.31 MB / 0.6667 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)