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.001667/0.001667, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002461/0.002462, allocations: 193 kB / 16.14 MB, free: 6.719 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.018/1.018, allocations: 135.1 MB / 425.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.2 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.23, allocations: 80.93 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5321/0.7622, allocations: 145.6 MB / 0.7259 GB, free: 3.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001867/0.7624, allocations: 61.41 kB / 0.7259 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.7625, allocations: 1.062 kB / 0.7259 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.7626, allocations: 1.312 kB / 0.7259 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.407e-05/0.7627, allocations: 9.672 kB / 0.7259 GB, free: 3.691 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.7632, allocations: 92.81 kB / 0.726 GB, free: 3.652 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.7634, allocations: 65.61 kB / 0.7261 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.7634, allocations: 4.641 kB / 0.7261 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.672e-05/0.7635, allocations: 18.7 kB / 0.7261 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.392e-05/0.7636, allocations: 13.88 kB / 0.7261 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.7636, allocations: 1.438 kB / 0.7261 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.7639, allocations: 83.88 kB / 0.7262 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.7639, allocations: 6.609 kB / 0.7262 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.764, allocations: 14.59 kB / 0.7262 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.7642, allocations: 65.91 kB / 0.7263 GB, free: 3.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.7642, allocations: 0.8438 kB / 0.7263 GB, free: 3.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7642, allocations: 4 kB / 0.7263 GB, free: 3.559 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.7642, allocations: 0 / 0.7263 GB, free: 3.559 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.0004728/0.7647, allocations: 344 kB / 0.7266 GB, free: 3.199 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7647, allocations: 9.75 kB / 0.7266 GB, free: 3.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.765, allocations: 21.3 kB / 0.7266 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7651, allocations: 167.7 kB / 0.7268 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.723e-05/0.7652, allocations: 36.44 kB / 0.7268 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.7652, allocations: 1.312 kB / 0.7268 GB, free: 2.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.7654, allocations: 51.89 kB / 0.7269 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.7654, allocations: 0 / 0.7269 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.7654, allocations: 1.094 kB / 0.7269 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.7655, allocations: 1.734 kB / 0.7269 GB, free: 2.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.302e-05/0.7655, allocations: 19.03 kB / 0.7269 GB, free: 2.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.766, allocations: 261 kB / 0.7272 GB, free: 2.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.152e-05/0.766, allocations: 20.55 kB / 0.7272 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.766, allocations: 7.266 kB / 0.7272 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.7661, allocations: 0 / 0.7272 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.7661, allocations: 32.11 kB / 0.7272 GB, free: 2.562 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.7661, allocations: 0 / 0.7272 GB, free: 2.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001468/0.7662, allocations: 40.36 kB / 0.7272 GB, free: 2.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.7663, allocations: 56.59 kB / 0.7273 GB, free: 2.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.7664, allocations: 109.3 kB / 0.7274 GB, free: 2.352 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.7664, allocations: 29.64 kB / 0.7274 GB, free: 2.316 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.2e-05/0.7665, allocations: 91.47 kB / 0.7275 GB, free: 2.227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-06/0.7665, allocations: 7.844 kB / 0.7275 GB, free: 2.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.7665, allocations: 19.11 kB / 0.7275 GB, free: 2.199 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.7667, allocations: 312.7 kB / 0.7278 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.7667, allocations: 11.62 kB / 0.7279 GB, free: 1.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.7667, allocations: 25.86 kB / 0.7279 GB, free: 1.852 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.956e-05/0.7668, allocations: 33.03 kB / 0.7279 GB, free: 1.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7668, allocations: 1.031 kB / 0.7279 GB, free: 1.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000108/0.7669, allocations: 61.39 kB / 0.728 GB, free: 1.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7669, allocations: 4.844 kB / 0.728 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.7669, allocations: 1.75 kB / 0.728 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7669, allocations: 1.062 kB / 0.728 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.127e-05/0.767, allocations: 6.25 kB / 0.728 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.767, allocations: 5.656 kB / 0.728 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.7671, allocations: 1.125 kB / 0.728 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.7671, allocations: 2.953 kB / 0.728 GB, free: 1.77 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 7.78e-05/0.7672, allocations: 116.9 kB / 0.7281 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.7672, allocations: 1.188 kB / 0.7281 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.7672, allocations: 5.469 kB / 0.7281 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.7672, allocations: 0 / 0.7281 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.7672, allocations: 8.188 kB / 0.7281 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.7672, allocations: 0.5156 kB / 0.7281 GB, free: 1.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.7675, allocations: 347.8 kB / 0.7285 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.7675, allocations: 1.609 kB / 0.7285 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.359e-05/0.7676, allocations: 1.031 kB / 0.7285 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.7676, allocations: 9.969 kB / 0.7285 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.7676, allocations: 0 / 0.7285 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7676, allocations: 0 / 0.7285 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7676, allocations: 1.625 kB / 0.7285 GB, free: 1.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.903e-05/0.7677, allocations: 57.92 kB / 0.7285 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.7677, allocations: 78.89 kB / 0.7286 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.7678, allocations: 4.5 kB / 0.7286 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.7679, allocations: 8.609 kB / 0.7286 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.7679, allocations: 9.109 kB / 0.7286 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.7679, allocations: 0.7031 kB / 0.7286 GB, free: 1.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.543e-05/0.7679, allocations: 85.78 kB / 0.7287 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.768, allocations: 0 / 0.7287 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001947/0.7682, allocations: 7.797 kB / 0.7287 GB, free: 0.9961 MB / 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.0001086/0.7683, allocations: 96.17 kB / 0.7288 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.7683, allocations: 18.75 kB / 0.7288 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7684, allocations: 3.938 kB / 0.7288 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.027e-06/0.7684, allocations: 10.72 kB / 0.7288 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.7686, allocations: 5.281 kB / 0.7288 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.7689, allocations: 115.2 kB / 0.7289 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.7692, allocations: 0.6756 MB / 0.7296 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.709e-05/0.7693, allocations: 14.59 kB / 0.7296 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.7693, allocations: 8.656 kB / 0.7296 GB, free: 68 kB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.7693, allocations: 0 / 0.7296 GB, free: 68 kB / 0.545 GB Notification: Performance of Templates: time 0.002603/0.7719, allocations: 495.5 kB / 0.7301 GB, free: 24 kB / 0.545 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)