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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7723/0.7723, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 403.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001136, allocations: 117.3 kB / 484.4 MB, free: 8.73 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 51.92 kB / 0.5618 GB, free: 71.09 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1656, allocations: 80.2 MB / 0.6402 GB, free: 6.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5044/0.6701, allocations: 145.6 MB / 0.7823 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001433/0.6703, allocations: 52.23 kB / 0.7824 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.6704, allocations: 4 kB / 0.7824 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.6705, allocations: 6.656 kB / 0.7824 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.6706, allocations: 10.06 kB / 0.7824 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.6711, allocations: 102 kB / 0.7825 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.6712, allocations: 49.98 kB / 0.7826 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.6713, allocations: 0 / 0.7826 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.684e-05/0.6714, allocations: 25.97 kB / 0.7826 GB, free: 492 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.6715, allocations: 15.22 kB / 0.7826 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.6715, allocations: 0 / 0.7826 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.6718, allocations: 76.16 kB / 0.7827 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.6718, allocations: 13.02 kB / 0.7827 GB, free: 432 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.6719, allocations: 8.594 kB / 0.7827 GB, free: 428 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.6721, allocations: 84.94 kB / 0.7828 GB, free: 380 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6721, allocations: 0 / 0.7828 GB, free: 380 kB / 0.5105 GB Notification: Performance of FrontEnd: time 9.22e-07/0.6721, allocations: 0 / 0.7828 GB, free: 380 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.6721, allocations: 0 / 0.7828 GB, free: 380 kB / 0.5105 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.0004325/0.6726, allocations: 344.9 kB / 0.7831 GB, free: 0 / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6726, allocations: 10.12 kB / 0.7831 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000259/0.6729, allocations: 17.05 kB / 0.7831 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.673, allocations: 163.5 kB / 0.7833 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.262e-05/0.6731, allocations: 29.64 kB / 0.7833 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.6731, allocations: 2.438 kB / 0.7833 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.6733, allocations: 48.45 kB / 0.7834 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.6733, allocations: 4 kB / 0.7834 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.6733, allocations: 0 / 0.7834 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.6733, allocations: 2.281 kB / 0.7834 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.764e-05/0.6734, allocations: 22.02 kB / 0.7834 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.6738, allocations: 262.2 kB / 0.7836 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.6738, allocations: 18.56 kB / 0.7836 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.6739, allocations: 11.58 kB / 0.7837 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.6739, allocations: 0 / 0.7837 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.6739, allocations: 35.86 kB / 0.7837 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.6739, allocations: 2.562 kB / 0.7837 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.6741, allocations: 37.95 kB / 0.7837 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.6741, allocations: 51.41 kB / 0.7838 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.593e-05/0.6742, allocations: 110.1 kB / 0.7839 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.6742, allocations: 30.27 kB / 0.7839 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.6743, allocations: 90.61 kB / 0.784 GB, free: 15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/0.6743, allocations: 7.891 kB / 0.784 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.6743, allocations: 18.38 kB / 0.784 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6745, allocations: 314.8 kB / 0.7843 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.6745, allocations: 6.812 kB / 0.7843 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.6745, allocations: 23.36 kB / 0.7844 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.368e-05/0.6746, allocations: 42.19 kB / 0.7844 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6746, allocations: 0 / 0.7844 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.955e-05/0.6747, allocations: 48.95 kB / 0.7844 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6747, allocations: 10.77 kB / 0.7845 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.6747, allocations: 2.094 kB / 0.7845 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.6747, allocations: 4.094 kB / 0.7845 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.6748, allocations: 5.25 kB / 0.7845 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.6748, allocations: 6.688 kB / 0.7845 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.745e-05/0.6748, allocations: 3.938 kB / 0.7845 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.6749, allocations: 2.344 kB / 0.7845 GB, free: 14.53 MB / 0.5261 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.274e-05/0.6749, allocations: 113.8 kB / 0.7846 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.675, allocations: 9.156 kB / 0.7846 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.675, allocations: 7.109 kB / 0.7846 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.675, allocations: 2.938 kB / 0.7846 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.675, allocations: 11.88 kB / 0.7846 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.675, allocations: 0 / 0.7846 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.6753, allocations: 338.5 kB / 0.7849 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.6753, allocations: 0 / 0.7849 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.6753, allocations: 2.031 kB / 0.7849 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.6753, allocations: 3.938 kB / 0.7849 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.6754, allocations: 0 / 0.7849 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.6754, allocations: 3.938 kB / 0.7849 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6754, allocations: 2.906 kB / 0.7849 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.6756, allocations: 0.6105 MB / 0.7855 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.537e-05/0.6757, allocations: 79.83 kB / 0.7856 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.6757, allocations: 0 / 0.7856 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.993e-05/0.6758, allocations: 2.156 kB / 0.7856 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.6758, allocations: 32 / 0.7856 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.6758, allocations: 7.984 kB / 0.7856 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.6759, allocations: 86.72 kB / 0.7857 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6759, allocations: 0 / 0.7857 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003011/0.6762, allocations: 5.281 kB / 0.7857 GB, free: 13.16 MB / 0.5261 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 9.908e-05/0.6763, allocations: 96.94 kB / 0.7858 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.306e-05/0.6764, allocations: 19.55 kB / 0.7858 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6764, allocations: 192 / 0.7858 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-06/0.6764, allocations: 9.875 kB / 0.7858 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.6766, allocations: 6.469 kB / 0.7858 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.677, allocations: 215 kB / 0.786 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001945/0.6772, allocations: 0.6758 MB / 0.7867 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.982e-05/0.6772, allocations: 8.844 kB / 0.7867 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.813e-05/0.6772, allocations: 9.5 kB / 0.7867 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.2e-07/0.6773, allocations: 0 / 0.7867 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.00231/0.6796, allocations: 0.4906 MB / 0.7872 GB, free: 11.85 MB / 0.5261 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)