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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001647/0.001647, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.409/1.409, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8525/0.8525, allocations: 135.2 MB / 425.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 60.12 kB / 0.5055 GB, free: 8.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4319, allocations: 80.92 MB / 0.5846 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1713/0.6033, allocations: 145.7 MB / 0.7269 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001545/0.6035, allocations: 55.86 kB / 0.7269 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.6036, allocations: 0 / 0.7269 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.6037, allocations: 0 / 0.7269 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.088e-05/0.6038, allocations: 15.91 kB / 0.727 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.6043, allocations: 107.2 kB / 0.7271 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.6044, allocations: 31.86 kB / 0.7271 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.6045, allocations: 4 kB / 0.7271 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.548e-05/0.6045, allocations: 19.91 kB / 0.7271 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.956e-05/0.6046, allocations: 8 kB / 0.7271 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.6046, allocations: 0 / 0.7271 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002508/0.6049, allocations: 87.7 kB / 0.7272 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.6049, allocations: 4 kB / 0.7272 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.623e-05/0.605, allocations: 19.92 kB / 0.7272 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.6051, allocations: 45.91 kB / 0.7273 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6051, allocations: 8 kB / 0.7273 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.6051, allocations: 0 / 0.7273 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6051, allocations: 0 / 0.7273 GB, free: 8.23 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.0004432/0.6056, allocations: 335.4 kB / 0.7276 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.6056, allocations: 9.109 kB / 0.7276 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.6059, allocations: 20.86 kB / 0.7276 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.606, allocations: 172.3 kB / 0.7278 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.6061, allocations: 33.64 kB / 0.7278 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.6061, allocations: 0 / 0.7278 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.6063, allocations: 57.64 kB / 0.7279 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.6063, allocations: 0 / 0.7279 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.6063, allocations: 0 / 0.7279 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.6063, allocations: 7.938 kB / 0.7279 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.6064, allocations: 19.98 kB / 0.7279 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004411/0.6068, allocations: 264.8 kB / 0.7282 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.545e-05/0.6069, allocations: 18.52 kB / 0.7282 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.6069, allocations: 4.859 kB / 0.7282 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.6069, allocations: 4 kB / 0.7282 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.607, allocations: 34.62 kB / 0.7282 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.607, allocations: 0 / 0.7282 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.6071, allocations: 33.7 kB / 0.7282 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6072, allocations: 59.28 kB / 0.7283 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.6073, allocations: 105.8 kB / 0.7284 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.6073, allocations: 25.7 kB / 0.7284 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.6074, allocations: 99.97 kB / 0.7285 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.6074, allocations: 3.906 kB / 0.7285 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.6074, allocations: 13.72 kB / 0.7285 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.6076, allocations: 319 kB / 0.7288 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.6076, allocations: 4 kB / 0.7288 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.417e-05/0.6077, allocations: 22.56 kB / 0.7289 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.6077, allocations: 30.52 kB / 0.7289 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6077, allocations: 256 / 0.7289 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.661e-05/0.6078, allocations: 57.62 kB / 0.729 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.6079, allocations: 9.875 kB / 0.729 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6079, allocations: 4 kB / 0.729 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6079, allocations: 0 / 0.729 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.898e-05/0.608, allocations: 12 kB / 0.729 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.608, allocations: 7.922 kB / 0.729 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.511e-05/0.608, allocations: 0 / 0.729 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.608, allocations: 4 kB / 0.729 GB, free: 6.23 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 9.519e-05/0.6081, allocations: 109.9 kB / 0.7291 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.6082, allocations: 7.906 kB / 0.7291 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.607e-05/0.6082, allocations: 3.125 kB / 0.7291 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6082, allocations: 0 / 0.7291 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6082, allocations: 3.938 kB / 0.7291 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.6082, allocations: 0 / 0.7291 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002956/0.6085, allocations: 354.7 kB / 0.7294 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.6085, allocations: 3.938 kB / 0.7295 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.6085, allocations: 8.031 kB / 0.7295 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6086, allocations: 3.938 kB / 0.7295 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.6086, allocations: 0 / 0.7295 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6086, allocations: 0 / 0.7295 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6086, allocations: 0 / 0.7295 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.445e-05/0.6086, allocations: 61.06 kB / 0.7295 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.6087, allocations: 85.05 kB / 0.7296 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.6087, allocations: 0 / 0.7296 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.6088, allocations: 8.031 kB / 0.7296 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-06/0.6088, allocations: 0 / 0.7296 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.6088, allocations: 0 / 0.7296 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.6089, allocations: 87.27 kB / 0.7297 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6089, allocations: 0 / 0.7297 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001827/0.6091, allocations: 4 kB / 0.7297 GB, free: 5.402 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 0.0001069/0.6092, allocations: 99.25 kB / 0.7298 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.585e-05/0.6093, allocations: 23.92 kB / 0.7298 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6093, allocations: 0 / 0.7298 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.6093, allocations: 0 / 0.7298 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.6095, allocations: 9.5 kB / 0.7298 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.6098, allocations: 144.2 kB / 0.73 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.6102, allocations: 0.6768 MB / 0.7306 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.6102, allocations: 15.69 kB / 0.7306 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.6102, allocations: 0 / 0.7306 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of Templates: time 0.001967/0.6122, allocations: 0.5597 MB / 0.7312 GB, free: 3.816 MB / 0.5606 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)