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.00153/0.00153, allocations: 106.7 kB / 16.45 MB, free: 6.449 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.001405/0.001405, allocations: 212 kB / 19.43 MB, free: 3.637 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.414/1.414, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002443/0.002443, allocations: 283.5 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 180.9 MB / 0.5333 GB, free: 13.82 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002821/0.002821, allocations: 107.1 kB / 0.7342 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1499, allocations: 95.35 MB / 0.8273 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1583/0.3082, allocations: 138.6 MB / 0.9627 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000163/0.3083, allocations: 63.78 kB / 0.9628 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.3084, allocations: 0 / 0.9628 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.3085, allocations: 3.938 kB / 0.9628 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.3085, allocations: 11.92 kB / 0.9628 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008007/0.3093, allocations: 243 kB / 0.963 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.46e-05/0.3094, allocations: 35.89 kB / 0.9631 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.284e-05/0.3095, allocations: 0 / 0.9631 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.3095, allocations: 15.94 kB / 0.9631 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.731e-05/0.3096, allocations: 19.91 kB / 0.9631 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.3096, allocations: 0 / 0.9631 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.3101, allocations: 251.4 kB / 0.9633 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.3101, allocations: 7.984 kB / 0.9633 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.3101, allocations: 12 kB / 0.9634 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.3105, allocations: 191.7 kB / 0.9635 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3105, allocations: 0 / 0.9635 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.889e-06/0.3105, allocations: 4 kB / 0.9635 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3105, allocations: 0 / 0.9635 GB, free: 13.88 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.0004695/0.311, allocations: 355.2 kB / 0.9639 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.311, allocations: 8.031 kB / 0.9639 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.3111, allocations: 34.73 kB / 0.9639 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.3111, allocations: 4.938 kB / 0.9639 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.3112, allocations: 164.3 kB / 0.9641 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.3113, allocations: 37.95 kB / 0.9641 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.3113, allocations: 0 / 0.9641 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.3114, allocations: 45.69 kB / 0.9642 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3114, allocations: 0 / 0.9642 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3114, allocations: 0 / 0.9642 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.3115, allocations: 0 / 0.9642 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.648e-05/0.3115, allocations: 23.92 kB / 0.9642 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.3123, allocations: 0.5989 MB / 0.9648 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.3124, allocations: 14.58 kB / 0.9648 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.073e-05/0.3124, allocations: 12.91 kB / 0.9648 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.3126, allocations: 336.4 kB / 0.9651 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3127, allocations: 38.48 kB / 0.9652 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3127, allocations: 0 / 0.9652 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001367/0.3128, allocations: 41.64 kB / 0.9652 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3129, allocations: 51.41 kB / 0.9652 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.3129, allocations: 105.8 kB / 0.9653 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.313, allocations: 25.7 kB / 0.9654 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.313, allocations: 84.09 kB / 0.9654 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/0.313, allocations: 7.891 kB / 0.9655 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.3131, allocations: 17.72 kB / 0.9655 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3132, allocations: 322.9 kB / 0.9658 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.3132, allocations: 4 kB / 0.9658 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.727e-05/0.3132, allocations: 17.72 kB / 0.9658 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.027e-05/0.3133, allocations: 25.64 kB / 0.9658 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3133, allocations: 0 / 0.9658 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.134e-05/0.3134, allocations: 45.64 kB / 0.9659 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3134, allocations: 8.062 kB / 0.9659 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3134, allocations: 0 / 0.9659 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3134, allocations: 7.984 kB / 0.9659 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.237e-05/0.3134, allocations: 4 kB / 0.9659 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.3134, allocations: 0 / 0.9659 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.3135, allocations: 3.938 kB / 0.9659 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3135, allocations: 8 kB / 0.9659 GB, free: 11.07 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 7.731e-05/0.3136, allocations: 109.8 kB / 0.966 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.3136, allocations: 4 kB / 0.966 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.3137, allocations: 120.9 kB / 0.9661 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.183e-05/0.3138, allocations: 184.3 kB / 0.9663 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-05/0.3139, allocations: 176.3 kB / 0.9665 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.71e-05/0.314, allocations: 188.1 kB / 0.9666 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002675/0.3142, allocations: 409.2 kB / 0.967 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/0.3143, allocations: 108.9 kB / 0.9671 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-05/0.3143, allocations: 101 kB / 0.9672 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.796e-05/0.3144, allocations: 184.3 kB / 0.9674 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.902e-05/0.3145, allocations: 180.2 kB / 0.9676 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.582e-05/0.3146, allocations: 176.3 kB / 0.9678 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.194e-05/0.3146, allocations: 184.4 kB / 0.9679 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.3148, allocations: 323.7 kB / 0.9682 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.85e-05/0.3149, allocations: 178.1 kB / 0.9684 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/0.315, allocations: 180.3 kB / 0.9686 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3152, allocations: 112.9 kB / 0.9687 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/0.3152, allocations: 180.3 kB / 0.9689 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.3153, allocations: 108.9 kB / 0.969 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.515e-05/0.3153, allocations: 91.27 kB / 0.969 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.3153, allocations: 3.938 kB / 0.9691 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003192/0.3157, allocations: 51.75 kB / 0.9691 GB, free: 7.562 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.0006653/0.3163, allocations: 0.8788 MB / 0.97 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.862e-05/0.3164, allocations: 23.94 kB / 0.97 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3164, allocations: 0 / 0.97 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.3164, allocations: 0 / 0.97 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3168, allocations: 459.6 kB / 0.9704 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.318, allocations: 1.344 MB / 0.9717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.3183, allocations: 0.6729 MB / 0.9724 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.278e-05/0.3183, allocations: 11.94 kB / 0.9724 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.3183, allocations: 11.44 kB / 0.9724 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.7e-07/0.3183, allocations: 0 / 0.9724 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02393/0.3423, allocations: 2.248 MB / 0.9746 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.88, allocations: 10.55 kB / 0.9746 GB, free: 1.91 MB / 0.7169 GB " [Timeout remaining time 652] (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: 12.22374062705785] Failed to read output from testmodel.py, exit status != 0: 7.946359831374139 8.277015856 7.964374613 Calling exit ...