Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001337/0.001337, allocations: 114.5 kB / 18.94 MB, free: 2.957 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.001434/0.001434, allocations: 216 kB / 22.25 MB, free: 5.117 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8967/0.8967, allocations: 134 MB / 446.4 MB, free: 10.29 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002027/0.002027, allocations: 61.84 kB / 0.6186 GB, free: 7.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1874, allocations: 85.9 MB / 0.7024 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005208/0.1926, allocations: 3.42 MB / 0.7058 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001006/0.1927, allocations: 51.86 kB / 0.7058 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.1927, allocations: 0 / 0.7058 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.726e-05/0.1928, allocations: 11.86 kB / 0.7058 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.152e-05/0.1929, allocations: 4 kB / 0.7058 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.1935, allocations: 198.5 kB / 0.706 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.945e-05/0.1935, allocations: 43.84 kB / 0.7061 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.575e-05/0.1936, allocations: 0 / 0.7061 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.1936, allocations: 23.91 kB / 0.7061 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.695e-05/0.1937, allocations: 4 kB / 0.7061 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1937, allocations: 0 / 0.7061 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.1941, allocations: 195.5 kB / 0.7063 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.1941, allocations: 4 kB / 0.7063 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.1941, allocations: 15.88 kB / 0.7063 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.1944, allocations: 140 kB / 0.7064 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1944, allocations: 0 / 0.7064 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1944, allocations: 0 / 0.7064 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1945, allocations: 3.938 kB / 0.7064 GB, free: 13.34 MB / 0.5294 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.0004485/0.1949, allocations: 272.6 kB / 0.7067 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1949, allocations: 12.62 kB / 0.7067 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.195, allocations: 30.75 kB / 0.7067 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.195, allocations: 4.938 kB / 0.7067 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1951, allocations: 118.5 kB / 0.7069 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.059e-05/0.1952, allocations: 51.97 kB / 0.7069 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1952, allocations: 8.125 kB / 0.7069 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1954, allocations: 41.67 kB / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1954, allocations: 0 / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.1954, allocations: 0 / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.1954, allocations: 0 / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.1955, allocations: 19.98 kB / 0.707 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005164/0.196, allocations: 267.9 kB / 0.7072 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.196, allocations: 18.52 kB / 0.7072 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.196, allocations: 4.922 kB / 0.7073 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.1961, allocations: 39.95 kB / 0.7073 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.1962, allocations: 34.56 kB / 0.7073 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1962, allocations: 4 kB / 0.7073 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.1964, allocations: 29.7 kB / 0.7074 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.1964, allocations: 55.34 kB / 0.7074 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1965, allocations: 105.8 kB / 0.7075 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1965, allocations: 25.7 kB / 0.7075 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.1966, allocations: 88.03 kB / 0.7076 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.1966, allocations: 11.94 kB / 0.7076 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.1966, allocations: 17.66 kB / 0.7076 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1968, allocations: 322.9 kB / 0.708 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.1968, allocations: 4 kB / 0.708 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.681e-05/0.1969, allocations: 17.66 kB / 0.708 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.1969, allocations: 25.7 kB / 0.708 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.1969, allocations: 0 / 0.708 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.481e-05/0.197, allocations: 49.62 kB / 0.708 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.197, allocations: 8 kB / 0.7081 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.197, allocations: 0 / 0.7081 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.197, allocations: 0 / 0.7081 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.869e-05/0.1971, allocations: 4 kB / 0.7081 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1971, allocations: 0 / 0.7081 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.125e-05/0.1971, allocations: 8 kB / 0.7081 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1971, allocations: 0 / 0.7081 GB, free: 11.46 MB / 0.5294 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.323e-05/0.1972, allocations: 117.7 kB / 0.7082 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.1972, allocations: 4.062 kB / 0.7082 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.1974, allocations: 121 kB / 0.7083 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.94e-05/0.1974, allocations: 184.2 kB / 0.7085 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-05/0.1975, allocations: 176.3 kB / 0.7086 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-05/0.1976, allocations: 184.2 kB / 0.7088 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.1979, allocations: 388.3 kB / 0.7092 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.812e-05/0.198, allocations: 109 kB / 0.7093 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.198, allocations: 104.9 kB / 0.7094 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.706e-05/0.1981, allocations: 176.3 kB / 0.7096 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.1982, allocations: 176.3 kB / 0.7097 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.705e-05/0.1983, allocations: 184.2 kB / 0.7099 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.854e-05/0.1984, allocations: 188.2 kB / 0.7101 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.1986, allocations: 307.7 kB / 0.7104 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.1986, allocations: 105 kB / 0.7105 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.1987, allocations: 188.5 kB / 0.7107 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1989, allocations: 105 kB / 0.7108 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.199, allocations: 184.2 kB / 0.7109 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.199, allocations: 109 kB / 0.711 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.1991, allocations: 83.28 kB / 0.7111 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1991, allocations: 0 / 0.7111 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003044/0.1994, allocations: 39.75 kB / 0.7112 GB, free: 8.102 MB / 0.5294 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.0007229/0.2001, allocations: 0.8735 MB / 0.712 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.243e-05/0.2002, allocations: 8 kB / 0.712 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2002, allocations: 0 / 0.712 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.2002, allocations: 0 / 0.712 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.2007, allocations: 466.5 kB / 0.7125 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.2019, allocations: 1.336 MB / 0.7138 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.2022, allocations: 0.6729 MB / 0.7144 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.078e-05/0.2022, allocations: 4 kB / 0.7144 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.2023, allocations: 11.44 kB / 0.7144 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.2023, allocations: 0 / 0.7144 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.2323, allocations: 2.223 MB / 0.7166 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.82, allocations: 17.59 kB / 0.7166 GB, free: 2.535 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.638516366998374] Failed to read output from testmodel.py, exit status != 0: 10.919774321999284 10.936154165 10.738530542 Calling exit ...