Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4629/0.4629, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 348.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009364/0.0009365, allocations: 100.4 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.362e-05, allocations: 0 / 0.4896 GB, free: 5.383 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3994, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.582, allocations: 408.2 MB / 0.9588 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.583, allocations: 71.06 kB / 0.9589 GB, free: 140.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04374/1.626, allocations: 23.43 MB / 0.9818 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.766e-06/1.626, allocations: 3.422 kB / 0.9818 GB, free: 136.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.626, allocations: 0 / 0.9818 GB, free: 136.8 MB / 0.6042 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.0003644/1.627, allocations: 356.4 kB / 0.9821 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/1.627, allocations: 11.83 kB / 0.9821 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/1.627, allocations: 7.844 kB / 0.9821 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/1.627, allocations: 162.6 kB / 0.9823 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/1.627, allocations: 25.7 kB / 0.9823 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/1.627, allocations: 3.906 kB / 0.9823 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/1.627, allocations: 48.12 kB / 0.9824 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.627, allocations: 1.125 kB / 0.9824 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/1.627, allocations: 0 / 0.9824 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/1.627, allocations: 4 kB / 0.9824 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.441e-05/1.627, allocations: 14.38 kB / 0.9824 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/1.628, allocations: 0.5917 MB / 0.983 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.414e-05/1.628, allocations: 22.47 kB / 0.983 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/1.628, allocations: 8.766 kB / 0.983 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/1.628, allocations: 0.5003 MB / 0.9835 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.628, allocations: 34.5 kB / 0.9835 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.628, allocations: 2.062 kB / 0.9835 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001247/1.628, allocations: 40.08 kB / 0.9836 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.419e-05/1.628, allocations: 51.41 kB / 0.9836 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/1.628, allocations: 95.95 kB / 0.9837 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/1.628, allocations: 29.73 kB / 0.9837 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.079e-05/1.629, allocations: 93.11 kB / 0.9838 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/1.629, allocations: 3.906 kB / 0.9838 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/1.629, allocations: 0 / 0.9838 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/1.629, allocations: 317.1 kB / 0.9841 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.438e-05/1.629, allocations: 7.844 kB / 0.9841 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/1.629, allocations: 16.44 kB / 0.9841 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.889e-05/1.629, allocations: 7.906 kB / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.629, allocations: 0 / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.408e-05/1.629, allocations: 52.55 kB / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.629, allocations: 7.812 kB / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/1.629, allocations: 0 / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.629, allocations: 0 / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/1.629, allocations: 7.75 kB / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.629, allocations: 3.906 kB / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/1.629, allocations: 0 / 0.9842 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/1.629, allocations: 4.062 kB / 0.9842 GB, free: 134.2 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/1.629, allocations: 104.9 kB / 0.9843 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/1.629, allocations: 10.52 kB / 0.9843 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/1.629, allocations: 120.7 kB / 0.9845 GB, free: 134 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/1.629, allocations: 179 kB / 0.9846 GB, free: 133.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.137e-05/1.629, allocations: 176.3 kB / 0.9848 GB, free: 133.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.038e-05/1.629, allocations: 192.1 kB / 0.985 GB, free: 133.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/1.629, allocations: 400.5 kB / 0.9854 GB, free: 133 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.629, allocations: 108.8 kB / 0.9855 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/1.629, allocations: 104.9 kB / 0.9856 GB, free: 132.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.073e-05/1.629, allocations: 176.3 kB / 0.9857 GB, free: 132.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/1.63, allocations: 191.3 kB / 0.9859 GB, free: 132.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-05/1.63, allocations: 180.2 kB / 0.9861 GB, free: 132.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.197e-05/1.63, allocations: 184.3 kB / 0.9863 GB, free: 132 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.417e-05/1.63, allocations: 306.4 kB / 0.9866 GB, free: 131.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/1.63, allocations: 190 kB / 0.9867 GB, free: 131.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/1.63, allocations: 187.5 kB / 0.9869 GB, free: 131.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/1.63, allocations: 112.8 kB / 0.987 GB, free: 131.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/1.63, allocations: 176.3 kB / 0.9872 GB, free: 131 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/1.63, allocations: 101 kB / 0.9873 GB, free: 130.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.359e-05/1.63, allocations: 90.56 kB / 0.9874 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.162e-06/1.63, allocations: 4 kB / 0.9874 GB, free: 130.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003792/1.63, allocations: 82.77 kB / 0.9875 GB, free: 130.8 MB / 0.6042 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 () * 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 (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.0006289/1.631, allocations: 0.6512 MB / 0.9881 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.496e-05/1.631, allocations: 7.844 kB / 0.9881 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.631, allocations: 0 / 0.9881 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/1.631, allocations: 0 / 0.9881 GB, free: 130.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/1.631, allocations: 0.5327 MB / 0.9886 GB, free: 129.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001589/1.632, allocations: 116.2 kB / 0.9887 GB, free: 129.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/1.632, allocations: 0.6835 MB / 0.9894 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.066e-05/1.632, allocations: 11.78 kB / 0.9894 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/1.632, allocations: 7.438 kB / 0.9894 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/1.632, allocations: 0 / 0.9894 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.01034/1.642, allocations: 8.771 MB / 0.998 GB, free: 128.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)