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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001448, allocations: 191.5 kB / 16.67 MB, free: 6.582 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8358/0.8358, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.64 kB / 0.5813 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1869, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1739/0.3609, allocations: 135.4 MB / 0.7919 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002249/0.3612, allocations: 51.73 kB / 0.792 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.3612, allocations: 0 / 0.792 GB, free: 5.477 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.3614, allocations: 3.938 kB / 0.792 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 9.937e-05/0.3615, allocations: 15.92 kB / 0.792 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.3627, allocations: 245.6 kB / 0.7922 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.3628, allocations: 39.78 kB / 0.7923 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.375e-05/0.3628, allocations: 0 / 0.7923 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 5.043e-05/0.3629, allocations: 15.98 kB / 0.7923 GB, free: 5.164 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.123e-05/0.363, allocations: 15.97 kB / 0.7923 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.363, allocations: 4 kB / 0.7923 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006487/0.3637, allocations: 239.4 kB / 0.7925 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 6.041e-05/0.3637, allocations: 11.92 kB / 0.7925 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.3638, allocations: 8 kB / 0.7925 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.3644, allocations: 199.5 kB / 0.7927 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3644, allocations: 0 / 0.7927 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3644, allocations: 0 / 0.7927 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3644, 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.0007072/0.3651, allocations: 363.1 kB / 0.7931 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3652, allocations: 12.03 kB / 0.7931 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.3653, allocations: 4.938 kB / 0.7931 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3655, allocations: 160.4 kB / 0.7932 GB, free: 4.082 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.3656, allocations: 30.27 kB / 0.7933 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.3656, allocations: 7.922 kB / 0.7933 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3658, allocations: 41.69 kB / 0.7933 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3658, allocations: 0 / 0.7933 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3658, allocations: 4 kB / 0.7933 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.513e-05/0.3659, allocations: 4 kB / 0.7933 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.075e-05/0.3659, allocations: 15.92 kB / 0.7933 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.367, allocations: 0.595 MB / 0.7939 GB, free: 3.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.367, allocations: 18.58 kB / 0.7939 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.3671, allocations: 4.859 kB / 0.7939 GB, free: 3.215 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/0.3674, allocations: 344.4 kB / 0.7943 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3674, allocations: 34.55 kB / 0.7943 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.3674, allocations: 0 / 0.7943 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001876/0.3676, allocations: 45.62 kB / 0.7943 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.3676, allocations: 51.41 kB / 0.7944 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.3678, allocations: 101.8 kB / 0.7945 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3678, allocations: 25.7 kB / 0.7945 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.3679, allocations: 88.25 kB / 0.7946 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.3679, allocations: 7.953 kB / 0.7946 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.3679, allocations: 17.72 kB / 0.7946 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3681, allocations: 318.7 kB / 0.7949 GB, free: 2.066 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.3681, allocations: 7.984 kB / 0.7949 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.3682, allocations: 13.72 kB / 0.795 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.654e-05/0.3682, allocations: 25.66 kB / 0.795 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3682, allocations: 0 / 0.795 GB, free: 2.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.576e-05/0.3683, allocations: 53.62 kB / 0.795 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3684, allocations: 4 kB / 0.795 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3684, allocations: 0 / 0.795 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3684, allocations: 0 / 0.795 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.383e-05/0.3684, allocations: 8 kB / 0.795 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3685, allocations: 3.984 kB / 0.795 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.121e-05/0.3685, allocations: 3.938 kB / 0.795 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3685, allocations: 4 kB / 0.795 GB, free: 1.926 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 9.741e-05/0.3686, allocations: 114.5 kB / 0.7952 GB, free: 1.805 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.3686, allocations: 7.953 kB / 0.7952 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.3688, allocations: 120.9 kB / 0.7953 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001025/0.3689, allocations: 176.3 kB / 0.7954 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.932e-05/0.369, allocations: 180.3 kB / 0.7956 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.601e-05/0.3691, allocations: 188.2 kB / 0.7958 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.3694, allocations: 405.2 kB / 0.7962 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.903e-05/0.3695, allocations: 112.9 kB / 0.7963 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.3695, allocations: 101 kB / 0.7964 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001012/0.3696, allocations: 184.2 kB / 0.7966 GB, free: 256 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.3698, allocations: 188.2 kB / 0.7967 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001141/0.3699, allocations: 176.3 kB / 0.7969 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-05/0.37, allocations: 180.4 kB / 0.7971 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3702, allocations: 315.7 kB / 0.7974 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3703, allocations: 182 kB / 0.7976 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.3705, allocations: 184.3 kB / 0.7977 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.3706, allocations: 112.9 kB / 0.7978 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.3707, allocations: 176.3 kB / 0.798 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.3708, allocations: 105 kB / 0.7981 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.3709, allocations: 87.2 kB / 0.7982 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3709, allocations: 3.938 kB / 0.7982 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004198/0.3713, allocations: 63.75 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.0004157/0.3717, allocations: 252.7 kB / 0.7985 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001037/0.3718, allocations: 16 kB / 0.7985 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3718, allocations: 3.938 kB / 0.7985 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.3718, allocations: 0 / 0.7985 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.3723, allocations: 459.7 kB / 0.799 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.3726, allocations: 174.1 kB / 0.7991 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.373, allocations: 0.6807 MB / 0.7998 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.527e-05/0.373, allocations: 4 kB / 0.7998 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.3731, allocations: 7.438 kB / 0.7998 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of SimCode: time 7.32e-07/0.3731, allocations: 4 kB / 0.7998 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of Templates: time 0.004536/0.3776, allocations: 1.288 MB / 0.8011 GB, free: 11.49 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480]