Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001326/0.001326, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9452/0.9452, allocations: 135.6 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 67.33 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1661, allocations: 81.01 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005797/0.1719, allocations: 4.096 MB / 0.5885 GB, free: 180 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002809/0.1748, allocations: 2.426 MB / 0.5909 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.1749, allocations: 0 / 0.5909 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1751, allocations: 39.75 kB / 0.5909 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1755, allocations: 87.47 kB / 0.591 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1767, allocations: 497.5 kB / 0.5915 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.177, allocations: 259.9 kB / 0.5917 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.438e-05/0.1771, allocations: 17.53 kB / 0.5917 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1773, allocations: 115.5 kB / 0.5918 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1774, allocations: 111.6 kB / 0.5919 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.1774, allocations: 8 kB / 0.5919 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.1782, allocations: 455.2 kB / 0.5924 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.1783, allocations: 43.83 kB / 0.5924 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.1784, allocations: 87.59 kB / 0.5925 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.179, allocations: 415.2 kB / 0.5929 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.179, allocations: 0 / 0.5929 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.179, allocations: 4 kB / 0.5929 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.179, allocations: 0 / 0.5929 GB, free: 11.65 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.0007874/0.1798, allocations: 0.5031 MB / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1798, allocations: 8.031 kB / 0.5934 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.1818, allocations: 188.5 kB / 0.5936 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.182, allocations: 204.1 kB / 0.5938 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1821, allocations: 12.7 kB / 0.5938 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.1821, allocations: 12.38 kB / 0.5938 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006665/0.1828, allocations: 312.4 kB / 0.5941 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1828, allocations: 3.984 kB / 0.5941 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1829, allocations: 16 kB / 0.5941 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.1829, allocations: 4 kB / 0.5941 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006856/0.1836, allocations: 259.5 kB / 0.5944 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.1853, allocations: 1.389 MB / 0.5957 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.1859, allocations: 198.4 kB / 0.5959 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.1861, allocations: 76.81 kB / 0.596 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.1862, allocations: 4 kB / 0.596 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1862, allocations: 30.56 kB / 0.596 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 3.436e-06/0.1862, allocations: 4 kB / 0.596 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007909/0.187, allocations: 247.5 kB / 0.5963 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1871, allocations: 59.34 kB / 0.5963 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1872, allocations: 154.3 kB / 0.5965 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.1873, allocations: 29.7 kB / 0.5965 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.975e-05/0.1874, allocations: 136 kB / 0.5966 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.1874, allocations: 63.09 kB / 0.5967 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.099e-05/0.1875, allocations: 49.92 kB / 0.5967 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1877, allocations: 322.8 kB / 0.597 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.1879, allocations: 64.42 kB / 0.5971 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.1882, allocations: 147.9 kB / 0.5972 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004644/0.1886, allocations: 217.1 kB / 0.5975 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1886, allocations: 0 / 0.5975 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005755/0.1892, allocations: 247.5 kB / 0.5977 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1892, allocations: 12.06 kB / 0.5977 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1893, allocations: 3.938 kB / 0.5977 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1893, allocations: 7.938 kB / 0.5977 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.1896, allocations: 67.89 kB / 0.5978 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1897, allocations: 11.92 kB / 0.5978 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.1899, allocations: 27.75 kB / 0.5978 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.1899, allocations: 15.98 kB / 0.5978 GB, free: 6.23 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.0001246/0.1901, allocations: 138.3 kB / 0.598 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.1901, allocations: 15.81 kB / 0.598 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.1907, allocations: 226.7 kB / 0.5982 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1908, allocations: 4 kB / 0.5982 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.1908, allocations: 0 / 0.5982 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1908, allocations: 0 / 0.5982 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.1911, allocations: 249.3 kB / 0.5984 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1911, allocations: 0 / 0.5984 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.1914, allocations: 51.91 kB / 0.5985 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/0.1914, allocations: 7.984 kB / 0.5985 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1914, allocations: 0 / 0.5985 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.1914, allocations: 3.984 kB / 0.5985 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1914, allocations: 0 / 0.5985 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.192, allocations: 293.5 kB / 0.5988 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/0.1921, allocations: 100.9 kB / 0.5989 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.1921, allocations: 11.98 kB / 0.5989 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.1924, allocations: 15.98 kB / 0.5989 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.1925, allocations: 15.94 kB / 0.5989 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.1925, allocations: 8 kB / 0.5989 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.1926, allocations: 111.2 kB / 0.599 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1926, allocations: 7.938 kB / 0.599 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003581/0.1929, allocations: 68.06 kB / 0.5991 GB, free: 4.832 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.0002328/0.1932, allocations: 139.2 kB / 0.5992 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.1937, allocations: 195.6 kB / 0.5994 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1937, allocations: 0 / 0.5994 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.194, allocations: 88.5 kB / 0.5995 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000527/0.1945, allocations: 70.06 kB / 0.5996 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009558/0.1955, allocations: 451.4 kB / 0.6 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1958, allocations: 0.7212 MB / 0.6007 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000332/0.1961, allocations: 49.92 kB / 0.6008 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.1962, allocations: 31.42 kB / 0.6008 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1962, allocations: 0 / 0.6008 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.2356/0.4319, allocations: 3.365 MB / 0.6041 GB, free: 51.71 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)