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.001488/0.001488, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001502/0.001502, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.566/1.566, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.9853/0.9853, allocations: 150 MB / 460.2 MB, free: 5.238 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="cs",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.002025/0.002025, allocations: 67.19 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1915, allocations: 89.14 MB / 0.7238 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1748/0.3663, allocations: 138.6 MB / 0.8592 GB, free: 8.871 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.3665, allocations: 59.78 kB / 0.8593 GB, free: 8.812 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.024e-05/0.3665, allocations: 0 / 0.8593 GB, free: 8.812 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.3667, allocations: 4 kB / 0.8593 GB, free: 8.809 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.3668, allocations: 19.91 kB / 0.8593 GB, free: 8.789 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.368, allocations: 231.2 kB / 0.8595 GB, free: 8.566 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3681, allocations: 39.84 kB / 0.8595 GB, free: 8.527 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.3682, allocations: 4 kB / 0.8595 GB, free: 8.523 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.225e-05/0.3682, allocations: 19.98 kB / 0.8596 GB, free: 8.504 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3684, allocations: 15.91 kB / 0.8596 GB, free: 8.488 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.3684, allocations: 0 / 0.8596 GB, free: 8.488 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.369, allocations: 251.4 kB / 0.8598 GB, free: 8.242 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.233e-05/0.369, allocations: 4 kB / 0.8598 GB, free: 8.238 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.3691, allocations: 15.92 kB / 0.8598 GB, free: 8.223 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0004324/0.3695, allocations: 187.8 kB / 0.86 GB, free: 8.039 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3695, allocations: 4 kB / 0.86 GB, free: 8.035 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3695, allocations: 0 / 0.86 GB, free: 8.035 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.3695, allocations: 4 kB / 0.86 GB, free: 8.031 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.0006157/0.3701, allocations: 367.1 kB / 0.8604 GB, free: 7.625 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3702, allocations: 8.031 kB / 0.8604 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.484e-05/0.3702, allocations: 192 / 0.8604 GB, free: 7.617 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.3702, allocations: 34.75 kB / 0.8604 GB, free: 7.574 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3703, allocations: 0.9375 kB / 0.8604 GB, free: 7.574 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.3704, allocations: 164.4 kB / 0.8606 GB, free: 7.375 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.3705, allocations: 33.83 kB / 0.8606 GB, free: 7.336 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.3705, allocations: 4 kB / 0.8606 GB, free: 7.332 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3707, allocations: 49.61 kB / 0.8607 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3707, allocations: 0 / 0.8607 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3707, allocations: 0 / 0.8607 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.3707, allocations: 7.984 kB / 0.8607 GB, free: 7.27 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.3708, allocations: 19.92 kB / 0.8607 GB, free: 7.25 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.3718, allocations: 0.595 MB / 0.8613 GB, free: 6.531 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.3718, allocations: 18.58 kB / 0.8613 GB, free: 6.504 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.3719, allocations: 8.797 kB / 0.8613 GB, free: 6.492 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.3721, allocations: 336.5 kB / 0.8616 GB, free: 6.09 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3722, allocations: 38.56 kB / 0.8616 GB, free: 6.043 MB / 0.67 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.3722, allocations: 0 / 0.8616 GB, free: 6.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=1): time 0.0002051/0.3724, allocations: 37.73 kB / 0.8617 GB, free: 6 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3724, allocations: 55.44 kB / 0.8617 GB, free: 5.934 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.3725, allocations: 105.8 kB / 0.8618 GB, free: 5.82 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.3726, allocations: 25.7 kB / 0.8619 GB, free: 5.789 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.3726, allocations: 88.08 kB / 0.8619 GB, free: 5.699 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 1.291e-05/0.3726, allocations: 7.938 kB / 0.862 GB, free: 5.691 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/0.3727, allocations: 17.72 kB / 0.862 GB, free: 5.668 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3728, allocations: 310.8 kB / 0.8623 GB, free: 5.355 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.073e-05/0.3728, allocations: 11.92 kB / 0.8623 GB, free: 5.344 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.3729, allocations: 17.72 kB / 0.8623 GB, free: 5.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.3729, allocations: 21.66 kB / 0.8623 GB, free: 5.293 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3729, allocations: 0 / 0.8623 GB, free: 5.293 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.37e-05/0.373, allocations: 49.62 kB / 0.8624 GB, free: 5.238 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.373, allocations: 9.562 kB / 0.8624 GB, free: 5.23 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.373, allocations: 4.062 kB / 0.8624 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.373, allocations: 0 / 0.8624 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.872e-05/0.3731, allocations: 4 kB / 0.8624 GB, free: 5.223 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3731, allocations: 3.984 kB / 0.8624 GB, free: 5.219 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.3731, allocations: 11.89 kB / 0.8624 GB, free: 5.207 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.3731, allocations: 4 kB / 0.8624 GB, free: 5.203 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.102e-05/0.3732, allocations: 109.8 kB / 0.8625 GB, free: 5.086 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3732, allocations: 0 / 0.8625 GB, free: 5.086 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.3734, allocations: 124.9 kB / 0.8626 GB, free: 4.953 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.663e-05/0.3734, allocations: 180.3 kB / 0.8628 GB, free: 4.77 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.891e-05/0.3735, allocations: 180.2 kB / 0.863 GB, free: 4.586 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-05/0.3736, allocations: 188.2 kB / 0.8631 GB, free: 4.395 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.3739, allocations: 405.2 kB / 0.8635 GB, free: 3.941 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-05/0.3739, allocations: 109 kB / 0.8636 GB, free: 3.828 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.374, allocations: 101 kB / 0.8637 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-05/0.374, allocations: 184.2 kB / 0.8639 GB, free: 3.535 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.3741, allocations: 180.2 kB / 0.8641 GB, free: 3.352 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.078e-05/0.3742, allocations: 184.4 kB / 0.8643 GB, free: 3.164 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.765e-05/0.3743, allocations: 176.3 kB / 0.8644 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.3745, allocations: 319.7 kB / 0.8647 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.3746, allocations: 178.1 kB / 0.8649 GB, free: 2.449 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3747, allocations: 188.2 kB / 0.8651 GB, free: 2.258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001615/0.3749, allocations: 105 kB / 0.8652 GB, free: 2.148 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.3749, allocations: 188.2 kB / 0.8654 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.375, allocations: 104.9 kB / 0.8655 GB, free: 1.848 MB / 0.67 GB Notification: Performance of sorting global known variables: time 5.777e-05/0.3751, allocations: 87.28 kB / 0.8655 GB, free: 1.762 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.3751, allocations: 0 / 0.8655 GB, free: 1.762 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003831/0.3754, allocations: 55.73 kB / 0.8656 GB, free: 1.707 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.0008308/0.3763, allocations: 0.8907 MB / 0.8665 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.3764, allocations: 19.92 kB / 0.8665 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3764, allocations: 128 / 0.8665 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3764, allocations: 4 kB / 0.8665 GB, free: 0.7617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.3769, allocations: 459.6 kB / 0.8669 GB, free: 316 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3545/0.7314, allocations: 1.337 MB / 0.8682 GB, free: 146.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.7315, allocations: 0.6776 MB / 0.8689 GB, free: 146 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 5.833e-05/0.7316, allocations: 6.516 kB / 0.8689 GB, free: 146 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.7316, allocations: 8.766 kB / 0.8689 GB, free: 146 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/0.7316, allocations: 0 / 0.8689 GB, free: 146 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.7515, allocations: 2.251 MB / 0.8711 GB, free: 145.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.359/9.111, allocations: 16.28 kB / 0.8711 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 13.204563193023205] Failed to read output from testmodel.py, exit status != 0: 9.236515179974958 9.251998301 8.879352506 Calling exit ...