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.001521/0.001521, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.00159/0.00159, allocations: 192.9 kB / 22.85 MB, free: 5.641 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.412/1.412, allocations: 225.6 MB / 251.6 MB, free: 13.03 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.00257/0.00257, allocations: 282.5 kB / 307 MB, free: 8.363 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.257/1.257, allocations: 180.8 MB / 0.5304 GB, free: 14.47 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: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002922/0.002922, allocations: 101.5 kB / 0.7311 GB, free: 38.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1773, allocations: 94.2 MB / 0.8231 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.006183/0.1835, allocations: 3.315 MB / 0.8263 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001387/0.1836, allocations: 55.84 kB / 0.8264 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.1836, allocations: 0 / 0.8264 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.1837, allocations: 7.938 kB / 0.8264 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.417e-05/0.1838, allocations: 11.92 kB / 0.8264 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.1846, allocations: 191.3 kB / 0.8266 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1847, allocations: 31.84 kB / 0.8266 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.1847, allocations: 4 kB / 0.8266 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.1848, allocations: 23.92 kB / 0.8266 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1849, allocations: 15.97 kB / 0.8266 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1849, allocations: 3.938 kB / 0.8266 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003889/0.1853, allocations: 131.6 kB / 0.8268 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.658e-05/0.1853, allocations: 11.98 kB / 0.8268 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.1854, allocations: 7.938 kB / 0.8268 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.1857, allocations: 119.7 kB / 0.8269 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1857, allocations: 0 / 0.8269 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1857, allocations: 0 / 0.8269 GB, free: 14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.1857, allocations: 0 / 0.8269 GB, free: 14 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.0005061/0.1862, allocations: 286.1 kB / 0.8272 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1863, allocations: 8.031 kB / 0.8272 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1863, allocations: 4.938 kB / 0.8272 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1864, allocations: 110.5 kB / 0.8273 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.1865, allocations: 26.27 kB / 0.8273 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.1865, allocations: 384 / 0.8273 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.1867, allocations: 45.62 kB / 0.8274 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1867, allocations: 0 / 0.8274 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1867, allocations: 8 kB / 0.8274 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.1867, allocations: 0 / 0.8274 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.1868, allocations: 15.98 kB / 0.8274 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.1874, allocations: 267.9 kB / 0.8276 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.1874, allocations: 14.58 kB / 0.8276 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.1874, allocations: 4.859 kB / 0.8276 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.1875, allocations: 47.95 kB / 0.8277 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.1876, allocations: 38.5 kB / 0.8277 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1876, allocations: 0 / 0.8277 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001794/0.1878, allocations: 41.59 kB / 0.8278 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1878, allocations: 51.41 kB / 0.8278 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1879, allocations: 105.8 kB / 0.8279 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1879, allocations: 25.7 kB / 0.8279 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.188, allocations: 92.22 kB / 0.828 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.188, allocations: 7.922 kB / 0.828 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.1881, allocations: 13.72 kB / 0.8281 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1882, allocations: 318.8 kB / 0.8284 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.1882, allocations: 4 kB / 0.8284 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.106e-05/0.1883, allocations: 17.7 kB / 0.8284 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.1883, allocations: 29.66 kB / 0.8284 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1883, allocations: 0 / 0.8284 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001013/0.1884, allocations: 49.64 kB / 0.8285 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1884, allocations: 4 kB / 0.8285 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1884, allocations: 4 kB / 0.8285 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1885, allocations: 0 / 0.8285 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.1885, allocations: 7.938 kB / 0.8285 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1885, allocations: 3.984 kB / 0.8285 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.1885, allocations: 0 / 0.8285 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.1886, allocations: 4.062 kB / 0.8285 GB, free: 12.17 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 9.452e-05/0.1886, allocations: 118.4 kB / 0.8286 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1887, allocations: 4 kB / 0.8286 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.1888, allocations: 117 kB / 0.8287 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-05/0.1889, allocations: 180.2 kB / 0.8289 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.055e-05/0.189, allocations: 180.2 kB / 0.829 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.714e-05/0.1891, allocations: 188.2 kB / 0.8292 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.1894, allocations: 380.2 kB / 0.8296 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.475e-05/0.1894, allocations: 101.1 kB / 0.8297 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1895, allocations: 112.9 kB / 0.8298 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/0.1896, allocations: 176.5 kB / 0.83 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/0.1896, allocations: 184.2 kB / 0.8301 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.072e-05/0.1897, allocations: 184.2 kB / 0.8303 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.786e-05/0.1898, allocations: 180.3 kB / 0.8305 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.19, allocations: 311.6 kB / 0.8308 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.19, allocations: 112.9 kB / 0.8309 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/0.1901, allocations: 188.2 kB / 0.8311 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1903, allocations: 101 kB / 0.8312 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/0.1904, allocations: 180.2 kB / 0.8313 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.1904, allocations: 109 kB / 0.8314 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.1905, allocations: 87.28 kB / 0.8315 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.1905, allocations: 3.938 kB / 0.8315 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002977/0.1908, allocations: 35.88 kB / 0.8316 GB, free: 8.812 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.0002905/0.1911, allocations: 239.4 kB / 0.8318 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.485e-05/0.1911, allocations: 11.94 kB / 0.8318 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1911, allocations: 0 / 0.8318 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1911, allocations: 0 / 0.8318 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.1916, allocations: 466.1 kB / 0.8322 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.1919, allocations: 193.6 kB / 0.8324 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.1922, allocations: 0.6729 MB / 0.8331 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.1922, allocations: 10.34 kB / 0.8331 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.009e-05/0.1923, allocations: 11.44 kB / 0.8331 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.1923, allocations: 0 / 0.8331 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of Templates: time 0.003985/0.1962, allocations: 1.212 MB / 0.8343 GB, free: 6.004 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.024644350996823] Failed to read output from testmodel.py, exit status != 0: 0.20385320900095394 0.21911408100000002 0.030328473 Calling exit ...