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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 105 kB / 20.45 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002442/0.002442, allocations: 217.3 kB / 23.76 MB, free: 4.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9619/0.9619, allocations: 150 MB / 463.9 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 72.16 kB / 0.6425 GB, free: 9.941 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1809, allocations: 89.16 MB / 0.7296 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.508/0.6888, allocations: 138.6 MB / 0.865 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001986/0.689, allocations: 60.09 kB / 0.865 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.877e-05/0.6891, allocations: 0 / 0.865 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.6892, allocations: 2.062 kB / 0.865 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.935e-05/0.6893, allocations: 13.7 kB / 0.865 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.6904, allocations: 250.1 kB / 0.8653 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.6905, allocations: 41.41 kB / 0.8653 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.6905, allocations: 10.45 kB / 0.8653 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.6906, allocations: 10.31 kB / 0.8653 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/0.6907, allocations: 17.25 kB / 0.8653 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.6907, allocations: 0 / 0.8653 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006073/0.6913, allocations: 256.9 kB / 0.8656 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.6914, allocations: 10.55 kB / 0.8656 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.6914, allocations: 8.688 kB / 0.8656 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004222/0.6918, allocations: 191.8 kB / 0.8658 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.6918, allocations: 0 / 0.8658 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6918, allocations: 2.906 kB / 0.8658 GB, free: 9.934 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.6918, allocations: 3.984 kB / 0.8658 GB, free: 9.93 MB / 0.6387 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.0004304/0.6923, allocations: 279.9 kB / 0.8661 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.6923, allocations: 10.06 kB / 0.8661 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.6923, allocations: 3.562 kB / 0.8661 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.6924, allocations: 104.4 kB / 0.8662 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.703e-05/0.6925, allocations: 60.14 kB / 0.8662 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.6925, allocations: 6.75 kB / 0.8662 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.6926, allocations: 45.19 kB / 0.8663 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.6927, allocations: 0 / 0.8663 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.6927, allocations: 8.297 kB / 0.8663 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.6927, allocations: 0 / 0.8663 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.6927, allocations: 17.86 kB / 0.8663 GB, free: 9.391 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.6934, allocations: 279.6 kB / 0.8666 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.6934, allocations: 18.52 kB / 0.8666 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.6934, allocations: 15.28 kB / 0.8666 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.6935, allocations: 26.8 kB / 0.8666 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.6935, allocations: 33.09 kB / 0.8667 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.6935, allocations: 0 / 0.8667 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.6937, allocations: 39.14 kB / 0.8667 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.6937, allocations: 61.94 kB / 0.8668 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.257e-05/0.6938, allocations: 95.05 kB / 0.8668 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.6938, allocations: 25.7 kB / 0.8669 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.6939, allocations: 94.83 kB / 0.867 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-06/0.6939, allocations: 0 / 0.867 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.6939, allocations: 15.75 kB / 0.867 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6941, allocations: 321.1 kB / 0.8673 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.6941, allocations: 10.98 kB / 0.8673 GB, free: 8.344 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.627e-05/0.6941, allocations: 14.03 kB / 0.8673 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.6942, allocations: 21.38 kB / 0.8673 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6942, allocations: 0 / 0.8673 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.367e-05/0.6942, allocations: 49.94 kB / 0.8674 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6943, allocations: 7.656 kB / 0.8674 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6943, allocations: 4.062 kB / 0.8674 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.6943, allocations: 2.469 kB / 0.8674 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.551e-05/0.6943, allocations: 5.906 kB / 0.8674 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.6943, allocations: 3.984 kB / 0.8674 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.6944, allocations: 3.953 kB / 0.8674 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.6944, allocations: 2.719 kB / 0.8674 GB, free: 8.254 MB / 0.6387 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.369e-05/0.6944, allocations: 111.9 kB / 0.8675 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.6945, allocations: 2.25 kB / 0.8675 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.6946, allocations: 129.9 kB / 0.8676 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.706e-05/0.6947, allocations: 176.3 kB / 0.8678 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.453e-05/0.6948, allocations: 184.3 kB / 0.868 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-05/0.6949, allocations: 179 kB / 0.8682 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.6951, allocations: 382.3 kB / 0.8685 GB, free: 7.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.983e-05/0.6952, allocations: 110.4 kB / 0.8686 GB, free: 6.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.6952, allocations: 101 kB / 0.8687 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.499e-05/0.6953, allocations: 184.2 kB / 0.8689 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.649e-05/0.6954, allocations: 186.1 kB / 0.8691 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-05/0.6955, allocations: 180.2 kB / 0.8692 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.383e-05/0.6956, allocations: 183.1 kB / 0.8694 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.6957, allocations: 314.6 kB / 0.8697 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.6958, allocations: 103.4 kB / 0.8698 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6959, allocations: 182.7 kB / 0.87 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.6961, allocations: 110.8 kB / 0.8701 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.224e-05/0.6961, allocations: 180.3 kB / 0.8703 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.6962, allocations: 107.8 kB / 0.8704 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.6962, allocations: 82.09 kB / 0.8705 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.6962, allocations: 2.125 kB / 0.8705 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003312/0.6966, allocations: 63.42 kB / 0.8705 GB, free: 4.953 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.0003469/0.6969, allocations: 260.5 kB / 0.8708 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.697, allocations: 4.438 kB / 0.8708 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.697, allocations: 3.031 kB / 0.8708 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.697, allocations: 3.938 kB / 0.8708 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.6975, allocations: 465 kB / 0.8712 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.6978, allocations: 209.9 kB / 0.8714 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.6981, allocations: 0.6776 MB / 0.8721 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.6981, allocations: 7.438 kB / 0.8721 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of SimCode: time 3.2e-07/0.6981, allocations: 2.812 kB / 0.8721 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of Templates: time 0.003/0.7011, allocations: 1.23 MB / 0.8733 GB, free: 2.738 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.900778523879126] Failed to read output from testmodel.py, exit status != 0: 0.7099383771419525 0.7248013489999999 0.0296217 Calling exit ...