Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001846/0.001846, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002135/0.002135, allocations: 192.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 283 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.13/1.13, allocations: 178.6 MB / 0.507 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002768/0.002768, allocations: 97.22 kB / 0.6059 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1659, allocations: 89.16 MB / 0.693 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00612/0.1721, allocations: 4.096 MB / 0.697 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.1752, allocations: 2.418 MB / 0.6993 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.1753, allocations: 0 / 0.6993 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.1756, allocations: 39.75 kB / 0.6994 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.1759, allocations: 95.47 kB / 0.6995 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1772, allocations: 490.6 kB / 0.6999 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.1776, allocations: 259.9 kB / 0.7002 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.1776, allocations: 13.56 kB / 0.7002 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.1778, allocations: 115.6 kB / 0.7003 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.178, allocations: 91.66 kB / 0.7004 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.178, allocations: 8 kB / 0.7004 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008389/0.1789, allocations: 467.1 kB / 0.7009 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.046e-05/0.179, allocations: 47.81 kB / 0.7009 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.32e-05/0.1791, allocations: 75.66 kB / 0.701 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.1797, allocations: 423.2 kB / 0.7014 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1797, allocations: 0 / 0.7014 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1797, allocations: 0 / 0.7014 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.308e-06/0.1798, allocations: 4 kB / 0.7014 GB, free: 12.09 MB / 0.4981 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.0007934/0.1806, allocations: 0.5031 MB / 0.7019 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1806, allocations: 8.031 kB / 0.7019 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.1827, allocations: 180.5 kB / 0.702 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.183, allocations: 208.2 kB / 0.7022 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.183, allocations: 16.7 kB / 0.7023 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.183, allocations: 12.38 kB / 0.7023 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.1837, allocations: 304.4 kB / 0.7026 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1837, allocations: 7.922 kB / 0.7026 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.1838, allocations: 8 kB / 0.7026 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.1838, allocations: 7.938 kB / 0.7026 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.1846, allocations: 263.6 kB / 0.7028 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1864, allocations: 1.396 MB / 0.7042 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.1871, allocations: 190.5 kB / 0.7044 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1873, allocations: 76.81 kB / 0.7045 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.1874, allocations: 4 kB / 0.7045 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.1874, allocations: 38.56 kB / 0.7045 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.303e-06/0.1874, allocations: 0 / 0.7045 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0008309/0.1883, allocations: 246.7 kB / 0.7047 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1883, allocations: 59.31 kB / 0.7048 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.1885, allocations: 159.7 kB / 0.7049 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.1886, allocations: 33.7 kB / 0.705 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.1886, allocations: 128 kB / 0.7051 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.1887, allocations: 63.09 kB / 0.7052 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.1888, allocations: 57.92 kB / 0.7052 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.189, allocations: 318.8 kB / 0.7055 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.1892, allocations: 64.42 kB / 0.7056 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.1895, allocations: 138.3 kB / 0.7057 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.1901, allocations: 223.2 kB / 0.7059 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1901, allocations: 4 kB / 0.7059 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006264/0.1907, allocations: 249.1 kB / 0.7062 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1908, allocations: 10.34 kB / 0.7062 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1908, allocations: 4 kB / 0.7062 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1908, allocations: 8.312 kB / 0.7062 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.1912, allocations: 63.89 kB / 0.7062 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.1912, allocations: 4 kB / 0.7062 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1915, allocations: 27.73 kB / 0.7063 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.986e-05/0.1915, allocations: 15.98 kB / 0.7063 GB, free: 6.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001501/0.1917, allocations: 133.7 kB / 0.7064 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.1917, allocations: 15.91 kB / 0.7064 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006948/0.1924, allocations: 232.8 kB / 0.7067 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1924, allocations: 4 kB / 0.7067 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1924, allocations: 0 / 0.7067 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1925, allocations: 0 / 0.7067 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.1928, allocations: 245.4 kB / 0.7069 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1928, allocations: 3.938 kB / 0.7069 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.1931, allocations: 47.97 kB / 0.7069 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1931, allocations: 7.938 kB / 0.707 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.1932, allocations: 7.984 kB / 0.707 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1932, allocations: 4 kB / 0.707 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1932, allocations: 3.984 kB / 0.707 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006278/0.1938, allocations: 291.2 kB / 0.7072 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.194, allocations: 104.8 kB / 0.7073 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.303e-05/0.1941, allocations: 12 kB / 0.7074 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.1944, allocations: 19.97 kB / 0.7074 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.1944, allocations: 15.97 kB / 0.7074 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1945, allocations: 4 kB / 0.7074 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001016/0.1946, allocations: 121.1 kB / 0.7075 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1946, allocations: 0 / 0.7075 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003731/0.195, allocations: 64.06 kB / 0.7076 GB, free: 5.27 MB / 0.4981 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 (20): * Single equations (assignments): 20 * 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.0002276/0.1952, allocations: 141 kB / 0.7077 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005756/0.1958, allocations: 187.7 kB / 0.7079 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1958, allocations: 0 / 0.7079 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.196, allocations: 90.12 kB / 0.708 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.1966, allocations: 60.52 kB / 0.708 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1976, allocations: 463.3 kB / 0.7085 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.198, allocations: 0.7172 MB / 0.7092 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003693/0.1984, allocations: 57.92 kB / 0.7092 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.86e-05/0.1985, allocations: 23.42 kB / 0.7092 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1985, allocations: 0 / 0.7092 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of Templates: time 0.007808/0.2063, allocations: 3.395 MB / 0.7126 GB, free: 188 kB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)