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.001247/0.001247, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 195.6 kB / 16.53 MB, free: 6.699 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 293.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.924/0.924, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 98.47 kB / 0.5952 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1507, allocations: 86.98 MB / 0.6802 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005085/0.1558, allocations: 4.046 MB / 0.6841 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1583, allocations: 2.422 MB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.1584, allocations: 4 kB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1587, allocations: 43.67 kB / 0.6865 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1589, allocations: 107.3 kB / 0.6866 GB, free: 10.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.16, allocations: 0.521 MB / 0.6871 GB, free: 9.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.1603, allocations: 263.9 kB / 0.6874 GB, free: 9.277 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1604, allocations: 17.53 kB / 0.6874 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.1606, allocations: 115.6 kB / 0.6875 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.1607, allocations: 91.66 kB / 0.6876 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.529e-05/0.1607, allocations: 8 kB / 0.6876 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007603/0.1615, allocations: 459.2 kB / 0.6881 GB, free: 8.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.1616, allocations: 39.88 kB / 0.6881 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.659e-05/0.1617, allocations: 79.67 kB / 0.6882 GB, free: 8.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.1623, allocations: 411.2 kB / 0.6886 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1623, allocations: 4 kB / 0.6886 GB, free: 8.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1623, allocations: 0 / 0.6886 GB, free: 8.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.1623, allocations: 0 / 0.6886 GB, free: 8.078 MB / 494.1 MB 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.0007236/0.163, allocations: 0.5109 MB / 0.6891 GB, free: 7.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1631, allocations: 8.031 kB / 0.6891 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.165, allocations: 180.6 kB / 0.6892 GB, free: 7.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1653, allocations: 204.1 kB / 0.6894 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1653, allocations: 16.69 kB / 0.6895 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.1653, allocations: 16.31 kB / 0.6895 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.1659, allocations: 313 kB / 0.6898 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.166, allocations: 0 / 0.6898 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.166, allocations: 15.92 kB / 0.6898 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.166, allocations: 4 kB / 0.6898 GB, free: 6.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.1668, allocations: 263.6 kB / 0.69 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.1683, allocations: 1.389 MB / 0.6914 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.169, allocations: 190.5 kB / 0.6916 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.1692, allocations: 88.7 kB / 0.6917 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1692, allocations: 7.922 kB / 0.6917 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1693, allocations: 38.56 kB / 0.6917 GB, free: 4.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.1693, allocations: 0 / 0.6917 GB, free: 4.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007687/0.17, allocations: 239.4 kB / 0.6919 GB, free: 4.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.1701, allocations: 59.34 kB / 0.692 GB, free: 4.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.1702, allocations: 160 kB / 0.6921 GB, free: 4.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1703, allocations: 29.7 kB / 0.6922 GB, free: 4.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.1703, allocations: 128 kB / 0.6923 GB, free: 3.969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.1704, allocations: 63.09 kB / 0.6924 GB, free: 3.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.1705, allocations: 45.94 kB / 0.6924 GB, free: 3.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1706, allocations: 330.8 kB / 0.6927 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.1708, allocations: 64.41 kB / 0.6928 GB, free: 3.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.1711, allocations: 144.1 kB / 0.6929 GB, free: 3.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.1715, allocations: 215.4 kB / 0.6931 GB, free: 3.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1716, allocations: 4 kB / 0.6931 GB, free: 3.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005797/0.1721, allocations: 257 kB / 0.6934 GB, free: 2.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.1722, allocations: 4 kB / 0.6934 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1722, allocations: 4 kB / 0.6934 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1722, allocations: 4.312 kB / 0.6934 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.1725, allocations: 63.89 kB / 0.6934 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1726, allocations: 4 kB / 0.6934 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.1728, allocations: 35.67 kB / 0.6935 GB, free: 2.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.1728, allocations: 8 kB / 0.6935 GB, free: 2.66 MB / 494.1 MB 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.000107/0.1729, allocations: 134.4 kB / 0.6936 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.173, allocations: 15.89 kB / 0.6936 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/0.1736, allocations: 236 kB / 0.6939 GB, free: 2.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1737, allocations: 4 kB / 0.6939 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1737, allocations: 0 / 0.6939 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1737, allocations: 3.984 kB / 0.6939 GB, free: 2.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1739, allocations: 241.4 kB / 0.6941 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.174, allocations: 0 / 0.6941 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.1743, allocations: 51.89 kB / 0.6941 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1743, allocations: 4 kB / 0.6941 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1743, allocations: 0 / 0.6941 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1743, allocations: 8 kB / 0.6942 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.1743, allocations: 7.938 kB / 0.6942 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005419/0.1749, allocations: 301.2 kB / 0.6944 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.175, allocations: 104.9 kB / 0.6945 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.175, allocations: 4 kB / 0.6946 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.1753, allocations: 19.98 kB / 0.6946 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.1753, allocations: 7.984 kB / 0.6946 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.1754, allocations: 12 kB / 0.6946 GB, free: 1.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.956e-05/0.1755, allocations: 121.1 kB / 0.6947 GB, free: 1.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1755, allocations: 0 / 0.6947 GB, free: 1.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00034/0.1758, allocations: 63.92 kB / 0.6948 GB, free: 1.25 MB / 494.1 MB 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.0001841/0.176, allocations: 135.3 kB / 0.6949 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.1766, allocations: 184.3 kB / 0.6951 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1766, allocations: 4 kB / 0.6951 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.1768, allocations: 83.88 kB / 0.6952 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.1773, allocations: 70.22 kB / 0.6952 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/0.1782, allocations: 411.3 kB / 0.6956 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.1785, allocations: 0.7095 MB / 0.6963 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.1789, allocations: 53.92 kB / 0.6964 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.1789, allocations: 27.42 kB / 0.6964 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.179, allocations: 0 / 0.6964 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.006458/0.1854, allocations: 3.39 MB / 0.6997 GB, free: 12.22 MB / 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)