Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001343/0.001343, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001565/0.001565, allocations: 222 kB / 23.01 MB, free: 5 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9695/0.9695, allocations: 150 MB / 463.2 MB, free: 10.51 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001999/0.001999, allocations: 75.3 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1999, allocations: 89.17 MB / 0.7284 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005847/0.2057, allocations: 3.392 MB / 0.7317 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.2058, allocations: 43.86 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.796e-05/0.2059, allocations: 0 / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.87e-05/0.206, allocations: 11.94 kB / 0.7317 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.206, allocations: 11.91 kB / 0.7317 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.2067, allocations: 191.3 kB / 0.7319 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.2068, allocations: 35.84 kB / 0.7319 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.2068, allocations: 4 kB / 0.732 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.2069, allocations: 19.97 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.555e-05/0.207, allocations: 15.92 kB / 0.732 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.207, allocations: 0 / 0.732 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003893/0.2074, allocations: 195.5 kB / 0.7322 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.2074, allocations: 4 kB / 0.7322 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.639e-05/0.2074, allocations: 11.92 kB / 0.7322 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.2077, allocations: 136 kB / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.2077, allocations: 0 / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2077, allocations: 0 / 0.7323 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2077, allocations: 4 kB / 0.7323 GB, free: 13.26 MB / 0.5606 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.0004282/0.2082, allocations: 278.1 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2082, allocations: 11.97 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.757e-05/0.2082, allocations: 30.75 kB / 0.7326 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.2083, allocations: 4.938 kB / 0.7326 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2084, allocations: 102.5 kB / 0.7327 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-05/0.2085, allocations: 63.95 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.2085, allocations: 4.125 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2086, allocations: 41.67 kB / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2086, allocations: 4 kB / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2086, allocations: 0 / 0.7328 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.2087, allocations: 4 kB / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.082e-05/0.2087, allocations: 19.92 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.2093, allocations: 260 kB / 0.7331 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.2093, allocations: 14.58 kB / 0.7331 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.2094, allocations: 16.92 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.2095, allocations: 39.95 kB / 0.7332 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.2095, allocations: 34.5 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2095, allocations: 0 / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.2097, allocations: 41.58 kB / 0.7332 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.2097, allocations: 55.41 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.2098, allocations: 101.8 kB / 0.7334 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2098, allocations: 25.83 kB / 0.7334 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.2099, allocations: 88.09 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.2099, allocations: 11.94 kB / 0.7335 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.2099, allocations: 13.72 kB / 0.7335 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2101, allocations: 318.8 kB / 0.7338 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.2101, allocations: 4 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.2101, allocations: 13.72 kB / 0.7339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.424e-05/0.2102, allocations: 29.66 kB / 0.7339 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2102, allocations: 3.938 kB / 0.7339 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.936e-05/0.2102, allocations: 41.69 kB / 0.7339 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2103, allocations: 8 kB / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2103, allocations: 0 / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2103, allocations: 0 / 0.7339 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.2103, allocations: 15.92 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2103, allocations: 4 kB / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.034e-05/0.2103, allocations: 12.02 kB / 0.734 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.2104, allocations: 0 / 0.734 GB, free: 11.36 MB / 0.5606 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.009e-05/0.2104, allocations: 115.8 kB / 0.7341 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.2105, allocations: 0 / 0.7341 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.2106, allocations: 119.7 kB / 0.7342 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.17e-05/0.2107, allocations: 184.2 kB / 0.7344 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-05/0.2108, allocations: 180.3 kB / 0.7345 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.012e-05/0.2108, allocations: 184.2 kB / 0.7347 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.2111, allocations: 380.2 kB / 0.7351 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.2111, allocations: 101 kB / 0.7352 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.255e-05/0.2112, allocations: 108.9 kB / 0.7353 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.75e-05/0.2113, allocations: 176.3 kB / 0.7354 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/0.2114, allocations: 188.2 kB / 0.7356 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.053e-05/0.2114, allocations: 176.3 kB / 0.7358 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.244e-05/0.2115, allocations: 184.2 kB / 0.736 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.2117, allocations: 307.8 kB / 0.7363 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.2118, allocations: 112.9 kB / 0.7364 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.531e-05/0.2118, allocations: 180.3 kB / 0.7365 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.212, allocations: 109.2 kB / 0.7366 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.2121, allocations: 180.2 kB / 0.7368 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.2121, allocations: 101 kB / 0.7369 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.2122, allocations: 87.27 kB / 0.737 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2122, allocations: 7.938 kB / 0.737 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003251/0.2125, allocations: 35.81 kB / 0.737 GB, free: 8.02 MB / 0.5606 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.000785/0.2133, allocations: 0.8826 MB / 0.7379 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.2135, allocations: 12 kB / 0.7379 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2135, allocations: 0 / 0.7379 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-06/0.2135, allocations: 3.938 kB / 0.7379 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.2141, allocations: 463.8 kB / 0.7384 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.2153, allocations: 1.336 MB / 0.7397 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.2156, allocations: 0.669 MB / 0.7403 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.972e-05/0.2157, allocations: 15.98 kB / 0.7403 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.2157, allocations: 7.438 kB / 0.7403 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2157, allocations: 0 / 0.7403 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.2492, allocations: 2.226 MB / 0.7425 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.53, allocations: 5 kB / 0.7425 GB, free: 2.449 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.421948052997323] Failed to read output from testmodel.py, exit status != 0: 11.638570823000919 11.671544687 11.457685941 Calling exit ...