Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.001326/0.001326, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001417/0.001417, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.003891/0.003891, allocations: 277.6 kB / 313.5 MB, free: 2.617 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.174/1.174, allocations: 180.6 MB / 0.5377 GB, free: 14.37 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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [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.002859/0.002859, allocations: 90.58 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1539, allocations: 95.39 MB / 0.8339 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01722/0.1711, allocations: 11.96 MB / 0.8456 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003162/0.1743, allocations: 2.414 MB / 0.848 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.1744, allocations: 0 / 0.848 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1747, allocations: 43.69 kB / 0.848 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003083/0.175, allocations: 103.3 kB / 0.8481 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.1764, allocations: 0.5304 MB / 0.8486 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.1767, allocations: 239.9 kB / 0.8488 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.1767, allocations: 5.75 kB / 0.8489 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007998/0.1847, allocations: 3.57 MB / 0.8523 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.1849, allocations: 91.64 kB / 0.8524 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.185, allocations: 8 kB / 0.8524 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.1874, allocations: 1.027 MB / 0.8534 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 7.29e-05/0.1875, allocations: 43.83 kB / 0.8535 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 9.814e-05/0.1876, allocations: 67.72 kB / 0.8535 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007596/0.1884, allocations: 362.9 kB / 0.8539 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.1884, allocations: 0 / 0.8539 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1884, allocations: 0 / 0.8539 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.1884, allocations: 0 / 0.8539 GB, free: 3.25 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.0007648/0.1892, allocations: 457.3 kB / 0.8543 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.1892, allocations: 9.344 kB / 0.8543 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.1894, allocations: 20.84 kB / 0.8544 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1897, allocations: 166.3 kB / 0.8545 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1897, allocations: 8.703 kB / 0.8545 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1897, allocations: 24.38 kB / 0.8545 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.1903, allocations: 488.2 kB / 0.855 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1903, allocations: 3.938 kB / 0.855 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.1903, allocations: 12 kB / 0.855 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.1903, allocations: 7.984 kB / 0.855 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005111/0.1908, allocations: 423.3 kB / 0.8554 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1919, allocations: 0.7896 MB / 0.8562 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003154/0.1922, allocations: 150.2 kB / 0.8564 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1923, allocations: 56.89 kB / 0.8564 GB, free: 500 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/0.193, allocations: 459.9 kB / 0.8568 GB, free: 20 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.1931, allocations: 34.56 kB / 0.8569 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/0.1931, allocations: 0 / 0.8569 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0003172/0.1934, allocations: 147.4 kB / 0.857 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.1935, allocations: 55.41 kB / 0.8571 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.1936, allocations: 162.3 kB / 0.8572 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.1936, allocations: 33.64 kB / 0.8573 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.1937, allocations: 148.1 kB / 0.8574 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.1938, allocations: 59.52 kB / 0.8575 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.1938, allocations: 53.66 kB / 0.8575 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.194, allocations: 322.8 kB / 0.8578 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.429e-05/0.194, allocations: 31.98 kB / 0.8578 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.1942, allocations: 147.4 kB / 0.858 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.1944, allocations: 199.7 kB / 0.8582 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1944, allocations: 0 / 0.8582 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003318/0.1948, allocations: 221.2 kB / 0.8584 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1948, allocations: 4 kB / 0.8584 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1948, allocations: 4 kB / 0.8584 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1948, allocations: 8 kB / 0.8584 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.195, allocations: 56.39 kB / 0.8585 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.195, allocations: 19.86 kB / 0.8585 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1951, allocations: 23.78 kB / 0.8585 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1951, allocations: 16 kB / 0.8585 GB, free: 14.15 MB / 0.6075 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.0001095/0.1952, allocations: 125.8 kB / 0.8586 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.644e-05/0.1953, allocations: 11.95 kB / 0.8586 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.1956, allocations: 162.2 kB / 0.8588 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.1956, allocations: 0 / 0.8588 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1956, allocations: 3.938 kB / 0.8588 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1956, allocations: 0 / 0.8588 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.1958, allocations: 157.2 kB / 0.859 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1958, allocations: 0 / 0.859 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.1959, allocations: 31.92 kB / 0.859 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1959, allocations: 0 / 0.859 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1959, allocations: 4 kB / 0.859 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1959, allocations: 4 kB / 0.859 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1959, allocations: 0 / 0.859 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.1962, allocations: 222.3 kB / 0.8592 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.1963, allocations: 31.81 kB / 0.8592 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1963, allocations: 4 kB / 0.8592 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.1965, allocations: 23.92 kB / 0.8593 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.1965, allocations: 11.92 kB / 0.8593 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.1965, allocations: 15.92 kB / 0.8593 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.314e-05/0.1966, allocations: 115.3 kB / 0.8594 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.1966, allocations: 0 / 0.8594 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003724/0.197, allocations: 75.88 kB / 0.8595 GB, free: 13.11 MB / 0.6075 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.0003063/0.1973, allocations: 191 kB / 0.8596 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.1975, allocations: 108.7 kB / 0.8598 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1975, allocations: 0 / 0.8598 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1976, allocations: 47.91 kB / 0.8598 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1979, allocations: 43.48 kB / 0.8598 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.1986, allocations: 373.4 kB / 0.8602 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.963e-05/0.1987, allocations: 102.8 kB / 0.8603 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.1988, allocations: 31.42 kB / 0.8603 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.1988, allocations: 0 / 0.8603 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.005627/0.2044, allocations: 3.379 MB / 0.8636 GB, free: 8.824 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.332291008904576] Failed to read output from testmodel.py, exit status != 0: 0.21195468679070473 0.22660468800000003 0.035245164 Calling exit ...