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.0107/0.0107, allocations: 98.91 kB / 15.73 MB, free: 6.008 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.002095/0.002096, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8237/0.8237, allocations: 132.2 MB / 422.7 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 64.34 kB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1848, allocations: 80.21 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6115/0.7963, allocations: 147.8 MB / 0.8041 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.7965, allocations: 54.11 kB / 0.8041 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.7965, allocations: 0 / 0.8041 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.7967, allocations: 7.203 kB / 0.8041 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.388e-05/0.7968, allocations: 13.77 kB / 0.8041 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.7974, allocations: 104.9 kB / 0.8042 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.7975, allocations: 36.27 kB / 0.8043 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.884e-05/0.7975, allocations: 6 kB / 0.8043 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.7976, allocations: 13.67 kB / 0.8043 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.531e-05/0.7977, allocations: 15.53 kB / 0.8043 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.7977, allocations: 1.094 kB / 0.8043 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.798, allocations: 83.23 kB / 0.8044 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.798, allocations: 13.34 kB / 0.8044 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.7981, allocations: 9.531 kB / 0.8044 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.7983, allocations: 73.17 kB / 0.8045 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7983, allocations: 0 / 0.8045 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.857e-06/0.7983, allocations: 3.406 kB / 0.8045 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.7983, allocations: 7.938 kB / 0.8045 GB, free: 11.94 MB / 0.5919 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.0004875/0.7988, allocations: 336.6 kB / 0.8048 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.7989, allocations: 9.562 kB / 0.8048 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.7991, allocations: 20.89 kB / 0.8048 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.7993, allocations: 168.3 kB / 0.805 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.7993, allocations: 30.67 kB / 0.805 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.7994, allocations: 6.094 kB / 0.805 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.7995, allocations: 46.64 kB / 0.8051 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.7995, allocations: 0 / 0.8051 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.7996, allocations: 6.547 kB / 0.8051 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.7996, allocations: 5.125 kB / 0.8051 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.7996, allocations: 17.3 kB / 0.8051 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.8001, allocations: 262.3 kB / 0.8053 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.133e-05/0.8001, allocations: 16.86 kB / 0.8054 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.207e-05/0.8002, allocations: 7.891 kB / 0.8054 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.8002, allocations: 0 / 0.8054 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.8002, allocations: 35.03 kB / 0.8054 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.8002, allocations: 3.984 kB / 0.8054 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.8004, allocations: 38.5 kB / 0.8054 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.8004, allocations: 55.53 kB / 0.8055 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.8005, allocations: 107.4 kB / 0.8056 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.8006, allocations: 27.45 kB / 0.8056 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.8006, allocations: 98.16 kB / 0.8057 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-06/0.8006, allocations: 1.031 kB / 0.8057 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.8007, allocations: 16.97 kB / 0.8057 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8008, allocations: 315 kB / 0.806 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.8008, allocations: 2.781 kB / 0.806 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.429e-05/0.8009, allocations: 33.86 kB / 0.8061 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.905e-05/0.8009, allocations: 33.22 kB / 0.8061 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.801, allocations: 1.125 kB / 0.8061 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.64e-05/0.801, allocations: 55.09 kB / 0.8062 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8011, allocations: 9.438 kB / 0.8062 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.8011, allocations: 4.969 kB / 0.8062 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.8011, allocations: 1.125 kB / 0.8062 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.8012, allocations: 8.25 kB / 0.8062 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.8012, allocations: 4.906 kB / 0.8062 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.796e-05/0.8012, allocations: 4.5 kB / 0.8062 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.8012, allocations: 1.969 kB / 0.8062 GB, free: 10.21 MB / 0.5919 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.551e-05/0.8013, allocations: 109.4 kB / 0.8063 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.8014, allocations: 7.984 kB / 0.8063 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.8014, allocations: 4.844 kB / 0.8063 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.8014, allocations: 0 / 0.8063 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.8014, allocations: 7.75 kB / 0.8063 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.8014, allocations: 5.188 kB / 0.8063 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.8017, allocations: 344.4 kB / 0.8066 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8017, allocations: 3.938 kB / 0.8066 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.8017, allocations: 1.062 kB / 0.8066 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8017, allocations: 5.281 kB / 0.8067 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.8018, allocations: 4.031 kB / 0.8067 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.8018, allocations: 0 / 0.8067 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.8018, allocations: 1.188 kB / 0.8067 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.828e-05/0.8018, allocations: 60.95 kB / 0.8067 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.8019, allocations: 82.27 kB / 0.8068 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.8019, allocations: 7.641 kB / 0.8068 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.802, allocations: 2.562 kB / 0.8068 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.802, allocations: 6.422 kB / 0.8068 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.802, allocations: 1.156 kB / 0.8068 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.8021, allocations: 82.47 kB / 0.8069 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8021, allocations: 1.281 kB / 0.8069 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001872/0.8023, allocations: 6.281 kB / 0.8069 GB, free: 9.441 MB / 0.5919 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.0001152/0.8024, allocations: 96.62 kB / 0.807 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.656e-05/0.8025, allocations: 19.36 kB / 0.807 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8025, allocations: 4.062 kB / 0.807 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-06/0.8025, allocations: 2.469 kB / 0.807 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.8028, allocations: 6.188 kB / 0.807 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.8031, allocations: 108.8 kB / 0.8071 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.8034, allocations: 0.6746 MB / 0.8078 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.368e-05/0.8035, allocations: 10.56 kB / 0.8078 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.8035, allocations: 13.06 kB / 0.8078 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8035, allocations: 0 / 0.8078 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of Templates: time 0.002643/0.8061, allocations: 0.5134 MB / 0.8083 GB, free: 8.504 MB / 0.5919 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 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)