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.001547/0.001546, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001695/0.001695, allocations: 190.5 kB / 16.25 MB, free: 6.637 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.536/1.536, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.079/1.079, allocations: 135.2 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 60.25 kB / 0.5049 GB, free: 5.605 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2233, allocations: 80.94 MB / 0.5839 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5608/0.7841, allocations: 145.7 MB / 0.7262 GB, free: 3.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001578/0.7843, allocations: 63.09 kB / 0.7263 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.7844, allocations: 0 / 0.7263 GB, free: 3.141 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.7845, allocations: 5.438 kB / 0.7263 GB, free: 3.137 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.7846, allocations: 13.02 kB / 0.7263 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.7851, allocations: 101.2 kB / 0.7264 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.7853, allocations: 33.73 kB / 0.7265 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.643e-05/0.7853, allocations: 3.094 kB / 0.7265 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.7853, allocations: 14.36 kB / 0.7265 GB, free: 3.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.125e-05/0.7854, allocations: 17.59 kB / 0.7265 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.7854, allocations: 1.188 kB / 0.7265 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.7857, allocations: 88.83 kB / 0.7266 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.742e-05/0.7858, allocations: 10.36 kB / 0.7266 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.7858, allocations: 15.12 kB / 0.7266 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.786, allocations: 67.31 kB / 0.7267 GB, free: 3.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.786, allocations: 4 kB / 0.7267 GB, free: 3 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.128e-06/0.786, allocations: 0 / 0.7267 GB, free: 3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.786, allocations: 3.938 kB / 0.7267 GB, free: 2.996 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.0004896/0.7865, allocations: 337.4 kB / 0.727 GB, free: 2.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.7866, allocations: 9.344 kB / 0.727 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.7868, allocations: 19.81 kB / 0.727 GB, free: 2.641 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.787, allocations: 163.1 kB / 0.7272 GB, free: 2.445 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.95e-05/0.7871, allocations: 35.5 kB / 0.7272 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.7871, allocations: 1.094 kB / 0.7272 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.7873, allocations: 52.28 kB / 0.7273 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.7873, allocations: 0 / 0.7273 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.7873, allocations: 1.156 kB / 0.7273 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.7874, allocations: 1.703 kB / 0.7273 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.7874, allocations: 18.39 kB / 0.7273 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.7879, allocations: 261.2 kB / 0.7275 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.956e-05/0.7879, allocations: 20.92 kB / 0.7276 GB, free: 2.059 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.788, allocations: 6.516 kB / 0.7276 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.788, allocations: 3.938 kB / 0.7276 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.788, allocations: 32.42 kB / 0.7276 GB, free: 2.008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.788, allocations: 1.062 kB / 0.7276 GB, free: 2.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001402/0.7882, allocations: 39.42 kB / 0.7276 GB, free: 1.969 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.7882, allocations: 53.47 kB / 0.7277 GB, free: 1.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.7883, allocations: 109.2 kB / 0.7278 GB, free: 1.801 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.7884, allocations: 25.7 kB / 0.7278 GB, free: 1.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.7885, allocations: 94.5 kB / 0.7279 GB, free: 1.676 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.7885, allocations: 5 kB / 0.7279 GB, free: 1.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.7886, allocations: 18.62 kB / 0.7279 GB, free: 1.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7887, allocations: 316.9 kB / 0.7282 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.7887, allocations: 5.125 kB / 0.7282 GB, free: 1.336 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.7888, allocations: 31.66 kB / 0.7283 GB, free: 1.305 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.888e-05/0.7889, allocations: 31.42 kB / 0.7283 GB, free: 1.273 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7889, allocations: 0 / 0.7283 GB, free: 1.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.764e-05/0.789, allocations: 57.97 kB / 0.7283 GB, free: 1.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.789, allocations: 6 kB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.789, allocations: 3.938 kB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.789, allocations: 3.188 kB / 0.7284 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.7891, allocations: 9.625 kB / 0.7284 GB, free: 1.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.7891, allocations: 5.922 kB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.7892, allocations: 1.156 kB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.7892, allocations: 3.656 kB / 0.7284 GB, free: 1.219 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 8.708e-05/0.7893, allocations: 112.6 kB / 0.7285 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.7893, allocations: 2.719 kB / 0.7285 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.7893, allocations: 7.875 kB / 0.7285 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7893, allocations: 2.094 kB / 0.7285 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7893, allocations: 3.938 kB / 0.7285 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.7894, allocations: 1.031 kB / 0.7285 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.7897, allocations: 349.1 kB / 0.7288 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.7897, allocations: 0 / 0.7288 GB, free: 0.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.7898, allocations: 5.594 kB / 0.7288 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.7898, allocations: 5.688 kB / 0.7288 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-06/0.7898, allocations: 0 / 0.7288 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7898, allocations: 1.156 kB / 0.7288 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.7898, allocations: 0.75 kB / 0.7288 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.6e-05/0.7899, allocations: 61.34 kB / 0.7289 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.7899, allocations: 79.72 kB / 0.729 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.79, allocations: 11.47 kB / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.7901, allocations: 6.109 kB / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.7901, allocations: 0.6562 kB / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-06/0.7901, allocations: 1.156 kB / 0.729 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.7901, allocations: 82.08 kB / 0.7291 GB, free: 464 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7902, allocations: 0 / 0.7291 GB, free: 464 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001916/0.7903, allocations: 10.81 kB / 0.7291 GB, free: 460 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.0001061/0.7905, allocations: 101.2 kB / 0.7292 GB, free: 368 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.522e-05/0.7906, allocations: 17.55 kB / 0.7292 GB, free: 360 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7906, allocations: 1.062 kB / 0.7292 GB, free: 360 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.691e-06/0.7906, allocations: 1.984 kB / 0.7292 GB, free: 360 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.7908, allocations: 7.828 kB / 0.7292 GB, free: 356 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.7911, allocations: 118.4 kB / 0.7293 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.7915, allocations: 0.6833 MB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.02e-05/0.7916, allocations: 8.375 kB / 0.73 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.7916, allocations: 11.38 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.7916, allocations: 1.125 kB / 0.73 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.003096/0.7947, allocations: 0.5009 MB / 0.7305 GB, free: 15.48 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)