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.00747/0.00747, allocations: 98.16 kB / 15.73 MB, free: 6.004 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.001301/0.001301, allocations: 195.2 kB / 16.67 MB, free: 5.934 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8028/0.8028, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.05 kB / 0.5814 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1951, allocations: 80.19 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1794/0.3746, allocations: 147.8 MB / 0.8041 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.3748, allocations: 51.86 kB / 0.8041 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.3748, allocations: 0 / 0.8041 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3749, allocations: 7.875 kB / 0.8041 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.375, allocations: 11.91 kB / 0.8041 GB, free: 9 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005093/0.3756, allocations: 113.6 kB / 0.8042 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.503e-05/0.3757, allocations: 31.86 kB / 0.8043 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.3757, allocations: 3.984 kB / 0.8043 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.3758, allocations: 15.98 kB / 0.8043 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.992e-05/0.3759, allocations: 11.94 kB / 0.8043 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3759, allocations: 0 / 0.8043 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.3762, allocations: 91.7 kB / 0.8044 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.3762, allocations: 4 kB / 0.8044 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.553e-05/0.3763, allocations: 19.97 kB / 0.8044 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3765, allocations: 67.8 kB / 0.8045 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3765, allocations: 0 / 0.8045 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3765, allocations: 0 / 0.8045 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.3765, allocations: 0 / 0.8045 GB, free: 8.648 MB / 0.6387 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.0004501/0.3769, allocations: 343.4 kB / 0.8048 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.377, allocations: 8.031 kB / 0.8048 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002256/0.3772, allocations: 24.86 kB / 0.8048 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.3773, allocations: 164.3 kB / 0.805 GB, free: 8.035 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.3774, allocations: 37.62 kB / 0.805 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.3774, allocations: 0 / 0.805 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3776, allocations: 49.67 kB / 0.8051 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3776, allocations: 0 / 0.8051 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3776, allocations: 0 / 0.8051 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/0.3776, allocations: 7.984 kB / 0.8051 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.3777, allocations: 19.97 kB / 0.8051 GB, free: 7.91 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3781, allocations: 268.7 kB / 0.8054 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 3.853e-05/0.3781, allocations: 22.58 kB / 0.8054 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.3781, allocations: 8.891 kB / 0.8054 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.3782, allocations: 0 / 0.8054 GB, free: 7.555 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.3782, allocations: 38.56 kB / 0.8054 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3782, allocations: 0 / 0.8054 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001303/0.3783, allocations: 37.7 kB / 0.8055 GB, free: 7.465 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.3784, allocations: 55.34 kB / 0.8055 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.3785, allocations: 109.8 kB / 0.8056 GB, free: 7.281 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.3785, allocations: 25.7 kB / 0.8056 GB, free: 7.25 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.3785, allocations: 84.09 kB / 0.8057 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.103e-06/0.3785, allocations: 11.95 kB / 0.8057 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.3786, allocations: 17.84 kB / 0.8057 GB, free: 7.129 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.823e-05/0.3787, allocations: 318.8 kB / 0.8061 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.3787, allocations: 4 kB / 0.8061 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.3787, allocations: 18.83 kB / 0.8061 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.517e-05/0.3788, allocations: 38.5 kB / 0.8061 GB, free: 6.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3788, allocations: 4 kB / 0.8061 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.569e-05/0.3789, allocations: 53.62 kB / 0.8062 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.3789, allocations: 4 kB / 0.8062 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3789, allocations: 4 kB / 0.8062 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3789, allocations: 0 / 0.8062 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.379, allocations: 4 kB / 0.8062 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.379, allocations: 7.938 kB / 0.8062 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.379, allocations: 11.89 kB / 0.8062 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.3791, allocations: 4.094 kB / 0.8062 GB, free: 6.633 MB / 0.6387 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.521e-05/0.3791, allocations: 110.5 kB / 0.8063 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3792, allocations: 0 / 0.8063 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.3792, allocations: 15.05 kB / 0.8063 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3792, allocations: 0 / 0.8063 GB, free: 6.496 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3792, allocations: 3.938 kB / 0.8063 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3792, allocations: 0 / 0.8063 GB, free: 6.492 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.3795, allocations: 346.8 kB / 0.8067 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.3795, allocations: 0 / 0.8067 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.512e-05/0.3795, allocations: 7.938 kB / 0.8067 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.3795, allocations: 3.938 kB / 0.8067 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3795, allocations: 3.984 kB / 0.8067 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3795, allocations: 0 / 0.8067 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3795, allocations: 0 / 0.8067 GB, free: 6.078 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.323e-05/0.3796, allocations: 57.08 kB / 0.8067 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.3797, allocations: 89.06 kB / 0.8068 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3797, allocations: 0 / 0.8068 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.3798, allocations: 11.98 kB / 0.8068 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-06/0.3798, allocations: 0 / 0.8068 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.3798, allocations: 0 / 0.8068 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.3798, allocations: 79.28 kB / 0.8069 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3798, allocations: 0 / 0.8069 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001879/0.38, allocations: 8 kB / 0.8069 GB, free: 5.801 MB / 0.6387 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.454e-05/0.3801, allocations: 103.2 kB / 0.807 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.091e-05/0.3802, allocations: 15.94 kB / 0.807 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3802, allocations: 3.938 kB / 0.807 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.562e-06/0.3803, allocations: 4 kB / 0.807 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.3805, allocations: 10.06 kB / 0.807 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/0.3807, allocations: 102.7 kB / 0.8071 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.381, allocations: 0.6809 MB / 0.8078 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.3811, allocations: 12.06 kB / 0.8078 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.032e-05/0.3811, allocations: 7.438 kB / 0.8078 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.3811, allocations: 0 / 0.8078 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of Templates: time 0.002402/0.3835, allocations: 0.502 MB / 0.8083 GB, free: 4.344 MB / 0.6387 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)