Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001301/0.001301, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00147/0.00147, allocations: 219.7 kB / 22.26 MB, free: 5.121 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002602/0.002602, allocations: 286.1 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.303/1.303, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002989/0.002989, allocations: 108.7 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1803, allocations: 95.38 MB / 0.8327 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1724/0.3527, allocations: 138.7 MB / 0.9681 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000184/0.3529, allocations: 63.78 kB / 0.9682 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.3529, allocations: 0 / 0.9682 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001012/0.353, allocations: 4 kB / 0.9682 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.3531, allocations: 11.91 kB / 0.9682 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008652/0.3539, allocations: 252.1 kB / 0.9684 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.883e-05/0.354, allocations: 35.78 kB / 0.9685 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.3541, allocations: 0 / 0.9685 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.3541, allocations: 19.98 kB / 0.9685 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.3542, allocations: 15.97 kB / 0.9685 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3542, allocations: 4 kB / 0.9685 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.3547, allocations: 259.4 kB / 0.9688 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.3547, allocations: 7.938 kB / 0.9688 GB, free: 12.81 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.3548, allocations: 7.984 kB / 0.9688 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003481/0.3551, allocations: 187.8 kB / 0.969 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3551, allocations: 0 / 0.969 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3551, allocations: 0 / 0.969 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3551, allocations: 0 / 0.969 GB, free: 12.62 MB / 0.7169 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.0004641/0.3556, allocations: 290.1 kB / 0.9692 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3556, allocations: 13.34 kB / 0.9692 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.3557, allocations: 30.75 kB / 0.9693 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.3557, allocations: 0.9375 kB / 0.9693 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.3558, allocations: 106.5 kB / 0.9694 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.3559, allocations: 55.72 kB / 0.9694 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.3559, allocations: 4 kB / 0.9694 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.356, allocations: 53.55 kB / 0.9695 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.356, allocations: 0 / 0.9695 GB, free: 12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3561, allocations: 7.984 kB / 0.9695 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.3561, allocations: 0 / 0.9695 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.67e-05/0.3561, allocations: 15.98 kB / 0.9695 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/0.3568, allocations: 275.8 kB / 0.9698 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.3568, allocations: 18.58 kB / 0.9698 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.3568, allocations: 8.859 kB / 0.9698 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.534e-05/0.3569, allocations: 35.97 kB / 0.9698 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.357, allocations: 34.56 kB / 0.9699 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.357, allocations: 0 / 0.9699 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/0.3571, allocations: 37.67 kB / 0.9699 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.3572, allocations: 51.41 kB / 0.97 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.3573, allocations: 101.9 kB / 0.97 GB, free: 11.33 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3573, allocations: 25.83 kB / 0.9701 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.3573, allocations: 92.08 kB / 0.9702 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.3573, allocations: 11.89 kB / 0.9702 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.3574, allocations: 13.72 kB / 0.9702 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3575, allocations: 318.8 kB / 0.9705 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.3575, allocations: 4 kB / 0.9705 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.3576, allocations: 21.64 kB / 0.9705 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.3576, allocations: 25.72 kB / 0.9705 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3576, allocations: 0 / 0.9705 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.033e-05/0.3577, allocations: 45.62 kB / 0.9706 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3577, allocations: 10.03 kB / 0.9706 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3577, allocations: 0 / 0.9706 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3577, allocations: 0 / 0.9706 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.3578, allocations: 4 kB / 0.9706 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3578, allocations: 0 / 0.9706 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.3578, allocations: 20 kB / 0.9706 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.3578, allocations: 3.984 kB / 0.9706 GB, free: 10.7 MB / 0.7169 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.881e-05/0.3579, allocations: 110.5 kB / 0.9707 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.3579, allocations: 0 / 0.9707 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001269/0.3581, allocations: 120.9 kB / 0.9708 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.773e-05/0.3581, allocations: 180.2 kB / 0.971 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-05/0.3582, allocations: 184.2 kB / 0.9712 GB, free: 10.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.691e-05/0.3583, allocations: 180.2 kB / 0.9714 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.3586, allocations: 376.3 kB / 0.9717 GB, free: 9.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/0.3586, allocations: 112.9 kB / 0.9718 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.3587, allocations: 105 kB / 0.9719 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.762e-05/0.3587, allocations: 180.2 kB / 0.9721 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/0.3588, allocations: 184.2 kB / 0.9723 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.77e-05/0.3589, allocations: 184.2 kB / 0.9724 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.838e-05/0.359, allocations: 184.4 kB / 0.9726 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.3592, allocations: 311.7 kB / 0.9729 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.352e-05/0.3592, allocations: 113 kB / 0.973 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.3593, allocations: 180.3 kB / 0.9732 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3595, allocations: 104.9 kB / 0.9733 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.3595, allocations: 184.2 kB / 0.9735 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.3596, allocations: 108.9 kB / 0.9736 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.3596, allocations: 83.28 kB / 0.9737 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3596, allocations: 4 kB / 0.9737 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000353/0.36, allocations: 55.73 kB / 0.9737 GB, free: 7.336 MB / 0.7169 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.0006531/0.3606, allocations: 0.8788 MB / 0.9746 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.899e-05/0.3607, allocations: 11.94 kB / 0.9746 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3607, allocations: 0 / 0.9746 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/0.3607, allocations: 3.984 kB / 0.9746 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.3612, allocations: 471.9 kB / 0.975 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3624, allocations: 1.34 MB / 0.9763 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3627, allocations: 0.6767 MB / 0.977 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.3628, allocations: 16.3 kB / 0.977 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3628, allocations: 15.42 kB / 0.977 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.3628, allocations: 0 / 0.977 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.3965, allocations: 2.33 MB / 0.9793 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.01, allocations: 4.625 kB / 0.9793 GB, free: 1.594 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.70763459400041] Failed to read output from testmodel.py, exit status != 0: 11.50051085299856 11.51425421 11.156464408 Calling exit ...