Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 110.6 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 287.3 kB / 303 MB, free: 9.5 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.206/1.206, allocations: 180.9 MB / 0.5261 GB, free: 14.69 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002896/0.002896, allocations: 104.9 kB / 0.7248 GB, free: 40.06 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.19, allocations: 94.16 MB / 0.8167 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005535/0.1955, allocations: 3.301 MB / 0.8199 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001515/0.1956, allocations: 59.77 kB / 0.82 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.1957, allocations: 0 / 0.82 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.1958, allocations: 4 kB / 0.82 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.1959, allocations: 15.92 kB / 0.82 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006726/0.1966, allocations: 193.2 kB / 0.8202 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.1967, allocations: 35.86 kB / 0.8202 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.1967, allocations: 0 / 0.8202 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.909e-05/0.1968, allocations: 23.91 kB / 0.8203 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.237e-05/0.1969, allocations: 8 kB / 0.8203 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.1969, allocations: 0 / 0.8203 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004008/0.1973, allocations: 187.5 kB / 0.8204 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.1973, allocations: 11.94 kB / 0.8205 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1974, allocations: 7.984 kB / 0.8205 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.1977, allocations: 131.9 kB / 0.8206 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1977, allocations: 0 / 0.8206 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1977, allocations: 0 / 0.8206 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.1977, allocations: 0 / 0.8206 GB, free: 1.52 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.0004789/0.1982, allocations: 355.3 kB / 0.8209 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1982, allocations: 12.03 kB / 0.8209 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.155e-05/0.1982, allocations: 34.75 kB / 0.821 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.1983, allocations: 4.875 kB / 0.821 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1984, allocations: 164.4 kB / 0.8211 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.1985, allocations: 30.25 kB / 0.8212 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.779e-06/0.1985, allocations: 4.125 kB / 0.8212 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1986, allocations: 49.62 kB / 0.8212 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1986, allocations: 4 kB / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1986, allocations: 0 / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.1987, allocations: 0 / 0.8212 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.59e-05/0.1987, allocations: 11.98 kB / 0.8212 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007054/0.1994, allocations: 0.5949 MB / 0.8218 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.798e-05/0.1995, allocations: 14.58 kB / 0.8218 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.1995, allocations: 12.86 kB / 0.8218 GB, free: 0 / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002654/0.1997, allocations: 348.4 kB / 0.8222 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.1998, allocations: 30.56 kB / 0.8222 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1998, allocations: 0 / 0.8222 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000146/0.1999, allocations: 37.69 kB / 0.8222 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2, allocations: 51.41 kB / 0.8223 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.2, allocations: 101.8 kB / 0.8224 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.2001, allocations: 29.7 kB / 0.8224 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.2001, allocations: 88.22 kB / 0.8225 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-06/0.2001, allocations: 0 / 0.8225 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.2002, allocations: 17.72 kB / 0.8225 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2003, allocations: 314.8 kB / 0.8228 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.2003, allocations: 11.92 kB / 0.8228 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.2003, allocations: 17.72 kB / 0.8228 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.2004, allocations: 21.72 kB / 0.8229 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2004, allocations: 0 / 0.8229 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.509e-05/0.2005, allocations: 53.58 kB / 0.8229 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2005, allocations: 4 kB / 0.8229 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.2005, allocations: 0 / 0.8229 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.2005, allocations: 4 kB / 0.8229 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.544e-05/0.2005, allocations: 7.984 kB / 0.8229 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.319e-06/0.2005, allocations: 0 / 0.8229 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.756e-05/0.2006, allocations: 0 / 0.8229 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2006, allocations: 12.06 kB / 0.8229 GB, free: 14.71 MB / 0.5762 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.812e-05/0.2007, allocations: 113.7 kB / 0.823 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.884e-05/0.2007, allocations: 4 kB / 0.823 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.2008, allocations: 116.9 kB / 0.8232 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.283e-05/0.2009, allocations: 188.3 kB / 0.8233 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.089e-05/0.201, allocations: 184.2 kB / 0.8235 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.19e-05/0.201, allocations: 180.3 kB / 0.8237 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.2013, allocations: 413.1 kB / 0.8241 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.551e-05/0.2014, allocations: 112.9 kB / 0.8242 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.2014, allocations: 101 kB / 0.8243 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.057e-05/0.2015, allocations: 188.2 kB / 0.8245 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.2016, allocations: 180.4 kB / 0.8246 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-05/0.2016, allocations: 184.2 kB / 0.8248 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-05/0.2017, allocations: 176.3 kB / 0.825 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.2019, allocations: 311.7 kB / 0.8253 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.558e-05/0.202, allocations: 190 kB / 0.8255 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.2021, allocations: 180.2 kB / 0.8256 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.2022, allocations: 113 kB / 0.8257 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.2023, allocations: 176.3 kB / 0.8259 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.914e-05/0.2024, allocations: 104.9 kB / 0.826 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.2024, allocations: 91.27 kB / 0.8261 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2024, allocations: 0 / 0.8261 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002934/0.2027, allocations: 39.81 kB / 0.8261 GB, free: 11.23 MB / 0.5762 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.000609/0.2033, allocations: 0.8615 MB / 0.827 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.953e-05/0.2034, allocations: 15.94 kB / 0.827 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2034, allocations: 0 / 0.827 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.2034, allocations: 0 / 0.827 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.2039, allocations: 459.8 kB / 0.8274 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.205, allocations: 1.336 MB / 0.8287 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.2053, allocations: 0.6728 MB / 0.8294 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.2054, allocations: 19.92 kB / 0.8294 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.2054, allocations: 7.438 kB / 0.8294 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2054, allocations: 0 / 0.8294 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.2292, allocations: 2.191 MB / 0.8316 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.257, allocations: 4.344 kB / 0.8316 GB, free: 5.734 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.394492825027555] Failed to read output from testmodel.py, exit status != 0: 8.324308720882982 8.338990627 8.138433375 Calling exit ...