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.001425/0.001425, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001541/0.001541, allocations: 214.1 kB / 23.78 MB, free: 4.555 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.534/1.534, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.9973/0.9973, allocations: 150 MB / 463.9 MB, free: 10.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",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.002163/0.002163, allocations: 69.41 kB / 0.642 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1891, allocations: 89.16 MB / 0.729 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006185/0.1953, allocations: 3.217 MB / 0.7322 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/0.1954, allocations: 51.86 kB / 0.7322 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.943e-05/0.1955, allocations: 4 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.1956, allocations: 7.875 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.778e-05/0.1957, allocations: 11.92 kB / 0.7322 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007569/0.1964, allocations: 189.7 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.1965, allocations: 35.84 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.1966, allocations: 8 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.033e-05/0.1966, allocations: 15.98 kB / 0.7325 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.603e-05/0.1967, allocations: 11.98 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1967, allocations: 0 / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003564/0.1971, allocations: 143.5 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.1971, allocations: 7.984 kB / 0.7326 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.1972, allocations: 11.98 kB / 0.7326 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.1975, allocations: 116 kB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.1975, allocations: 4 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1975, allocations: 0 / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.1975, allocations: 4 kB / 0.7328 GB, free: 12.95 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.0004838/0.198, allocations: 270.2 kB / 0.733 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.198, allocations: 8.031 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.344e-05/0.1981, allocations: 4.188 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.1981, allocations: 38.67 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.1981, allocations: 4.938 kB / 0.7331 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1983, allocations: 110.5 kB / 0.7332 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/0.1983, allocations: 51.97 kB / 0.7332 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1984, allocations: 3.938 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1985, allocations: 75.38 kB / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.1985, allocations: 0 / 0.7333 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1985, allocations: 4 kB / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.1986, allocations: 0 / 0.7333 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.274e-05/0.1986, allocations: 15.98 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.1992, allocations: 263.9 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.65e-05/0.1992, allocations: 18.52 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/0.1993, allocations: 12.92 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001114/0.1994, allocations: 35.97 kB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.1994, allocations: 30.56 kB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.1994, allocations: 4 kB / 0.7337 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001784/0.1996, allocations: 45.58 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1996, allocations: 51.41 kB / 0.7338 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1997, allocations: 97.86 kB / 0.7339 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1998, allocations: 25.7 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.232e-05/0.1998, allocations: 96.08 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.1998, allocations: 3.938 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1999, allocations: 13.72 kB / 0.734 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2, allocations: 318.8 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.2001, allocations: 11.92 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.866e-05/0.2001, allocations: 17.84 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.567e-05/0.2001, allocations: 29.66 kB / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2001, allocations: 0 / 0.7344 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.701e-05/0.2002, allocations: 45.69 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2002, allocations: 4 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.2003, allocations: 4 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.2003, allocations: 0 / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.611e-05/0.2003, allocations: 7.938 kB / 0.7344 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2003, allocations: 8.047 kB / 0.7344 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.2004, allocations: 7.953 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.2004, allocations: 3.938 kB / 0.7344 GB, free: 11.02 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 0.0001043/0.2005, allocations: 111.8 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.2005, allocations: 0 / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.2006, allocations: 123.7 kB / 0.7347 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.261e-05/0.2007, allocations: 180.2 kB / 0.7348 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-05/0.2008, allocations: 176.3 kB / 0.735 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.004e-05/0.2009, allocations: 184.2 kB / 0.7352 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002654/0.2012, allocations: 384.2 kB / 0.7355 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.653e-05/0.2012, allocations: 101 kB / 0.7356 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.984e-05/0.2013, allocations: 108.9 kB / 0.7357 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.858e-05/0.2014, allocations: 180.3 kB / 0.7359 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.336e-05/0.2015, allocations: 180.2 kB / 0.7361 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.365e-05/0.2016, allocations: 184.2 kB / 0.7363 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.257e-05/0.2016, allocations: 180.3 kB / 0.7364 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2018, allocations: 307.7 kB / 0.7367 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.2019, allocations: 117.2 kB / 0.7368 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.202, allocations: 176.3 kB / 0.737 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.2022, allocations: 105 kB / 0.7371 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.2023, allocations: 192.2 kB / 0.7373 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.2023, allocations: 105 kB / 0.7374 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.2024, allocations: 87.22 kB / 0.7375 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2024, allocations: 0 / 0.7375 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003123/0.2027, allocations: 35.86 kB / 0.7375 GB, free: 7.68 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.0006588/0.2034, allocations: 0.8786 MB / 0.7384 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.2034, allocations: 15.98 kB / 0.7384 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2035, allocations: 0 / 0.7384 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.028e-06/0.2035, allocations: 3.938 kB / 0.7384 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.204, allocations: 462.9 kB / 0.7388 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.2054, allocations: 1.34 MB / 0.7401 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.944e-05/0.2054, allocations: 59.34 kB / 0.7402 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.2055, allocations: 4 kB / 0.7402 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.2055, allocations: 7.438 kB / 0.7402 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.2055, allocations: 3.938 kB / 0.7402 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.2306, allocations: 2.341 MB / 0.7425 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.91, allocations: 0.9375 kB / 0.7425 GB, free: 2.641 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.894725108984858] Failed to read output from testmodel.py, exit status != 0: 12.075863905018196 12.103086988 11.900468472 Calling exit ...