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.002004/0.002004, 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.002029/0.002029, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9896/0.9896, allocations: 150 MB / 463.2 MB, free: 10.52 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.002024/0.002024, allocations: 61.84 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1895, allocations: 89.18 MB / 0.7284 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005455/0.1949, allocations: 3.392 MB / 0.7317 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001174/0.195, allocations: 47.86 kB / 0.7317 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1951, allocations: 0 / 0.7317 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.237e-05/0.1951, allocations: 7.922 kB / 0.7317 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.1952, allocations: 11.94 kB / 0.7317 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.1959, allocations: 205.8 kB / 0.7319 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.409e-05/0.196, allocations: 31.86 kB / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.196, allocations: 0 / 0.732 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.196, allocations: 19.97 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.1961, allocations: 11.88 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.1961, allocations: 0 / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.1965, allocations: 199.5 kB / 0.7322 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.1966, allocations: 3.984 kB / 0.7322 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.386e-05/0.1966, allocations: 15.92 kB / 0.7322 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.197, allocations: 132 kB / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.197, allocations: 0 / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.372e-06/0.197, allocations: 0 / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.197, allocations: 3.938 kB / 0.7323 GB, free: 13.25 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.0004427/0.1974, allocations: 280.3 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1975, allocations: 12.03 kB / 0.7326 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.1975, allocations: 30.75 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.1975, allocations: 4.938 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1976, allocations: 110.5 kB / 0.7327 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.39e-05/0.1977, allocations: 51.97 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1977, allocations: 4.125 kB / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1979, allocations: 45.67 kB / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1979, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.1979, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.1979, allocations: 0 / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.042e-05/0.1979, allocations: 23.92 kB / 0.7329 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.1985, allocations: 264 kB / 0.7331 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.866e-05/0.1985, allocations: 18.58 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.751e-05/0.1985, allocations: 8.859 kB / 0.7331 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.1986, allocations: 36.03 kB / 0.7332 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1987, allocations: 30.56 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.1987, allocations: 4 kB / 0.7332 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001466/0.1988, allocations: 45.58 kB / 0.7333 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.1989, allocations: 51.41 kB / 0.7333 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.1989, allocations: 105.8 kB / 0.7334 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.199, allocations: 29.64 kB / 0.7334 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.199, allocations: 92.08 kB / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.199, allocations: 3.938 kB / 0.7335 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.1991, allocations: 13.84 kB / 0.7335 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1992, allocations: 318.8 kB / 0.7338 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.1992, allocations: 15.98 kB / 0.7339 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.1992, allocations: 13.72 kB / 0.7339 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.026e-05/0.1993, allocations: 25.66 kB / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1993, allocations: 0 / 0.7339 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001046/0.1994, allocations: 53.62 kB / 0.7339 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1994, allocations: 7.938 kB / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1994, allocations: 0 / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1994, allocations: 4 kB / 0.734 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.1995, allocations: 4 kB / 0.734 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1995, allocations: 0 / 0.734 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.1995, allocations: 7.938 kB / 0.734 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1995, allocations: 4 kB / 0.734 GB, free: 11.35 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.657e-05/0.1996, allocations: 111.8 kB / 0.7341 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.1996, allocations: 8.062 kB / 0.7341 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.1997, allocations: 115.4 kB / 0.7342 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.178e-05/0.1998, allocations: 188.2 kB / 0.7344 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.301e-05/0.1999, allocations: 176.3 kB / 0.7345 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.808e-05/0.1999, allocations: 180.2 kB / 0.7347 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.2002, allocations: 384.2 kB / 0.7351 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.475e-05/0.2002, allocations: 104.9 kB / 0.7352 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.2003, allocations: 105 kB / 0.7353 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.637e-05/0.2004, allocations: 176.3 kB / 0.7354 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.969e-05/0.2004, allocations: 184.2 kB / 0.7356 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.912e-05/0.2005, allocations: 180.3 kB / 0.7358 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.801e-05/0.2006, allocations: 188.2 kB / 0.736 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.2008, allocations: 307.8 kB / 0.7363 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.2008, allocations: 108.9 kB / 0.7364 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.2009, allocations: 176.3 kB / 0.7365 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2011, allocations: 116.9 kB / 0.7367 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.2011, allocations: 176.3 kB / 0.7368 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.62e-05/0.2012, allocations: 105 kB / 0.7369 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.2012, allocations: 87.28 kB / 0.737 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2012, allocations: 0 / 0.737 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003199/0.2016, allocations: 39.8 kB / 0.737 GB, free: 8.008 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.0006255/0.2022, allocations: 0.8748 MB / 0.7379 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.632e-05/0.2023, allocations: 19.92 kB / 0.7379 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2023, allocations: 3.938 kB / 0.7379 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.2023, allocations: 0 / 0.7379 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.2028, allocations: 460.6 kB / 0.7384 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.204, allocations: 1.329 MB / 0.7397 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2043, allocations: 0.6729 MB / 0.7403 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.2043, allocations: 10.94 kB / 0.7403 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.2044, allocations: 7.438 kB / 0.7403 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of SimCode: time 6.42e-07/0.2044, allocations: 4 kB / 0.7403 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.2347, allocations: 2.224 MB / 0.7425 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.51, allocations: 14.2 kB / 0.7425 GB, free: 2.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.443396118003875] Failed to read output from testmodel.py, exit status != 0: 11.62326241005212 11.648167032 11.446359523 Calling exit ...