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.001457/0.001457, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001508/0.001508, allocations: 195.7 kB / 16.14 MB, free: 6.738 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.069/1.069, allocations: 135.6 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 59.47 kB / 0.5052 GB, free: 5.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2131, allocations: 81.02 MB / 0.5843 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5936/0.8068, allocations: 145.6 MB / 0.7265 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.807, allocations: 49.98 kB / 0.7265 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.8071, allocations: 0.9375 kB / 0.7265 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.8072, allocations: 4.734 kB / 0.7265 GB, free: 3.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.429e-05/0.8073, allocations: 12.41 kB / 0.7265 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.8079, allocations: 106.7 kB / 0.7266 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.8081, allocations: 53.89 kB / 0.7267 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.8081, allocations: 2.391 kB / 0.7267 GB, free: 3.098 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.8082, allocations: 23.31 kB / 0.7267 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.412e-05/0.8083, allocations: 9.5 kB / 0.7267 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.8083, allocations: 1 kB / 0.7267 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.8087, allocations: 81.67 kB / 0.7268 GB, free: 3.055 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.8087, allocations: 10.62 kB / 0.7268 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.8088, allocations: 10.17 kB / 0.7268 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.809, allocations: 77.92 kB / 0.7269 GB, free: 3.023 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8091, allocations: 5.062 kB / 0.7269 GB, free: 3.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8091, allocations: 0 / 0.7269 GB, free: 3.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.8091, allocations: 0 / 0.7269 GB, free: 3.02 MB / 0.545 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.000574/0.8097, allocations: 337.1 kB / 0.7272 GB, free: 2.664 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.8097, allocations: 9.219 kB / 0.7272 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002924/0.81, allocations: 19.91 kB / 0.7272 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.8102, allocations: 163.1 kB / 0.7274 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.301e-05/0.8103, allocations: 35.39 kB / 0.7274 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.8103, allocations: 4.094 kB / 0.7274 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.8105, allocations: 46.7 kB / 0.7275 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8105, allocations: 1.219 kB / 0.7275 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.8105, allocations: 0 / 0.7275 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.8106, allocations: 6.828 kB / 0.7275 GB, free: 2.391 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.8106, allocations: 19.02 kB / 0.7275 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.8111, allocations: 266.1 kB / 0.7278 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.8112, allocations: 15.95 kB / 0.7278 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.138e-05/0.8112, allocations: 6.172 kB / 0.7278 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.8112, allocations: 1.281 kB / 0.7278 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.8113, allocations: 33.47 kB / 0.7278 GB, free: 2.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.8113, allocations: 9.125 kB / 0.7278 GB, free: 2.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001668/0.8115, allocations: 34.3 kB / 0.7279 GB, free: 1.992 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.8115, allocations: 52.72 kB / 0.7279 GB, free: 1.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.8116, allocations: 112.8 kB / 0.728 GB, free: 1.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.8117, allocations: 25.7 kB / 0.728 GB, free: 1.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.8117, allocations: 97.38 kB / 0.7281 GB, free: 1.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.8118, allocations: 9.125 kB / 0.7281 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.8118, allocations: 17.31 kB / 0.7282 GB, free: 1.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.812, allocations: 315 kB / 0.7285 GB, free: 1.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.812, allocations: 7.156 kB / 0.7285 GB, free: 1.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.546e-05/0.8121, allocations: 30.08 kB / 0.7285 GB, free: 1.324 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.8121, allocations: 36.58 kB / 0.7285 GB, free: 1.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8121, allocations: 0 / 0.7285 GB, free: 1.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.887e-05/0.8122, allocations: 56.28 kB / 0.7286 GB, free: 1.246 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8123, allocations: 5.688 kB / 0.7286 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8123, allocations: 0 / 0.7286 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.8123, allocations: 3.359 kB / 0.7286 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.8124, allocations: 5.969 kB / 0.7286 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.8124, allocations: 9.062 kB / 0.7286 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.8124, allocations: 1.219 kB / 0.7286 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.8124, allocations: 2.219 kB / 0.7286 GB, free: 1.238 MB / 0.545 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 0.0001064/0.8125, allocations: 119.3 kB / 0.7287 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.8126, allocations: 5.125 kB / 0.7287 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.439e-05/0.8126, allocations: 4.344 kB / 0.7287 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.8126, allocations: 0 / 0.7287 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.8126, allocations: 5.156 kB / 0.7287 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8127, allocations: 0 / 0.7287 GB, free: 1.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.813, allocations: 339.8 kB / 0.7291 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.813, allocations: 1.922 kB / 0.7291 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.813, allocations: 6.438 kB / 0.7291 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.813, allocations: 7.875 kB / 0.7291 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.813, allocations: 1.188 kB / 0.7291 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8131, allocations: 0 / 0.7291 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8131, allocations: 0 / 0.7291 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.632e-05/0.8132, allocations: 58.11 kB / 0.7291 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.8132, allocations: 78.23 kB / 0.7292 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.8132, allocations: 8.109 kB / 0.7292 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.8133, allocations: 6.469 kB / 0.7292 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.8134, allocations: 0 / 0.7292 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.8134, allocations: 2.812 kB / 0.7292 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.517e-05/0.8134, allocations: 86.92 kB / 0.7293 GB, free: 484 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8135, allocations: 3.938 kB / 0.7293 GB, free: 480 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002032/0.8137, allocations: 6.875 kB / 0.7293 GB, free: 480 kB / 0.545 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.0001204/0.8138, allocations: 97.94 kB / 0.7294 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.8139, allocations: 21 kB / 0.7294 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8139, allocations: 1.219 kB / 0.7294 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.8139, allocations: 1.25 kB / 0.7294 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.8142, allocations: 6.672 kB / 0.7294 GB, free: 380 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.8146, allocations: 125 kB / 0.7296 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.8149, allocations: 0.6788 MB / 0.7302 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.595e-05/0.815, allocations: 9.578 kB / 0.7302 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.815, allocations: 8.562 kB / 0.7302 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.8151, allocations: 0 / 0.7302 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.003061/0.8181, allocations: 0.489 MB / 0.7307 GB, free: 15.5 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)