Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001294/0.001294, allocations: 113 kB / 18.94 MB, free: 2.934 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.001517/0.001517, allocations: 209 kB / 22.25 MB, free: 5.086 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.992 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.8527/0.8527, allocations: 134 MB / 446.4 MB, free: 10.22 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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.002037/0.002037, allocations: 66.8 kB / 0.6185 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1933, allocations: 85.91 MB / 0.7024 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007526/0.2008, allocations: 4.144 MB / 0.7065 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003228/0.2012, allocations: 167.4 kB / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/0.2012, allocations: 0 / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2013, allocations: 4 kB / 0.7066 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.554e-05/0.2014, allocations: 11.91 kB / 0.7066 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.2018, allocations: 98.55 kB / 0.7067 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.963e-05/0.2019, allocations: 31.91 kB / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.202, allocations: 0 / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.202, allocations: 15.94 kB / 0.7068 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.288e-05/0.2021, allocations: 19.91 kB / 0.7068 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2021, allocations: 4 kB / 0.7068 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.2023, allocations: 79.77 kB / 0.7069 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.2024, allocations: 4 kB / 0.7069 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.2024, allocations: 11.94 kB / 0.7069 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.2026, allocations: 68.12 kB / 0.707 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.2026, allocations: 0 / 0.707 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2026, allocations: 0 / 0.707 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2026, allocations: 0 / 0.707 GB, free: 12.69 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.0004922/0.2031, allocations: 262.3 kB / 0.7072 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.2031, allocations: 8.031 kB / 0.7072 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.2032, allocations: 34.69 kB / 0.7073 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.2032, allocations: 4.938 kB / 0.7073 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2033, allocations: 106.5 kB / 0.7074 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.2034, allocations: 59.95 kB / 0.7074 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.2035, allocations: 8.125 kB / 0.7074 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.2036, allocations: 37.69 kB / 0.7075 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2037, allocations: 3.938 kB / 0.7075 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2037, allocations: 0 / 0.7075 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.2037, allocations: 4 kB / 0.7075 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.821e-05/0.2038, allocations: 15.98 kB / 0.7075 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.2044, allocations: 247.8 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.104e-05/0.2045, allocations: 18.56 kB / 0.7077 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.2045, allocations: 8.922 kB / 0.7077 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.029e-05/0.2046, allocations: 4 kB / 0.7078 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.2047, allocations: 34.56 kB / 0.7078 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.2047, allocations: 0 / 0.7078 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.000255/0.2049, allocations: 41.75 kB / 0.7078 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.261e-05/0.205, allocations: 55.41 kB / 0.7079 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2052, allocations: 105.8 kB / 0.708 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.2052, allocations: 25.7 kB / 0.708 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.2053, allocations: 84.09 kB / 0.7081 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.2053, allocations: 3.938 kB / 0.7081 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.573e-05/0.2053, allocations: 21.67 kB / 0.7081 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002928/0.2056, allocations: 314.8 kB / 0.7084 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.627e-05/0.2057, allocations: 11.98 kB / 0.7084 GB, free: 11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.412e-05/0.2058, allocations: 17.72 kB / 0.7084 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.242e-05/0.2058, allocations: 21.66 kB / 0.7085 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2058, allocations: 0 / 0.7085 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.137e-05/0.2059, allocations: 45.69 kB / 0.7085 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2059, allocations: 4 kB / 0.7085 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.2059, allocations: 4.062 kB / 0.7085 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.206, allocations: 4 kB / 0.7085 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.206, allocations: 11.92 kB / 0.7085 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.206, allocations: 0 / 0.7085 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.126e-05/0.2061, allocations: 0 / 0.7085 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.2061, allocations: 4 kB / 0.7085 GB, free: 10.88 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 0.000154/0.2062, allocations: 113.8 kB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.2063, allocations: 4 kB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.2064, allocations: 121 kB / 0.7088 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001066/0.2065, allocations: 180.2 kB / 0.7089 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-05/0.2066, allocations: 180.3 kB / 0.7091 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.643e-05/0.2067, allocations: 180.2 kB / 0.7093 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.207, allocations: 384.2 kB / 0.7096 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/0.2071, allocations: 105 kB / 0.7097 GB, free: 9.535 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.2071, allocations: 112.9 kB / 0.7098 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.656e-05/0.2072, allocations: 180.2 kB / 0.71 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.2073, allocations: 184.2 kB / 0.7102 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.623e-05/0.2074, allocations: 176.3 kB / 0.7104 GB, free: 8.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.886e-05/0.2075, allocations: 180.3 kB / 0.7105 GB, free: 8.684 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.2077, allocations: 319.6 kB / 0.7108 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.2077, allocations: 104.9 kB / 0.7109 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.2078, allocations: 180.3 kB / 0.7111 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.208, allocations: 109 kB / 0.7112 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.2081, allocations: 188.2 kB / 0.7114 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.2082, allocations: 101 kB / 0.7115 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.964e-05/0.2082, allocations: 87.27 kB / 0.7116 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2082, allocations: 0 / 0.7116 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002901/0.2085, allocations: 19.88 kB / 0.7116 GB, free: 7.539 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.0007602/0.2093, allocations: 0.8242 MB / 0.7124 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.2094, allocations: 11.98 kB / 0.7124 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2094, allocations: 0 / 0.7124 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-06/0.2094, allocations: 3.938 kB / 0.7124 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.2101, allocations: 459.8 kB / 0.7128 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.2115, allocations: 1.317 MB / 0.7141 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.2119, allocations: 0.6729 MB / 0.7148 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.322e-05/0.212, allocations: 4 kB / 0.7148 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.212, allocations: 19.42 kB / 0.7148 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of SimCode: time 2.8e-07/0.212, allocations: 0 / 0.7148 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03646/0.2485, allocations: 1.581 MB / 0.7164 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.18, allocations: 0 / 0.7164 GB, free: 2.648 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion_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_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.009101937001105] Failed to read output from testmodel.py, exit status != 0: 11.283457088997238 11.307145391 11.100045469 Calling exit ...