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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007499/0.007499, allocations: 100.3 kB / 15.73 MB, free: 6.059 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.001142/0.001142, allocations: 192 kB / 16.67 MB, free: 5.969 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 66.27 kB / 0.5813 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.189, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1456/0.3347, allocations: 135.4 MB / 0.7919 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.3349, allocations: 55.86 kB / 0.792 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.3349, allocations: 0 / 0.792 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.3351, allocations: 3.938 kB / 0.792 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.3352, allocations: 19.91 kB / 0.792 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.3361, allocations: 246 kB / 0.7922 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3363, allocations: 35.78 kB / 0.7922 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.3363, allocations: 4 kB / 0.7922 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.942e-05/0.3364, allocations: 16 kB / 0.7923 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.3364, allocations: 11.97 kB / 0.7923 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3364, allocations: 0 / 0.7923 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005163/0.337, allocations: 239.4 kB / 0.7925 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.337, allocations: 19.91 kB / 0.7925 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.3371, allocations: 4 kB / 0.7925 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.3375, allocations: 199.4 kB / 0.7927 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3375, allocations: 0 / 0.7927 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3375, allocations: 0 / 0.7927 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3375, allocations: 0 / 0.7927 GB, free: 4.695 MB / 0.6231 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.0005345/0.3381, allocations: 367.1 kB / 0.7931 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3381, allocations: 8.031 kB / 0.7931 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.3382, allocations: 4.938 kB / 0.7931 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3383, allocations: 164.4 kB / 0.7932 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/0.3383, allocations: 34.27 kB / 0.7933 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3384, allocations: 3.938 kB / 0.7933 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.3385, allocations: 37.69 kB / 0.7933 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3385, allocations: 11.92 kB / 0.7933 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3385, allocations: 0 / 0.7933 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3386, allocations: 8 kB / 0.7933 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.761e-05/0.3386, allocations: 15.98 kB / 0.7933 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.3394, allocations: 0.595 MB / 0.7939 GB, free: 3.238 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.3395, allocations: 22.56 kB / 0.7939 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.3395, allocations: 8.859 kB / 0.794 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000208/0.3397, allocations: 340.5 kB / 0.7943 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.3398, allocations: 34.5 kB / 0.7943 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3398, allocations: 0 / 0.7943 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.3399, allocations: 29.7 kB / 0.7943 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.34, allocations: 55.41 kB / 0.7944 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.34, allocations: 105.8 kB / 0.7945 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3401, allocations: 29.83 kB / 0.7945 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.3401, allocations: 84.14 kB / 0.7946 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.3401, allocations: 7.953 kB / 0.7946 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.3402, allocations: 13.72 kB / 0.7946 GB, free: 2.383 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3403, allocations: 318.8 kB / 0.7949 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.885e-05/0.3403, allocations: 8 kB / 0.7949 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.3403, allocations: 17.66 kB / 0.795 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.704e-05/0.3404, allocations: 25.7 kB / 0.795 GB, free: 2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3404, allocations: 0 / 0.795 GB, free: 2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.981e-05/0.3405, allocations: 45.64 kB / 0.795 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3405, allocations: 4 kB / 0.795 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3405, allocations: 3.984 kB / 0.795 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3405, allocations: 0 / 0.795 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.739e-05/0.3406, allocations: 4 kB / 0.795 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3406, allocations: 4 kB / 0.795 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.3407, allocations: 12 kB / 0.795 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.3407, allocations: 3.938 kB / 0.795 GB, free: 1.918 MB / 0.6231 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 6.96e-05/0.3408, allocations: 110.5 kB / 0.7952 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.3408, allocations: 7.891 kB / 0.7952 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.3409, allocations: 124.9 kB / 0.7953 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.875e-05/0.341, allocations: 176.3 kB / 0.7954 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001083/0.3411, allocations: 188.2 kB / 0.7956 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-05/0.3412, allocations: 176.3 kB / 0.7958 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.3414, allocations: 409.2 kB / 0.7962 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/0.3415, allocations: 112.9 kB / 0.7963 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.3415, allocations: 101 kB / 0.7964 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.267e-05/0.3416, allocations: 184.2 kB / 0.7966 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.3417, allocations: 184.2 kB / 0.7967 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-05/0.3418, allocations: 176.3 kB / 0.7969 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-05/0.3419, allocations: 184.4 kB / 0.7971 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001733/0.342, allocations: 315.7 kB / 0.7974 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.822e-05/0.3421, allocations: 178.1 kB / 0.7976 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.583e-05/0.3422, allocations: 188.2 kB / 0.7977 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.3424, allocations: 112.9 kB / 0.7978 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.3424, allocations: 176.3 kB / 0.798 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.3425, allocations: 104.9 kB / 0.7981 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.071e-05/0.3425, allocations: 95.2 kB / 0.7982 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3426, allocations: 0 / 0.7982 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003254/0.3429, allocations: 59.73 kB / 0.7983 GB, free: 14.41 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 (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.0004034/0.3433, allocations: 261.7 kB / 0.7985 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.3434, allocations: 7.984 kB / 0.7985 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3434, allocations: 4 kB / 0.7985 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-06/0.3434, allocations: 0 / 0.7985 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.3438, allocations: 463.6 kB / 0.799 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/0.3442, allocations: 174.1 kB / 0.7991 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.3445, allocations: 0.6729 MB / 0.7998 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.969e-05/0.3445, allocations: 7.984 kB / 0.7998 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.3446, allocations: 11.38 kB / 0.7998 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.3446, allocations: 0 / 0.7998 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of Templates: time 0.003927/0.3485, allocations: 1.284 MB / 0.8011 GB, free: 11.48 MB / 0.6387 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)