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.001404/0.001404, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001624/0.001624, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.789 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.002719/0.002719, allocations: 283.3 kB / 312.7 MB, free: 2.621 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.242/1.242, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 179] 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.00282/0.00282, allocations: 99.62 kB / 0.7395 GB, free: 28.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1657, allocations: 95.39 MB / 0.8326 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1512/0.317, allocations: 119 MB / 0.9488 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.3172, allocations: 51.86 kB / 0.9489 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.3172, allocations: 0 / 0.9489 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3173, allocations: 3.938 kB / 0.9489 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.451e-05/0.3174, allocations: 19.91 kB / 0.9489 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009262/0.3183, allocations: 243 kB / 0.9491 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 8.965e-05/0.3184, allocations: 27.92 kB / 0.9492 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.3184, allocations: 7.938 kB / 0.9492 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.3185, allocations: 15.97 kB / 0.9492 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 8.036e-05/0.3186, allocations: 15.94 kB / 0.9492 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3186, allocations: 0 / 0.9492 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.319, allocations: 179.5 kB / 0.9494 GB, free: 336 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.3191, allocations: 7.984 kB / 0.9494 GB, free: 328 kB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.3191, allocations: 15.92 kB / 0.9494 GB, free: 312 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0004766/0.3196, allocations: 167.8 kB / 0.9496 GB, free: 144 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3196, allocations: 0 / 0.9496 GB, free: 144 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3196, allocations: 0 / 0.9496 GB, free: 144 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.3196, allocations: 0 / 0.9496 GB, free: 144 kB / 0.6856 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.0005373/0.3202, allocations: 282 kB / 0.9498 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.3202, allocations: 13.34 kB / 0.9498 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.3203, allocations: 34.75 kB / 0.9499 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3203, allocations: 0.9375 kB / 0.9499 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3204, allocations: 114.5 kB / 0.95 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.205e-05/0.3205, allocations: 55.72 kB / 0.95 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.3205, allocations: 0 / 0.95 GB, free: 15.58 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.3207, allocations: 67.39 kB / 0.9501 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3207, allocations: 0 / 0.9501 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3207, allocations: 0 / 0.9501 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.3207, allocations: 0 / 0.9501 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.3208, allocations: 19.92 kB / 0.9501 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.3216, allocations: 287.9 kB / 0.9504 GB, free: 15.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.3216, allocations: 14.58 kB / 0.9504 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.3217, allocations: 4.859 kB / 0.9504 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.3217, allocations: 32.03 kB / 0.9504 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3218, allocations: 34.56 kB / 0.9505 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3218, allocations: 0 / 0.9505 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001726/0.3219, allocations: 41.62 kB / 0.9505 GB, free: 15 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.322, allocations: 51.53 kB / 0.9506 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3221, allocations: 101.9 kB / 0.9507 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3221, allocations: 25.7 kB / 0.9507 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.3222, allocations: 96.02 kB / 0.9508 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.3222, allocations: 7.891 kB / 0.9508 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3222, allocations: 17.72 kB / 0.9508 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3224, allocations: 314.8 kB / 0.9511 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.3224, allocations: 4 kB / 0.9511 GB, free: 14.35 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.3224, allocations: 21.7 kB / 0.9511 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.3225, allocations: 25.66 kB / 0.9512 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3225, allocations: 0 / 0.9512 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.856e-05/0.3226, allocations: 49.62 kB / 0.9512 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3226, allocations: 4 kB / 0.9512 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3226, allocations: 4 kB / 0.9512 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3226, allocations: 3.938 kB / 0.9512 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.3226, allocations: 4 kB / 0.9512 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.3227, allocations: 4 kB / 0.9512 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.3227, allocations: 7.938 kB / 0.9512 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.3227, allocations: 3.984 kB / 0.9512 GB, free: 14.21 MB / 0.7012 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 9.483e-05/0.3228, allocations: 118.6 kB / 0.9513 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.3228, allocations: 288 / 0.9513 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.3229, allocations: 116.9 kB / 0.9515 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.251e-05/0.323, allocations: 184.2 kB / 0.9516 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-05/0.3231, allocations: 176.3 kB / 0.9518 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001052/0.3232, allocations: 192.1 kB / 0.952 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.3235, allocations: 376.2 kB / 0.9523 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-05/0.3235, allocations: 104.9 kB / 0.9524 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.3236, allocations: 109 kB / 0.9525 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-05/0.3237, allocations: 184.3 kB / 0.9527 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.448e-05/0.3237, allocations: 180.2 kB / 0.9529 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.807e-05/0.3238, allocations: 180.4 kB / 0.9531 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.903e-05/0.3239, allocations: 184.2 kB / 0.9532 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.3241, allocations: 307.8 kB / 0.9535 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.3241, allocations: 108.9 kB / 0.9536 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.867e-05/0.3242, allocations: 180.2 kB / 0.9538 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3244, allocations: 108.9 kB / 0.9539 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.376e-05/0.3245, allocations: 180.3 kB / 0.9541 GB, free: 11.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.3245, allocations: 112.9 kB / 0.9542 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.3246, allocations: 83.22 kB / 0.9543 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 4 kB / 0.9543 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003203/0.3249, allocations: 59.73 kB / 0.9543 GB, free: 10.84 MB / 0.7012 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.0006697/0.3256, allocations: 0.871 MB / 0.9552 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.3256, allocations: 19.94 kB / 0.9552 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3256, allocations: 3.938 kB / 0.9552 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.3256, allocations: 3.938 kB / 0.9552 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.3261, allocations: 467.8 kB / 0.9557 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3274, allocations: 1.344 MB / 0.957 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.179e-05/0.3274, allocations: 59.34 kB / 0.957 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.649e-05/0.3275, allocations: 12.06 kB / 0.957 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.3275, allocations: 11.44 kB / 0.9571 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of SimCode: time 7.21e-07/0.3275, allocations: 0 / 0.9571 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3584, allocations: 2.785 MB / 0.9598 GB, free: 5.27 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.93, allocations: 3.938 kB / 0.9598 GB, free: 5.266 MB / 0.7012 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.133059405256063] Failed to read output from testmodel.py, exit status != 0: 11.031948807183653 11.062618686 10.737453122 Calling exit ...