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.001406/0.001406, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001707/0.001707, allocations: 208.3 kB / 22.99 MB, free: 4.977 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.585/1.585, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.961/0.961, allocations: 149.9 MB / 463 MB, free: 10.33 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.002399/0.002399, allocations: 71.53 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1886, allocations: 89.16 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005288/0.1939, allocations: 3.223 MB / 0.7313 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.194, allocations: 51.81 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.194, allocations: 4 kB / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.469e-05/0.1941, allocations: 0 / 0.7314 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.1942, allocations: 11.91 kB / 0.7314 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.1948, allocations: 201.9 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.1949, allocations: 31.86 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.195, allocations: 4 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.195, allocations: 15.92 kB / 0.7316 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.808e-05/0.1951, allocations: 15.98 kB / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.1951, allocations: 0 / 0.7316 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.1954, allocations: 131.6 kB / 0.7318 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1954, allocations: 15.86 kB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.1955, allocations: 12 kB / 0.7318 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.1957, allocations: 123.9 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1957, allocations: 0 / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1957, allocations: 0 / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.1957, allocations: 0 / 0.7319 GB, free: 13.16 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.0004761/0.1962, allocations: 274.2 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1963, allocations: 8.031 kB / 0.7322 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.1963, allocations: 34.75 kB / 0.7322 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.1963, allocations: 8.922 kB / 0.7322 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1965, allocations: 102.5 kB / 0.7323 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.817e-05/0.1965, allocations: 55.97 kB / 0.7324 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.1965, allocations: 8.125 kB / 0.7324 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1967, allocations: 75.31 kB / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1967, allocations: 0 / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1967, allocations: 0 / 0.7324 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.1967, allocations: 4 kB / 0.7324 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.1968, allocations: 11.98 kB / 0.7325 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.1973, allocations: 260 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.1974, allocations: 18.58 kB / 0.7327 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.1974, allocations: 12.8 kB / 0.7327 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.1975, allocations: 43.97 kB / 0.7328 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1975, allocations: 30.56 kB / 0.7328 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1975, allocations: 4 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.1977, allocations: 41.64 kB / 0.7328 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.1977, allocations: 51.41 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.948e-05/0.1978, allocations: 105.8 kB / 0.733 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1978, allocations: 25.7 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.1979, allocations: 84.09 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/0.1979, allocations: 7.938 kB / 0.7331 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1979, allocations: 9.719 kB / 0.7331 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1981, allocations: 326.9 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.1981, allocations: 7.922 kB / 0.7334 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.1981, allocations: 17.91 kB / 0.7335 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.71e-05/0.1981, allocations: 17.72 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1981, allocations: 0 / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.666e-05/0.1982, allocations: 57.58 kB / 0.7335 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1982, allocations: 4 kB / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1982, allocations: 96 / 0.7335 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1983, allocations: 8.047 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.612e-05/0.1983, allocations: 11.98 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1983, allocations: 0 / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/0.1983, allocations: 3.938 kB / 0.7336 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1983, allocations: 0 / 0.7336 GB, free: 11.24 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 7.63e-05/0.1984, allocations: 113.8 kB / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1984, allocations: 0 / 0.7337 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.1986, allocations: 124.9 kB / 0.7338 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.321e-05/0.1986, allocations: 180.3 kB / 0.734 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-05/0.1987, allocations: 184.2 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.385e-05/0.1988, allocations: 176.3 kB / 0.7343 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.1991, allocations: 384.2 kB / 0.7347 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.977e-05/0.1991, allocations: 105 kB / 0.7348 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.363e-05/0.1992, allocations: 101 kB / 0.7349 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.161e-05/0.1993, allocations: 184.2 kB / 0.735 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.1994, allocations: 188.2 kB / 0.7352 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-05/0.1995, allocations: 184.2 kB / 0.7354 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.345e-05/0.1995, allocations: 176.3 kB / 0.7356 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000165/0.1997, allocations: 319.6 kB / 0.7359 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.587e-05/0.1998, allocations: 108.9 kB / 0.736 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.1999, allocations: 188.2 kB / 0.7361 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.2001, allocations: 101 kB / 0.7362 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.2002, allocations: 184.2 kB / 0.7364 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.2002, allocations: 108.9 kB / 0.7365 GB, free: 8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.2003, allocations: 79.28 kB / 0.7366 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2003, allocations: 0 / 0.7366 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003261/0.2006, allocations: 43.8 kB / 0.7366 GB, free: 7.879 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.0005909/0.2012, allocations: 0.8555 MB / 0.7375 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.2012, allocations: 15.92 kB / 0.7375 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2012, allocations: 4 kB / 0.7375 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2012, allocations: 0 / 0.7375 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.2017, allocations: 461.7 kB / 0.7379 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2029, allocations: 1.336 MB / 0.7392 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.451e-05/0.2029, allocations: 55.36 kB / 0.7393 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.203, allocations: 6.953 kB / 0.7393 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.203, allocations: 15.42 kB / 0.7393 GB, free: 5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.203, allocations: 0 / 0.7393 GB, free: 5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02959/0.2326, allocations: 2.683 MB / 0.7419 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 3.562 kB / 0.7419 GB, free: 2.504 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.416789809707552] Failed to read output from testmodel.py, exit status != 0: 11.560767959803343 11.578144679 11.379070248 Calling exit ...