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.006614/0.006614, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001353/0.001353, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8945/0.8945, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 64.38 kB / 0.5813 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1556, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5719/0.7275, allocations: 135.4 MB / 0.7919 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001812/0.7278, allocations: 52.73 kB / 0.7919 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.7278, allocations: 4 kB / 0.792 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.7279, allocations: 1.719 kB / 0.792 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.7281, allocations: 14.58 kB / 0.792 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009561/0.729, allocations: 246.5 kB / 0.7922 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.305e-05/0.7292, allocations: 35.5 kB / 0.7922 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.7292, allocations: 3.062 kB / 0.7922 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.7292, allocations: 15.98 kB / 0.7923 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.493e-05/0.7293, allocations: 18.84 kB / 0.7923 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.7294, allocations: 0.9688 kB / 0.7923 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004837/0.7299, allocations: 244.3 kB / 0.7925 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.7299, allocations: 8.297 kB / 0.7925 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.73, allocations: 10.34 kB / 0.7925 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00038/0.7303, allocations: 194 kB / 0.7927 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7304, allocations: 0 / 0.7927 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7304, allocations: 4 kB / 0.7927 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.7304, allocations: 0.875 kB / 0.7927 GB, free: 13.19 MB / 0.5919 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.000495/0.7309, allocations: 360 kB / 0.7931 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.7309, allocations: 9.656 kB / 0.7931 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.731, allocations: 2.031 kB / 0.7931 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7311, allocations: 165.4 kB / 0.7932 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.235e-05/0.7312, allocations: 35.22 kB / 0.7933 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.7312, allocations: 3.938 kB / 0.7933 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.7313, allocations: 51.05 kB / 0.7933 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.7314, allocations: 1.25 kB / 0.7933 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7314, allocations: 0 / 0.7933 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.7314, allocations: 1.094 kB / 0.7933 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.7315, allocations: 14.02 kB / 0.7933 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/0.7323, allocations: 0.5975 MB / 0.7939 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.275e-05/0.7323, allocations: 28.83 kB / 0.7939 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.7323, allocations: 4.859 kB / 0.7939 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.7326, allocations: 333.1 kB / 0.7943 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.7326, allocations: 38.16 kB / 0.7943 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.7326, allocations: 5.25 kB / 0.7943 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.7328, allocations: 35.7 kB / 0.7943 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.7328, allocations: 59.47 kB / 0.7944 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.7329, allocations: 103.6 kB / 0.7945 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7329, allocations: 27.23 kB / 0.7945 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.733, allocations: 85.36 kB / 0.7946 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.733, allocations: 3.938 kB / 0.7946 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.733, allocations: 23.2 kB / 0.7946 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7332, allocations: 316.1 kB / 0.7949 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.7332, allocations: 4.844 kB / 0.7949 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.717e-05/0.7332, allocations: 21.16 kB / 0.795 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.7333, allocations: 21.33 kB / 0.795 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7333, allocations: 0 / 0.795 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.65e-05/0.7334, allocations: 48.23 kB / 0.795 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7334, allocations: 9.125 kB / 0.795 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.7334, allocations: 0 / 0.795 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7334, allocations: 1.938 kB / 0.795 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.7335, allocations: 9.531 kB / 0.795 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.7335, allocations: 0 / 0.795 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.7335, allocations: 1.125 kB / 0.795 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.7335, allocations: 2.312 kB / 0.795 GB, free: 10.72 MB / 0.5919 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 7.91e-05/0.7336, allocations: 119 kB / 0.7952 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.7336, allocations: 1.812 kB / 0.7952 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.7337, allocations: 117.6 kB / 0.7953 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.398e-05/0.7338, allocations: 184.2 kB / 0.7954 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.237e-05/0.7339, allocations: 188 kB / 0.7956 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.448e-05/0.7339, allocations: 177.5 kB / 0.7958 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.7342, allocations: 410.9 kB / 0.7962 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-05/0.7342, allocations: 102.2 kB / 0.7963 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.111e-05/0.7343, allocations: 113.5 kB / 0.7964 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.135e-05/0.7343, allocations: 179.8 kB / 0.7966 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/0.7344, allocations: 181.2 kB / 0.7967 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.494e-05/0.7345, allocations: 181.5 kB / 0.7969 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.171e-05/0.7345, allocations: 177.3 kB / 0.7971 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.7347, allocations: 319.6 kB / 0.7974 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.7347, allocations: 183.2 kB / 0.7976 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.944e-05/0.7348, allocations: 188.7 kB / 0.7977 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.735, allocations: 106.7 kB / 0.7978 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.7351, allocations: 183.3 kB / 0.798 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.7351, allocations: 106.6 kB / 0.7981 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.604e-05/0.7351, allocations: 85.59 kB / 0.7982 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7352, allocations: 0 / 0.7982 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003236/0.7355, allocations: 59.64 kB / 0.7983 GB, free: 7.336 MB / 0.5919 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.0003357/0.7358, allocations: 252.5 kB / 0.7985 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.324e-05/0.7359, allocations: 11.19 kB / 0.7985 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7359, allocations: 3.938 kB / 0.7985 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.7359, allocations: 3.312 kB / 0.7985 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.7364, allocations: 462.3 kB / 0.799 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002935/0.7367, allocations: 173.3 kB / 0.7991 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.7369, allocations: 0.6753 MB / 0.7998 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.737, allocations: 4.25 kB / 0.7998 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.737, allocations: 9.719 kB / 0.7998 GB, free: 5.824 MB / 0.5919 GB Notification: Performance of SimCode: time 3.71e-07/0.737, allocations: 4 kB / 0.7998 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of Templates: time 0.004336/0.7414, allocations: 1.293 MB / 0.8011 GB, free: 5.648 MB / 0.5919 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)