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.009093/0.009094, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7479/0.7479, allocations: 132.3 MB / 148.1 MB, free: 260 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.674/1.674, allocations: 223.2 MB / 403.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 99.27 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005695/0.00057, allocations: 8 kB / 0.5641 GB, free: 2.113 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5454/0.546, allocations: 81.58 MB / 0.6437 GB, free: 39.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.35/12.89, allocations: 4.371 GB / 5.014 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/12.89, allocations: 85.75 kB / 5.014 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08464/12.98, allocations: 47.13 MB / 5.061 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.535e-06/12.98, allocations: 3.938 kB / 5.061 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.803e-06/12.98, allocations: 4 kB / 5.061 GB, free: 152.4 MB / 0.6823 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.0003106/12.98, allocations: 342.5 kB / 5.061 GB, free: 152 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/12.98, allocations: 16.03 kB / 5.061 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/12.98, allocations: 15.98 kB / 5.061 GB, free: 152 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.953e-05/12.98, allocations: 159.1 kB / 5.061 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/12.98, allocations: 33.33 kB / 5.061 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/12.98, allocations: 0 / 5.061 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/12.98, allocations: 57.17 kB / 5.061 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/12.98, allocations: 0 / 5.061 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/12.98, allocations: 4 kB / 5.061 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/12.98, allocations: 0 / 5.061 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.095e-05/12.98, allocations: 23.55 kB / 5.061 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/12.98, allocations: 256 kB / 5.061 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.264e-05/12.98, allocations: 14.89 kB / 5.061 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/12.98, allocations: 64 / 5.061 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/12.98, allocations: 42.5 kB / 5.061 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/12.98, allocations: 0 / 5.061 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001308/12.98, allocations: 40.81 kB / 5.061 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/12.98, allocations: 51.41 kB / 5.062 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/12.98, allocations: 104.7 kB / 5.062 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/12.98, allocations: 25.7 kB / 5.062 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/12.98, allocations: 92.03 kB / 5.062 GB, free: 151 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/12.98, allocations: 11.42 kB / 5.062 GB, free: 151 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/12.98, allocations: 0 / 5.062 GB, free: 151 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.692e-05/12.98, allocations: 310.8 kB / 5.062 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/12.98, allocations: 4 kB / 5.062 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/12.98, allocations: 26.25 kB / 5.062 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.213e-05/12.98, allocations: 8 kB / 5.062 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/12.98, allocations: 4 kB / 5.062 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.541e-05/12.98, allocations: 64.8 kB / 5.062 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/12.98, allocations: 11.94 kB / 5.062 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/12.98, allocations: 0 / 5.062 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/12.98, allocations: 0 / 5.062 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/12.98, allocations: 11.94 kB / 5.062 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/12.98, allocations: 0 / 5.062 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/12.98, allocations: 0 / 5.062 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/12.98, allocations: 4 kB / 5.062 GB, free: 150.5 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/12.98, allocations: 116.5 kB / 5.062 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/12.98, allocations: 7.953 kB / 5.062 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/12.98, allocations: 6.375 kB / 5.062 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/12.98, allocations: 0 / 5.062 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/12.98, allocations: 256 / 5.062 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/12.98, allocations: 0 / 5.062 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/12.98, allocations: 354 kB / 5.063 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/12.98, allocations: 0 / 5.063 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.185e-05/12.98, allocations: 8.031 kB / 5.063 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/12.98, allocations: 0 / 5.063 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/12.98, allocations: 0 / 5.063 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/12.98, allocations: 0 / 5.063 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/12.98, allocations: 0 / 5.063 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.927e-05/12.98, allocations: 68.75 kB / 5.063 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/12.98, allocations: 81.09 kB / 5.063 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/12.98, allocations: 32 / 5.063 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/12.98, allocations: 8 kB / 5.063 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/12.98, allocations: 0 / 5.063 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-06/12.98, allocations: 4 kB / 5.063 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.029e-05/12.98, allocations: 90.95 kB / 5.063 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/12.98, allocations: 0 / 5.063 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003168/12.98, allocations: 36.69 kB / 5.063 GB, free: 149.7 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000602/12.98, allocations: 0.5713 MB / 5.063 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.746e-05/12.98, allocations: 11.5 kB / 5.063 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/12.98, allocations: 0 / 5.063 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-06/12.98, allocations: 0 / 5.063 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/12.98, allocations: 11.7 kB / 5.063 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/12.98, allocations: 120.6 kB / 5.064 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/12.98, allocations: 0.6809 MB / 5.064 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.52e-05/12.98, allocations: 7.984 kB / 5.064 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/12.98, allocations: 11.44 kB / 5.064 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/12.98, allocations: 4 kB / 5.064 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of Templates: time 0.009373/12.99, allocations: 7.914 MB / 5.072 GB, free: 140.3 MB / 0.6823 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)