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.00115/0.00115, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7201/0.7201, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.718/1.718, allocations: 221.3 MB / 396.8 MB, free: 9.152 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 98.91 kB / 478.9 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.598e-05, allocations: 4.297 kB / 0.5551 GB, free: 86.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1885, allocations: 81.58 MB / 0.6347 GB, free: 12.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.28/11.47, allocations: 4.371 GB / 5.005 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/11.47, allocations: 82.55 kB / 5.005 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08345/11.55, allocations: 47.05 MB / 5.051 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.794e-06/11.55, allocations: 0 / 5.051 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.474e-06/11.55, allocations: 0 / 5.051 GB, free: 153.5 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.0002874/11.55, allocations: 334.6 kB / 5.052 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/11.55, allocations: 12.03 kB / 5.052 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/11.55, allocations: 19.89 kB / 5.052 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.138e-05/11.55, allocations: 170.3 kB / 5.052 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/11.55, allocations: 29.64 kB / 5.052 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/11.55, allocations: 0 / 5.052 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/11.55, allocations: 57.3 kB / 5.052 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/11.55, allocations: 0 / 5.052 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/11.55, allocations: 7.938 kB / 5.052 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/11.55, allocations: 4 kB / 5.052 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.838e-05/11.55, allocations: 15.86 kB / 5.052 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003436/11.55, allocations: 251.9 kB / 5.052 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.736e-05/11.55, allocations: 22.52 kB / 5.052 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.801e-05/11.55, allocations: 8.891 kB / 5.052 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/11.55, allocations: 4 kB / 5.052 GB, free: 152.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/11.55, allocations: 38.25 kB / 5.052 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/11.55, allocations: 0 / 5.052 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/11.55, allocations: 29.7 kB / 5.052 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/11.55, allocations: 51.41 kB / 5.052 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.06e-05/11.55, allocations: 108.3 kB / 5.052 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/11.55, allocations: 25.7 kB / 5.052 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.738e-05/11.55, allocations: 95.97 kB / 5.053 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/11.55, allocations: 7.5 kB / 5.053 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/11.55, allocations: 0 / 5.053 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.515e-05/11.55, allocations: 310.8 kB / 5.053 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/11.55, allocations: 4 kB / 5.053 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/11.55, allocations: 26.12 kB / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/11.55, allocations: 8 kB / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/11.55, allocations: 3.953 kB / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.748e-05/11.55, allocations: 57.06 kB / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/11.55, allocations: 4 kB / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/11.55, allocations: 0 / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/11.55, allocations: 0 / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/11.55, allocations: 8 kB / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/11.55, allocations: 0 / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.702e-05/11.55, allocations: 7.188 kB / 5.053 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/11.55, allocations: 8 kB / 5.053 GB, free: 151.6 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 () * 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.206e-05/11.55, allocations: 108.7 kB / 5.053 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/11.55, allocations: 15.88 kB / 5.053 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/11.55, allocations: 3.125 kB / 5.053 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/11.55, allocations: 0 / 5.053 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/11.55, allocations: 0 / 5.053 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/11.55, allocations: 0 / 5.053 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/11.55, allocations: 349.9 kB / 5.053 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/11.55, allocations: 0 / 5.053 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.266e-05/11.55, allocations: 4.094 kB / 5.053 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/11.55, allocations: 3.984 kB / 5.053 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/11.55, allocations: 3.984 kB / 5.053 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/11.55, allocations: 0 / 5.053 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/11.55, allocations: 3.938 kB / 5.053 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.955e-05/11.55, allocations: 68.44 kB / 5.054 GB, free: 151 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/11.55, allocations: 81.02 kB / 5.054 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/11.55, allocations: 0 / 5.054 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.939e-05/11.55, allocations: 7.984 kB / 5.054 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/11.55, allocations: 0 / 5.054 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/11.55, allocations: 4 kB / 5.054 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.118e-05/11.56, allocations: 82.91 kB / 5.054 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/11.56, allocations: 0 / 5.054 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003187/11.56, allocations: 41.48 kB / 5.054 GB, free: 150.8 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 () * 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.0005999/11.56, allocations: 0.5501 MB / 5.054 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/11.56, allocations: 15.44 kB / 5.054 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/11.56, allocations: 192 / 5.054 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.59e-06/11.56, allocations: 8 kB / 5.054 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/11.56, allocations: 11.94 kB / 5.054 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/11.56, allocations: 61.31 kB / 5.054 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/11.56, allocations: 0.677 MB / 5.055 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.033e-05/11.56, allocations: 7.984 kB / 5.055 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/11.56, allocations: 11.5 kB / 5.055 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/11.56, allocations: 0 / 5.055 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.01078/11.57, allocations: 9.663 MB / 5.065 GB, free: 139.8 MB / 0.6823 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)