Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 182 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.7791/0.7791, 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.39/1.39, allocations: 222.9 MB / 403.4 MB, free: 7.121 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.001361/0.001361, allocations: 116.5 kB / 484.4 MB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009766/0.000977, allocations: 47.92 kB / 0.5618 GB, free: 71.1 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.139, allocations: 80.2 MB / 0.6402 GB, free: 6.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4486/0.5877, allocations: 133.3 MB / 0.7704 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.5879, allocations: 45.86 kB / 0.7704 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.5879, allocations: 0 / 0.7704 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.588, allocations: 6.797 kB / 0.7704 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.5882, allocations: 17.72 kB / 0.7704 GB, free: 10.33 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.589, allocations: 222 kB / 0.7707 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.5891, allocations: 61.95 kB / 0.7707 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.5891, allocations: 8 kB / 0.7707 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.5892, allocations: 18.23 kB / 0.7707 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.5893, allocations: 11.55 kB / 0.7708 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.5893, allocations: 0 / 0.7708 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004931/0.5898, allocations: 245.1 kB / 0.771 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.5898, allocations: 13.09 kB / 0.771 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.5899, allocations: 10.67 kB / 0.771 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.5903, allocations: 195.2 kB / 0.7712 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5903, allocations: 3.984 kB / 0.7712 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5903, allocations: 0 / 0.7712 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.5903, allocations: 4 kB / 0.7712 GB, free: 9.875 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005153/0.5908, allocations: 359.1 kB / 0.7715 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5909, allocations: 7.5 kB / 0.7715 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.591, allocations: 7.016 kB / 0.7716 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.5911, allocations: 162.9 kB / 0.7717 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/0.5912, allocations: 30.45 kB / 0.7717 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.5912, allocations: 6.656 kB / 0.7717 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.5913, allocations: 41.47 kB / 0.7718 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5914, allocations: 1.812 kB / 0.7718 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5914, allocations: 0 / 0.7718 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.5914, allocations: 3.984 kB / 0.7718 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.673e-05/0.5914, allocations: 18.56 kB / 0.7718 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.5923, allocations: 0.5991 MB / 0.7724 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.44e-05/0.5924, allocations: 21.33 kB / 0.7724 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.507e-05/0.5924, allocations: 4.859 kB / 0.7724 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002128/0.5926, allocations: 339.5 kB / 0.7727 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.5926, allocations: 34.5 kB / 0.7728 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.5926, allocations: 1.875 kB / 0.7728 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.5928, allocations: 39.08 kB / 0.7728 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.5929, allocations: 51.41 kB / 0.7729 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.593, allocations: 109.1 kB / 0.773 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.593, allocations: 25.7 kB / 0.773 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.775e-05/0.593, allocations: 90.91 kB / 0.7731 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.594e-06/0.593, allocations: 7.938 kB / 0.7731 GB, free: 7.719 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.5931, allocations: 16.39 kB / 0.7731 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5932, allocations: 317 kB / 0.7734 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.5932, allocations: 6.125 kB / 0.7734 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.5933, allocations: 12.88 kB / 0.7734 GB, free: 7.363 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.5933, allocations: 34.55 kB / 0.7735 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5933, allocations: 0 / 0.7735 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.917e-05/0.5934, allocations: 42 kB / 0.7735 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5934, allocations: 5.25 kB / 0.7735 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5934, allocations: 3.938 kB / 0.7735 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.5935, allocations: 2.562 kB / 0.7735 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.5935, allocations: 8.375 kB / 0.7735 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.5935, allocations: 4 kB / 0.7735 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.018e-05/0.5936, allocations: 3.281 kB / 0.7735 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.5936, allocations: 288 / 0.7735 GB, free: 7.285 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 8.117e-05/0.5937, allocations: 113.9 kB / 0.7736 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.5937, allocations: 3.906 kB / 0.7736 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.5938, allocations: 125.7 kB / 0.7738 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.448e-05/0.5939, allocations: 184.2 kB / 0.7739 GB, free: 6.852 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-05/0.594, allocations: 178.3 kB / 0.7741 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.87e-05/0.594, allocations: 184.8 kB / 0.7743 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.5943, allocations: 407.8 kB / 0.7747 GB, free: 6.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-05/0.5943, allocations: 103.8 kB / 0.7748 GB, free: 5.926 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.5943, allocations: 112.8 kB / 0.7749 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.786e-05/0.5944, allocations: 180.3 kB / 0.775 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.5945, allocations: 182.5 kB / 0.7752 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.979e-05/0.5945, allocations: 176.3 kB / 0.7754 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.743e-05/0.5946, allocations: 190.7 kB / 0.7756 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.595, allocations: 0.8452 MB / 0.7764 GB, free: 4.172 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.5951, allocations: 180.6 kB / 0.7766 GB, free: 3.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-05/0.5951, allocations: 188.1 kB / 0.7767 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.5953, allocations: 114 kB / 0.7769 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.5954, allocations: 184.2 kB / 0.777 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.5954, allocations: 101 kB / 0.7771 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.5954, allocations: 84.3 kB / 0.7772 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5954, allocations: 0 / 0.7772 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004272/0.5959, allocations: 55.59 kB / 0.7773 GB, free: 3.281 MB / 0.5105 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 (0): * Single equations (assignments): 0 * 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.0003072/0.5962, allocations: 252.6 kB / 0.7775 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.5963, allocations: 11.84 kB / 0.7775 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5963, allocations: 0 / 0.7775 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.5963, allocations: 0 / 0.7775 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.5967, allocations: 0.5328 MB / 0.778 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002564/0.5969, allocations: 177.4 kB / 0.7782 GB, free: 2.363 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.5972, allocations: 0.6719 MB / 0.7789 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.5972, allocations: 8.5 kB / 0.7789 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.5972, allocations: 18.33 kB / 0.7789 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.5973, allocations: 0 / 0.7789 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of Templates: time 0.003622/0.6009, allocations: 1.271 MB / 0.7801 GB, free: 0.9766 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)