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.001256/0.001256, allocations: 105.6 kB / 16.35 MB, free: 5.824 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.001182/0.001182, allocations: 190 kB / 17.29 MB, free: 5.48 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7908/0.7908, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4427, allocations: 80.19 MB / 0.5815 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1546/0.5973, allocations: 147.8 MB / 0.7259 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001284/0.5974, allocations: 59.8 kB / 0.7259 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.407e-05/0.5975, allocations: 0 / 0.7259 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.5976, allocations: 0 / 0.7259 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-05/0.5977, allocations: 15.91 kB / 0.7259 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.5982, allocations: 107.6 kB / 0.726 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.018e-05/0.5983, allocations: 31.92 kB / 0.7261 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.5983, allocations: 4 kB / 0.7261 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.957e-05/0.5984, allocations: 19.86 kB / 0.7261 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.5984, allocations: 11.98 kB / 0.7261 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.5985, allocations: 0 / 0.7261 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.5987, allocations: 87.72 kB / 0.7262 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.5988, allocations: 3.984 kB / 0.7262 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.5988, allocations: 19.92 kB / 0.7262 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.599, allocations: 67.84 kB / 0.7263 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.599, allocations: 0 / 0.7263 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.599, allocations: 0 / 0.7263 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.94e-06/0.599, allocations: 4 kB / 0.7263 GB, free: 9.457 MB / 0.5606 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.0003848/0.5994, allocations: 341.1 kB / 0.7266 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.5994, allocations: 8.031 kB / 0.7266 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.5997, allocations: 20.91 kB / 0.7266 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.5998, allocations: 164.4 kB / 0.7268 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.5999, allocations: 29.64 kB / 0.7268 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.5999, allocations: 8 kB / 0.7268 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.6, allocations: 49.61 kB / 0.7269 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.6, allocations: 0 / 0.7269 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.6001, allocations: 3.984 kB / 0.7269 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.6001, allocations: 8 kB / 0.7269 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.6001, allocations: 15.98 kB / 0.7269 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.6005, allocations: 260.8 kB / 0.7271 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.497e-05/0.6006, allocations: 26.52 kB / 0.7272 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.6006, allocations: 4.859 kB / 0.7272 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.6006, allocations: 0 / 0.7272 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.6006, allocations: 34.62 kB / 0.7272 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.6006, allocations: 3.984 kB / 0.7272 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000131/0.6008, allocations: 33.64 kB / 0.7272 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.6008, allocations: 63.45 kB / 0.7273 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.6009, allocations: 101.9 kB / 0.7274 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.6009, allocations: 25.7 kB / 0.7274 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.601, allocations: 99.97 kB / 0.7275 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.77e-06/0.601, allocations: 7.844 kB / 0.7275 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.601, allocations: 17.72 kB / 0.7275 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.6011, allocations: 310.8 kB / 0.7278 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.6011, allocations: 11.92 kB / 0.7279 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.474e-05/0.6012, allocations: 26.58 kB / 0.7279 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.611e-05/0.6012, allocations: 26.58 kB / 0.7279 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.6012, allocations: 0 / 0.7279 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.809e-05/0.6013, allocations: 57.62 kB / 0.728 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6013, allocations: 12.03 kB / 0.728 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.6013, allocations: 0 / 0.728 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6014, allocations: 0 / 0.728 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.716e-05/0.6014, allocations: 7.984 kB / 0.728 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.6014, allocations: 7.938 kB / 0.728 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.6015, allocations: 0 / 0.728 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.6015, allocations: 4 kB / 0.728 GB, free: 7.461 MB / 0.5606 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 6.578e-05/0.6016, allocations: 105.8 kB / 0.7281 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.6016, allocations: 7.906 kB / 0.7281 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.798e-05/0.6016, allocations: 11.12 kB / 0.7281 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.6016, allocations: 0 / 0.7281 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6016, allocations: 3.938 kB / 0.7281 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.6016, allocations: 0 / 0.7281 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.6019, allocations: 347 kB / 0.7284 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6019, allocations: 4 kB / 0.7284 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.6019, allocations: 4 kB / 0.7285 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6019, allocations: 3.938 kB / 0.7285 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.6019, allocations: 4.031 kB / 0.7285 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6019, allocations: 0 / 0.7285 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.602, allocations: 0 / 0.7285 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.602, allocations: 61.12 kB / 0.7285 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.6021, allocations: 81.05 kB / 0.7286 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.6021, allocations: 0 / 0.7286 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.6022, allocations: 4 kB / 0.7286 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.6022, allocations: 7.969 kB / 0.7286 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.6022, allocations: 3.984 kB / 0.7286 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.6023, allocations: 83.28 kB / 0.7287 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6023, allocations: 4 kB / 0.7287 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002113/0.6025, allocations: 4 kB / 0.7287 GB, free: 6.629 MB / 0.5606 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.95e-05/0.6026, allocations: 99.19 kB / 0.7288 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.6027, allocations: 11.98 kB / 0.7288 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6027, allocations: 8.125 kB / 0.7288 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.782e-06/0.6027, allocations: 7.938 kB / 0.7288 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.6029, allocations: 11.86 kB / 0.7288 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002353/0.6031, allocations: 110.4 kB / 0.7289 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.6034, allocations: 0.6768 MB / 0.7296 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.445e-05/0.6034, allocations: 8.062 kB / 0.7296 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.6035, allocations: 7.438 kB / 0.7296 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.6035, allocations: 4 kB / 0.7296 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of Templates: time 0.002513/0.606, allocations: 0.5024 MB / 0.7301 GB, free: 5.164 MB / 0.5606 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)