Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001429/0.001429, allocations: 103.3 kB / 16.45 MB, free: 6.504 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.001572/0.001572, allocations: 216.9 kB / 19.43 MB, free: 3.656 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.002489/0.002489, allocations: 286.5 kB / 309.1 MB, free: 4.004 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.281/1.281, allocations: 180.9 MB / 0.5333 GB, free: 13.74 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.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",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.003739/0.003739, allocations: 106.9 kB / 0.7342 GB, free: 28.68 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.196, allocations: 95.34 MB / 0.8273 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002768/0.1988, allocations: 1.436 MB / 0.8287 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005066/0.1993, allocations: 217.5 kB / 0.8289 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.1993, allocations: 4 kB / 0.829 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.1993, allocations: 0 / 0.829 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.1994, allocations: 11.92 kB / 0.829 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.1996, allocations: 19.91 kB / 0.829 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.4e-05/0.1996, allocations: 31.86 kB / 0.829 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.843e-05/0.1997, allocations: 3.984 kB / 0.829 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.727e-05/0.1998, allocations: 11.94 kB / 0.829 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.833e-05/0.1998, allocations: 11.98 kB / 0.829 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1998, allocations: 7.938 kB / 0.829 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.1999, allocations: 27.98 kB / 0.8291 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1999, allocations: 11.98 kB / 0.8291 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.2, allocations: 7.938 kB / 0.8291 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.2001, allocations: 40.17 kB / 0.8291 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2001, allocations: 0 / 0.8291 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2001, allocations: 0 / 0.8291 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.2001, allocations: 0 / 0.8291 GB, free: 8.062 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.000488/0.2006, allocations: 347.3 kB / 0.8295 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2006, allocations: 8.031 kB / 0.8295 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.863e-05/0.2007, allocations: 42.73 kB / 0.8295 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.2008, allocations: 8.938 kB / 0.8295 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.201, allocations: 164.3 kB / 0.8297 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.201, allocations: 8.312 kB / 0.8297 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.201, allocations: 384 / 0.8297 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.2012, allocations: 54.17 kB / 0.8297 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2012, allocations: 3.938 kB / 0.8297 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.2012, allocations: 0 / 0.8297 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2012, allocations: 4 kB / 0.8297 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001678/0.2014, allocations: 35.95 kB / 0.8298 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.2017, allocations: 240.9 kB / 0.83 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.2019, allocations: 46.47 kB / 0.8301 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.252e-05/0.202, allocations: 20.91 kB / 0.8301 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.202, allocations: 4 kB / 0.8301 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.202, allocations: 30.56 kB / 0.8301 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.202, allocations: 0 / 0.8301 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003617/0.2024, allocations: 85.59 kB / 0.8302 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.2024, allocations: 51.41 kB / 0.8302 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.164e-05/0.2025, allocations: 106 kB / 0.8303 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.2025, allocations: 29.64 kB / 0.8304 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.2025, allocations: 84.14 kB / 0.8304 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.2026, allocations: 3.953 kB / 0.8304 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.2026, allocations: 17.72 kB / 0.8305 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2027, allocations: 314.8 kB / 0.8308 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.2028, allocations: 15.98 kB / 0.8308 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.412e-05/0.2029, allocations: 15.98 kB / 0.8308 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.2031, allocations: 40.81 kB / 0.8308 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2031, allocations: 3.938 kB / 0.8308 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.2033, allocations: 61.86 kB / 0.8309 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2033, allocations: 4 kB / 0.8309 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2033, allocations: 4.094 kB / 0.8309 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2033, allocations: 0 / 0.8309 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.2034, allocations: 23.91 kB / 0.8309 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2034, allocations: 7.922 kB / 0.8309 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.2035, allocations: 7.984 kB / 0.8309 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.2035, allocations: 0 / 0.8309 GB, free: 5.969 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.725e-05/0.2036, allocations: 116.6 kB / 0.8311 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.2036, allocations: 0 / 0.8311 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.2038, allocations: 80.77 kB / 0.8311 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2038, allocations: 0 / 0.8311 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2039, allocations: 0 / 0.8311 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.2039, allocations: 0 / 0.8311 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.2041, allocations: 173.5 kB / 0.8313 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2041, allocations: 0 / 0.8313 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.29e-05/0.2041, allocations: 8 kB / 0.8313 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2041, allocations: 11.88 kB / 0.8313 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2041, allocations: 4 kB / 0.8313 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2041, allocations: 4 kB / 0.8313 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2042, allocations: 3.984 kB / 0.8313 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.2044, allocations: 163.5 kB / 0.8315 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.2045, allocations: 81.11 kB / 0.8316 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2045, allocations: 0 / 0.8316 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2046, allocations: 11.98 kB / 0.8316 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2046, allocations: 0 / 0.8316 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2046, allocations: 0 / 0.8316 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.292e-05/0.2047, allocations: 83.28 kB / 0.8317 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2047, allocations: 0 / 0.8317 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003105/0.205, allocations: 11.94 kB / 0.8317 GB, free: 5.137 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 (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 Backend phase and start with SimCode phase: time 0.000581/0.2056, allocations: 0.7084 MB / 0.8324 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.2058, allocations: 35.95 kB / 0.8324 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2058, allocations: 0 / 0.8324 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.693e-05/0.2059, allocations: 23.92 kB / 0.8324 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.2063, allocations: 8.062 kB / 0.8324 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.2067, allocations: 140.3 kB / 0.8326 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.207, allocations: 0.6807 MB / 0.8332 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.207, allocations: 0 / 0.8332 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.2071, allocations: 7.438 kB / 0.8332 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.2071, allocations: 4 kB / 0.8332 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.2311, allocations: 1.396 MB / 0.8346 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.148, allocations: 6.812 kB / 0.8346 GB, free: 2.184 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_SaturationPressureLiquid.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.505730637349188] Failed to read output from testmodel.py, exit status != 0: 8.219655594788492 8.246325813 8.041279078 Calling exit ...