Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009597/0.009597, allocations: 169.4 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7481/0.7481, allocations: 135.2 MB / 151.1 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.000948/0.0009478, allocations: 91.73 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004129, allocations: 12 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4636/0.464, allocations: 82.29 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.99/11.45, allocations: 4.371 GB / 5.02 GB, free: 241 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/11.45, allocations: 85.95 kB / 5.02 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07942/11.53, allocations: 47.13 MB / 5.066 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.905e-06/11.53, allocations: 0 / 5.066 GB, free: 193.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.345e-06/11.53, allocations: 0 / 5.066 GB, free: 193.4 MB / 0.6823 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.0003372/11.53, allocations: 347.3 kB / 5.067 GB, free: 193 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/11.53, allocations: 12.03 kB / 5.067 GB, free: 193 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/11.53, allocations: 15.98 kB / 5.067 GB, free: 193 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/11.53, allocations: 159.1 kB / 5.067 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/11.53, allocations: 33.69 kB / 5.067 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/11.53, allocations: 0 / 5.067 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/11.53, allocations: 57.58 kB / 5.067 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/11.53, allocations: 0 / 5.067 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/11.53, allocations: 0 / 5.067 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/11.53, allocations: 3.984 kB / 5.067 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.151e-05/11.53, allocations: 19.98 kB / 5.067 GB, free: 192.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003443/11.53, allocations: 252.9 kB / 5.067 GB, free: 192.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.595e-05/11.53, allocations: 18.89 kB / 5.067 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/11.53, allocations: 7.969 kB / 5.067 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.571e-05/11.53, allocations: 34.62 kB / 5.067 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/11.53, allocations: 0 / 5.067 GB, free: 192.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/11.53, allocations: 37.64 kB / 5.067 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/11.53, allocations: 51.41 kB / 5.067 GB, free: 192.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/11.53, allocations: 108.8 kB / 5.068 GB, free: 192.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/11.53, allocations: 29.83 kB / 5.068 GB, free: 192 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/11.53, allocations: 88.05 kB / 5.068 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-06/11.53, allocations: 0 / 5.068 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/11.53, allocations: 0 / 5.068 GB, free: 191.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.113e-05/11.53, allocations: 314.8 kB / 5.068 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/11.53, allocations: 7.984 kB / 5.068 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/11.53, allocations: 22.52 kB / 5.068 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.18e-05/11.53, allocations: 16 kB / 5.068 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/11.53, allocations: 0 / 5.068 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.445e-05/11.53, allocations: 61.73 kB / 5.068 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/11.53, allocations: 8 kB / 5.068 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/11.53, allocations: 0 / 5.068 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/11.53, allocations: 96 / 5.068 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/11.53, allocations: 19.97 kB / 5.068 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/11.53, allocations: 0 / 5.068 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/11.53, allocations: 4.094 kB / 5.068 GB, free: 191.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/11.53, allocations: 4 kB / 5.068 GB, free: 191.5 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/11.53, allocations: 113.8 kB / 5.068 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/11.53, allocations: 7.953 kB / 5.068 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.93e-05/11.53, allocations: 3.125 kB / 5.068 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/11.53, allocations: 3.938 kB / 5.068 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/11.53, allocations: 0 / 5.068 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/11.53, allocations: 0 / 5.068 GB, free: 191.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/11.53, allocations: 350.7 kB / 5.069 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/11.53, allocations: 0 / 5.069 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/11.53, allocations: 4 kB / 5.069 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/11.53, allocations: 0 / 5.069 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/11.53, allocations: 0 / 5.069 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/11.53, allocations: 0 / 5.069 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/11.53, allocations: 0 / 5.069 GB, free: 190.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.328e-05/11.53, allocations: 73 kB / 5.069 GB, free: 190.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/11.53, allocations: 81.06 kB / 5.069 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/11.53, allocations: 3.938 kB / 5.069 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/11.53, allocations: 4 kB / 5.069 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/11.53, allocations: 0 / 5.069 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/11.53, allocations: 4 kB / 5.069 GB, free: 190.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.078e-05/11.53, allocations: 87.27 kB / 5.069 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/11.53, allocations: 0 / 5.069 GB, free: 190.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003052/11.53, allocations: 39.98 kB / 5.069 GB, free: 190.6 MB / 0.6823 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 (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.0006669/11.53, allocations: 0.5664 MB / 5.069 GB, free: 190 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.227e-05/11.53, allocations: 15.94 kB / 5.069 GB, free: 190 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/11.53, allocations: 192 / 5.069 GB, free: 190 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/11.53, allocations: 4 kB / 5.069 GB, free: 190 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/11.54, allocations: 14.33 kB / 5.069 GB, free: 190 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/11.54, allocations: 120.5 kB / 5.07 GB, free: 189.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/11.54, allocations: 0.677 MB / 5.07 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.653e-05/11.54, allocations: 8.062 kB / 5.07 GB, free: 189.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/11.54, allocations: 11.44 kB / 5.07 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.11e-07/11.54, allocations: 0 / 5.07 GB, free: 189.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.009344/11.54, allocations: 7.913 MB / 5.078 GB, free: 181.2 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)