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.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.001293/0.001293, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001807/0.001807, allocations: 217.8 kB / 22.26 MB, free: 5.082 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002747/0.002747, allocations: 286.9 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.256/1.256, allocations: 180.6 MB / 0.5369 GB, free: 13.08 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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: NcDataReader2 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: BuildingSystems 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.00482/0.00482, allocations: 99.36 kB / 0.7396 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1908, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00547/0.1962, allocations: 3.39 MB / 0.8361 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001235/0.1964, allocations: 59.84 kB / 0.8361 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.1964, allocations: 0 / 0.8361 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.879e-05/0.1965, allocations: 15.88 kB / 0.8361 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.1966, allocations: 15.91 kB / 0.8361 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.1972, allocations: 183.3 kB / 0.8363 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.399e-05/0.1973, allocations: 39.83 kB / 0.8364 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.1973, allocations: 8 kB / 0.8364 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.1974, allocations: 8 kB / 0.8364 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.1974, allocations: 27.84 kB / 0.8364 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.1974, allocations: 0 / 0.8364 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004/0.1978, allocations: 183.5 kB / 0.8366 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.1979, allocations: 15.97 kB / 0.8366 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1979, allocations: 7.938 kB / 0.8366 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.1982, allocations: 128 kB / 0.8367 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1982, allocations: 0 / 0.8367 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1982, allocations: 0 / 0.8367 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1982, allocations: 3.938 kB / 0.8367 GB, free: 4.547 MB / 0.5762 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.0003917/0.1986, allocations: 278.2 kB / 0.837 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1986, allocations: 13.28 kB / 0.837 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.1987, allocations: 38.73 kB / 0.837 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1987, allocations: 4.938 kB / 0.837 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1988, allocations: 106.5 kB / 0.8371 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/0.1989, allocations: 51.97 kB / 0.8372 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1989, allocations: 8.125 kB / 0.8372 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.199, allocations: 45.69 kB / 0.8372 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.199, allocations: 3.984 kB / 0.8372 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.199, allocations: 3.984 kB / 0.8372 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.1991, allocations: 0 / 0.8372 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.1991, allocations: 19.92 kB / 0.8373 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.1996, allocations: 260 kB / 0.8375 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.1997, allocations: 14.58 kB / 0.8375 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.1997, allocations: 12.92 kB / 0.8375 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.1998, allocations: 31.97 kB / 0.8376 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.1998, allocations: 34.56 kB / 0.8376 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1998, allocations: 0 / 0.8376 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.1999, allocations: 37.64 kB / 0.8376 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2, allocations: 51.41 kB / 0.8377 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.2001, allocations: 101.8 kB / 0.8378 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.2001, allocations: 33.83 kB / 0.8378 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.2001, allocations: 84.09 kB / 0.8379 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.2001, allocations: 11.89 kB / 0.8379 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2002, allocations: 13.7 kB / 0.8379 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2003, allocations: 322.8 kB / 0.8382 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.2003, allocations: 0 / 0.8382 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.2004, allocations: 17.66 kB / 0.8382 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.94e-05/0.2004, allocations: 33.64 kB / 0.8383 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2004, allocations: 0 / 0.8383 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.332e-05/0.2005, allocations: 45.69 kB / 0.8383 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2005, allocations: 18.06 kB / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2005, allocations: 0 / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2005, allocations: 0 / 0.8383 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.475e-05/0.2006, allocations: 4 kB / 0.8383 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2006, allocations: 0 / 0.8383 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.2006, allocations: 8.062 kB / 0.8384 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.2006, allocations: 0 / 0.8384 GB, free: 2.66 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.867e-05/0.2007, allocations: 113.8 kB / 0.8385 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.2007, allocations: 3.984 kB / 0.8385 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.2008, allocations: 117 kB / 0.8386 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.859e-05/0.2009, allocations: 184.2 kB / 0.8388 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-05/0.201, allocations: 180.3 kB / 0.8389 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.121e-05/0.2011, allocations: 188.3 kB / 0.8391 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.2013, allocations: 384.2 kB / 0.8395 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.623e-05/0.2014, allocations: 108.9 kB / 0.8396 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.2014, allocations: 101 kB / 0.8397 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/0.2015, allocations: 180.3 kB / 0.8398 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.004e-05/0.2016, allocations: 188.2 kB / 0.84 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-05/0.2017, allocations: 180.3 kB / 0.8402 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.761e-05/0.2017, allocations: 184.2 kB / 0.8404 GB, free: 468 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2019, allocations: 303.8 kB / 0.8407 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.202, allocations: 108.9 kB / 0.8408 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.2021, allocations: 184.2 kB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.2022, allocations: 104.9 kB / 0.841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.2023, allocations: 180.5 kB / 0.8412 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.544e-05/0.2024, allocations: 109 kB / 0.8413 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.819e-05/0.2024, allocations: 83.27 kB / 0.8414 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2024, allocations: 4 kB / 0.8414 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002968/0.2027, allocations: 39.81 kB / 0.8414 GB, free: 15.3 MB / 0.5919 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.2034, allocations: 0.871 MB / 0.8423 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.2034, allocations: 7.938 kB / 0.8423 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2034, allocations: 3.938 kB / 0.8423 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-06/0.2034, allocations: 0 / 0.8423 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.2039, allocations: 467.8 kB / 0.8427 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2051, allocations: 1.339 MB / 0.8441 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2054, allocations: 0.6768 MB / 0.8447 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.485e-05/0.2055, allocations: 8 kB / 0.8447 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.2055, allocations: 11.44 kB / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.2055, allocations: 0 / 0.8447 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.2339, allocations: 2.248 MB / 0.8469 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.39, allocations: 7.469 kB / 0.8469 GB, free: 9.723 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.588945233961567] Failed to read output from testmodel.py, exit status != 0: 11.499136290047318 11.526289292 11.322648194 Calling exit ...