Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.001484/0.001484, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00146/0.00146, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.411/1.411, allocations: 230.6 MB / 256 MB, free: 7.789 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.002556/0.002556, allocations: 300.9 kB / 312.7 MB, free: 2.586 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.182/1.182, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",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.002929/0.002929, allocations: 95.2 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1798, allocations: 95.38 MB / 0.8327 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006864/0.1867, allocations: 4.516 MB / 0.8371 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1901, allocations: 2.461 MB / 0.8395 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.956e-05/0.1902, allocations: 0 / 0.8395 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.1905, allocations: 43.69 kB / 0.8395 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003352/0.1908, allocations: 99.36 kB / 0.8396 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.1922, allocations: 0.5248 MB / 0.8401 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.1924, allocations: 235.9 kB / 0.8404 GB, free: 384 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.1925, allocations: 5.75 kB / 0.8404 GB, free: 380 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1927, allocations: 131.5 kB / 0.8405 GB, free: 248 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1929, allocations: 87.64 kB / 0.8406 GB, free: 160 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1929, allocations: 8 kB / 0.8406 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000636/0.1935, allocations: 315.8 kB / 0.8409 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.1936, allocations: 35.78 kB / 0.8409 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.024e-05/0.1937, allocations: 71.72 kB / 0.841 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.1943, allocations: 358.8 kB / 0.8413 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1943, allocations: 0 / 0.8413 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1943, allocations: 0 / 0.8413 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.1943, allocations: 4 kB / 0.8413 GB, free: 15.38 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008166/0.1951, allocations: 449.4 kB / 0.8418 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1951, allocations: 9.344 kB / 0.8418 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.1952, allocations: 50.73 kB / 0.8418 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.1953, allocations: 20.84 kB / 0.8418 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1956, allocations: 162.3 kB / 0.842 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1957, allocations: 8.703 kB / 0.842 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.1957, allocations: 16.38 kB / 0.842 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.1962, allocations: 492 kB / 0.8425 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1962, allocations: 0 / 0.8425 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.1962, allocations: 15.98 kB / 0.8425 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.1963, allocations: 7.984 kB / 0.8425 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004942/0.1967, allocations: 423.3 kB / 0.8429 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.198, allocations: 0.8086 MB / 0.8437 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.1983, allocations: 157.5 kB / 0.8439 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1984, allocations: 56.88 kB / 0.8439 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007769/0.1992, allocations: 451.9 kB / 0.8443 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.1992, allocations: 38.55 kB / 0.8444 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1992, allocations: 0 / 0.8444 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0003473/0.1996, allocations: 145.4 kB / 0.8445 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1996, allocations: 59.41 kB / 0.8446 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1998, allocations: 179.8 kB / 0.8447 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1998, allocations: 29.7 kB / 0.8448 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1999, allocations: 148.1 kB / 0.8449 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.2, allocations: 55.47 kB / 0.845 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.2, allocations: 57.66 kB / 0.845 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2002, allocations: 326.8 kB / 0.8453 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.9e-05/0.2003, allocations: 35.98 kB / 0.8454 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.2004, allocations: 143.5 kB / 0.8455 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.2007, allocations: 196.4 kB / 0.8457 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2007, allocations: 0 / 0.8457 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004623/0.2011, allocations: 221.2 kB / 0.8459 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.2012, allocations: 8 kB / 0.8459 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2012, allocations: 4 kB / 0.8459 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.2012, allocations: 7.938 kB / 0.8459 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.2014, allocations: 51.92 kB / 0.846 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.2014, allocations: 11.92 kB / 0.846 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2015, allocations: 28.22 kB / 0.846 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.2015, allocations: 23.94 kB / 0.846 GB, free: 10.18 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001235/0.2016, allocations: 125.8 kB / 0.8462 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.2017, allocations: 19.91 kB / 0.8462 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.202, allocations: 161.5 kB / 0.8463 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.202, allocations: 7.938 kB / 0.8463 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.202, allocations: 0 / 0.8463 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.202, allocations: 0 / 0.8463 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.2023, allocations: 180.6 kB / 0.8465 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2023, allocations: 0 / 0.8465 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2024, allocations: 31.98 kB / 0.8465 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.2024, allocations: 7.984 kB / 0.8465 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2024, allocations: 7.984 kB / 0.8465 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2024, allocations: 3.938 kB / 0.8466 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2024, allocations: 0 / 0.8466 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.2027, allocations: 223.3 kB / 0.8468 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.2027, allocations: 31.86 kB / 0.8468 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.2028, allocations: 4 kB / 0.8468 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.203, allocations: 15.92 kB / 0.8468 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.203, allocations: 11.98 kB / 0.8468 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.203, allocations: 8 kB / 0.8468 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001021/0.2031, allocations: 124 kB / 0.847 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.2031, allocations: 0 / 0.847 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003824/0.2035, allocations: 79.86 kB / 0.847 GB, free: 9.082 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0007554/0.2042, allocations: 0.8331 MB / 0.8478 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2045, allocations: 118.4 kB / 0.848 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2045, allocations: 3.938 kB / 0.848 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.2045, allocations: 43.92 kB / 0.848 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.205, allocations: 54.7 kB / 0.8481 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.2072, allocations: 2.046 MB / 0.8501 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.948e-05/0.2073, allocations: 103.2 kB / 0.8502 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.2075, allocations: 53.75 kB / 0.8502 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.2075, allocations: 47.41 kB / 0.8502 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of SimCode: time 4.01e-07/0.2075, allocations: 0 / 0.8502 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.2413, allocations: 6.114 MB / 0.8562 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.96, allocations: 0 / 0.8562 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.WaterProperties_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_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.082562938798219] Failed to read output from testmodel.py, exit status != 0: 11.067591255996376 11.090546988 10.89209905 Calling exit ...