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.001348/0.001348, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001508/0.001508, allocations: 211.4 kB / 22.99 MB, free: 4.605 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9963/0.9963, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 178] 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.002419/0.002419, allocations: 63.31 kB / 0.6411 GB, free: 10.18 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2148, allocations: 89.19 MB / 0.7281 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.7292/0.944, allocations: 119 MB / 0.8443 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.9443, allocations: 58.94 kB / 0.8444 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.9443, allocations: 0 / 0.8444 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.9444, allocations: 0 / 0.8444 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.9445, allocations: 14.53 kB / 0.8444 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.9454, allocations: 253.4 kB / 0.8446 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.092e-05/0.9455, allocations: 31.89 kB / 0.8447 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.9455, allocations: 6.547 kB / 0.8447 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.618e-05/0.9456, allocations: 16.23 kB / 0.8447 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.078e-05/0.9456, allocations: 15.14 kB / 0.8447 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.9457, allocations: 0 / 0.8447 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.946, allocations: 173.5 kB / 0.8449 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.9461, allocations: 10.17 kB / 0.8449 GB, free: 9.801 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.9461, allocations: 9.734 kB / 0.8449 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.9464, allocations: 164.4 kB / 0.845 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9464, allocations: 4 kB / 0.845 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9464, allocations: 0 / 0.845 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.9464, allocations: 0 / 0.845 GB, free: 9.723 MB / 0.6231 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.0004638/0.9469, allocations: 288.5 kB / 0.8453 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9469, allocations: 8.438 kB / 0.8453 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.947, allocations: 41.73 kB / 0.8454 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.947, allocations: 0.9375 kB / 0.8454 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.9471, allocations: 108.5 kB / 0.8455 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.383e-05/0.9472, allocations: 55.12 kB / 0.8455 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.9472, allocations: 3.938 kB / 0.8455 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.9474, allocations: 75.53 kB / 0.8456 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.9474, allocations: 6.031 kB / 0.8456 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.9474, allocations: 0 / 0.8456 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.9474, allocations: 3.938 kB / 0.8456 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.9475, allocations: 15.11 kB / 0.8456 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.9481, allocations: 276.8 kB / 0.8459 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.9482, allocations: 18.08 kB / 0.8459 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.9482, allocations: 4.859 kB / 0.8459 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.9483, allocations: 35.97 kB / 0.8459 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.9483, allocations: 37.16 kB / 0.846 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9483, allocations: 0 / 0.846 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.000149/0.9485, allocations: 35 kB / 0.846 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.9485, allocations: 58.05 kB / 0.8461 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.9486, allocations: 99.2 kB / 0.8462 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.9486, allocations: 25.7 kB / 0.8462 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.602e-05/0.9487, allocations: 87.97 kB / 0.8463 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.448e-06/0.9487, allocations: 7.984 kB / 0.8463 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.9487, allocations: 12.41 kB / 0.8463 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.9489, allocations: 321.6 kB / 0.8466 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.9489, allocations: 2.656 kB / 0.8466 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.077e-05/0.9489, allocations: 26.98 kB / 0.8466 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/0.949, allocations: 20.06 kB / 0.8466 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.949, allocations: 0 / 0.8466 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.483e-05/0.949, allocations: 50.89 kB / 0.8467 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.949, allocations: 4.906 kB / 0.8467 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9491, allocations: 3 kB / 0.8467 GB, free: 7.984 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.9491, allocations: 4.062 kB / 0.8467 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.324e-05/0.9491, allocations: 5.375 kB / 0.8467 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.9491, allocations: 2.062 kB / 0.8467 GB, free: 7.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.9491, allocations: 4 kB / 0.8467 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.9492, allocations: 6.75 kB / 0.8467 GB, free: 7.973 MB / 0.6231 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.04e-05/0.9492, allocations: 112.5 kB / 0.8468 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.9493, allocations: 0 / 0.8468 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.9494, allocations: 126.5 kB / 0.847 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.377e-05/0.9495, allocations: 176.3 kB / 0.8471 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.401e-05/0.9495, allocations: 195.1 kB / 0.8473 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-05/0.9496, allocations: 180.2 kB / 0.8475 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.9499, allocations: 381.9 kB / 0.8478 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/0.9499, allocations: 105.2 kB / 0.8479 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.862e-05/0.95, allocations: 103.7 kB / 0.848 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.59e-05/0.95, allocations: 180.2 kB / 0.8482 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.083e-05/0.9501, allocations: 183.6 kB / 0.8484 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-05/0.9502, allocations: 176.3 kB / 0.8486 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.018e-05/0.9503, allocations: 191.1 kB / 0.8487 GB, free: 5.801 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.9504, allocations: 308.5 kB / 0.849 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.503e-05/0.9505, allocations: 108.8 kB / 0.8491 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.559e-05/0.9506, allocations: 188.8 kB / 0.8493 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.9507, allocations: 107.7 kB / 0.8494 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.9508, allocations: 178.9 kB / 0.8496 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.9509, allocations: 105.7 kB / 0.8497 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.971e-05/0.9509, allocations: 95.17 kB / 0.8498 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.9509, allocations: 0 / 0.8498 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002869/0.9512, allocations: 46.62 kB / 0.8498 GB, free: 4.684 MB / 0.6231 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.0006263/0.9518, allocations: 0.8897 MB / 0.8507 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.414e-05/0.9519, allocations: 11.66 kB / 0.8507 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9519, allocations: 0 / 0.8507 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.9519, allocations: 0 / 0.8507 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.9524, allocations: 464.2 kB / 0.8512 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.9536, allocations: 1.357 MB / 0.8525 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.671e-05/0.9536, allocations: 61.25 kB / 0.8525 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.9536, allocations: 2.625 kB / 0.8525 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.9537, allocations: 9.969 kB / 0.8525 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.9537, allocations: 3.938 kB / 0.8526 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0351/0.9888, allocations: 2.762 MB / 0.8552 GB, free: 232 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/12.21, allocations: 9.844 kB / 0.8553 GB, free: 232 kB / 0.6231 GB " [Timeout remaining time 648] (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: 16.34545004600659] Failed to read output from testmodel.py, exit status != 0: 12.337402754928917 12.35320857 11.403332255 Calling exit ...