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.001351/0.001351, allocations: 113 kB / 17.12 MB, free: 5.941 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.001471/0.001471, allocations: 208 kB / 20.09 MB, free: 2.992 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9994/0.9994, allocations: 150 MB / 459.5 MB, free: 5.672 MB / 350.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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [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.001974/0.001974, allocations: 67.22 kB / 0.6361 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1793, allocations: 89.14 MB / 0.7231 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.174/0.3533, allocations: 138.6 MB / 0.8585 GB, free: 8.883 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001694/0.3535, allocations: 59.78 kB / 0.8586 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.3535, allocations: 0 / 0.8586 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3536, allocations: 0 / 0.8586 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 8.074e-05/0.3537, allocations: 19.91 kB / 0.8586 GB, free: 8.805 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008427/0.3545, allocations: 235 kB / 0.8588 GB, free: 8.574 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.71e-05/0.3546, allocations: 35.84 kB / 0.8588 GB, free: 8.539 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.3547, allocations: 4 kB / 0.8589 GB, free: 8.535 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.3547, allocations: 15.98 kB / 0.8589 GB, free: 8.52 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/0.3548, allocations: 19.91 kB / 0.8589 GB, free: 8.5 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.988e-06/0.3548, allocations: 0 / 0.8589 GB, free: 8.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005411/0.3553, allocations: 255.4 kB / 0.8591 GB, free: 8.25 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.3554, allocations: 0 / 0.8591 GB, free: 8.25 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.3554, allocations: 23.91 kB / 0.8592 GB, free: 8.227 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.3558, allocations: 183.8 kB / 0.8593 GB, free: 8.047 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3558, allocations: 0 / 0.8593 GB, free: 8.047 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3558, allocations: 0 / 0.8593 GB, free: 8.047 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3558, allocations: 0 / 0.8593 GB, free: 8.047 MB / 0.67 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.0005077/0.3563, allocations: 367.1 kB / 0.8597 GB, free: 7.641 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3564, allocations: 12.03 kB / 0.8597 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.531e-05/0.3564, allocations: 30.75 kB / 0.8597 GB, free: 7.59 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.3564, allocations: 4.938 kB / 0.8597 GB, free: 7.586 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3566, allocations: 160.4 kB / 0.8599 GB, free: 7.391 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/0.3566, allocations: 38 kB / 0.8599 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.3566, allocations: 0 / 0.8599 GB, free: 7.348 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3568, allocations: 49.61 kB / 0.86 GB, free: 7.293 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3568, allocations: 0 / 0.86 GB, free: 7.293 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.3568, allocations: 4 kB / 0.86 GB, free: 7.289 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.3568, allocations: 0 / 0.86 GB, free: 7.289 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.3569, allocations: 15.98 kB / 0.86 GB, free: 7.273 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.3577, allocations: 0.595 MB / 0.8606 GB, free: 6.555 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 4.473e-05/0.3578, allocations: 22.52 kB / 0.8606 GB, free: 6.523 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.958e-05/0.3578, allocations: 12.84 kB / 0.8606 GB, free: 6.508 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002637/0.3581, allocations: 340.5 kB / 0.8609 GB, free: 6.102 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.3581, allocations: 34.56 kB / 0.861 GB, free: 6.059 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3581, allocations: 0 / 0.861 GB, free: 6.059 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.3582, allocations: 37.66 kB / 0.861 GB, free: 6.016 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.485e-05/0.3583, allocations: 55.39 kB / 0.861 GB, free: 5.949 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.3584, allocations: 97.86 kB / 0.8611 GB, free: 5.844 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3584, allocations: 29.64 kB / 0.8612 GB, free: 5.809 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.3584, allocations: 88.09 kB / 0.8612 GB, free: 5.719 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.995e-06/0.3584, allocations: 7.922 kB / 0.8613 GB, free: 5.711 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.3585, allocations: 25.78 kB / 0.8613 GB, free: 5.68 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3586, allocations: 314.8 kB / 0.8616 GB, free: 5.363 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.3586, allocations: 4 kB / 0.8616 GB, free: 5.359 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.3587, allocations: 21.7 kB / 0.8616 GB, free: 5.332 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.429e-05/0.3587, allocations: 13.72 kB / 0.8616 GB, free: 5.312 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3587, allocations: 3.938 kB / 0.8616 GB, free: 5.309 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.452e-05/0.3588, allocations: 57.62 kB / 0.8617 GB, free: 5.246 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3588, allocations: 5.562 kB / 0.8617 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3588, allocations: 0 / 0.8617 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.3588, allocations: 0 / 0.8617 GB, free: 5.242 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.476e-05/0.3589, allocations: 8 kB / 0.8617 GB, free: 5.234 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3589, allocations: 3.984 kB / 0.8617 GB, free: 5.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.3589, allocations: 7.891 kB / 0.8617 GB, free: 5.223 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.3589, allocations: 0 / 0.8617 GB, free: 5.223 MB / 0.67 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.368e-05/0.359, allocations: 121.9 kB / 0.8618 GB, free: 5.094 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.359, allocations: 0 / 0.8618 GB, free: 5.094 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.3591, allocations: 116.9 kB / 0.8619 GB, free: 4.969 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-05/0.3592, allocations: 184.2 kB / 0.8621 GB, free: 4.781 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.671e-05/0.3593, allocations: 184.2 kB / 0.8623 GB, free: 4.594 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.887e-05/0.3594, allocations: 184.2 kB / 0.8625 GB, free: 4.406 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3596, allocations: 413.2 kB / 0.8628 GB, free: 3.945 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.634e-05/0.3597, allocations: 101 kB / 0.8629 GB, free: 3.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.3597, allocations: 101 kB / 0.863 GB, free: 3.734 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.857e-05/0.3598, allocations: 180.2 kB / 0.8632 GB, free: 3.551 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.3599, allocations: 184.2 kB / 0.8634 GB, free: 3.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.581e-05/0.36, allocations: 184.2 kB / 0.8636 GB, free: 3.176 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.802e-05/0.3601, allocations: 176.5 kB / 0.8637 GB, free: 2.996 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.3602, allocations: 311.7 kB / 0.864 GB, free: 2.668 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.3603, allocations: 182.1 kB / 0.8642 GB, free: 2.465 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.535e-05/0.3604, allocations: 184.2 kB / 0.8644 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3606, allocations: 113 kB / 0.8645 GB, free: 2.16 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.3607, allocations: 180.2 kB / 0.8647 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/0.3607, allocations: 108.9 kB / 0.8648 GB, free: 1.863 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.637e-05/0.3608, allocations: 87.28 kB / 0.8648 GB, free: 1.777 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.3608, allocations: 3.938 kB / 0.8649 GB, free: 1.773 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003283/0.3611, allocations: 59.73 kB / 0.8649 GB, free: 1.715 MB / 0.67 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.000689/0.3618, allocations: 0.8865 MB / 0.8658 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 7.165e-05/0.3619, allocations: 15.94 kB / 0.8658 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3619, allocations: 0 / 0.8658 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.3619, allocations: 3.984 kB / 0.8658 GB, free: 0.7773 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3623, allocations: 459.6 kB / 0.8662 GB, free: 332 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3466/0.7089, allocations: 1.34 MB / 0.8675 GB, free: 146.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.709, allocations: 0.6741 MB / 0.8682 GB, free: 146 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.232e-05/0.7091, allocations: 5.672 kB / 0.8682 GB, free: 146 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.7091, allocations: 11.58 kB / 0.8682 GB, free: 146 MB / 0.67 GB Notification: Performance of SimCode: time 7.11e-07/0.7091, allocations: 0.5 kB / 0.8682 GB, free: 146 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.7374, allocations: 2.211 MB / 0.8704 GB, free: 145.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.91, allocations: 19.97 kB / 0.8704 GB, free: 145.6 MB / 0.67 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.913130528992042] Failed to read output from testmodel.py, exit status != 0: 8.989532811101526 9.004569927 8.645743347 Calling exit ...