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.001512/0.001512, allocations: 103.7 kB / 16.4 MB, free: 6.414 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.001596/0.001596, allocations: 191 kB / 17.34 MB, free: 5.691 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8554/0.8554, allocations: 135.2 MB / 426.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 65.98 kB / 0.5864 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1669, allocations: 80.93 MB / 0.6654 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00595/0.1729, allocations: 4.056 MB / 0.6694 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1759, allocations: 2.43 MB / 0.6718 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.176, allocations: 4 kB / 0.6718 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.1763, allocations: 47.67 kB / 0.6718 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.1766, allocations: 103.3 kB / 0.6719 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.1781, allocations: 0.5284 MB / 0.6724 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.1785, allocations: 267.8 kB / 0.6727 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.14e-05/0.1785, allocations: 5.562 kB / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.1788, allocations: 111.6 kB / 0.6728 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1789, allocations: 103.6 kB / 0.6729 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.179, allocations: 8 kB / 0.6729 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008979/0.1799, allocations: 455.3 kB / 0.6733 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.347e-05/0.1799, allocations: 47.81 kB / 0.6734 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1801, allocations: 83.59 kB / 0.6735 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.1807, allocations: 410.7 kB / 0.6739 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1807, allocations: 0 / 0.6739 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.532e-06/0.1807, allocations: 4 kB / 0.6739 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.1807, allocations: 0 / 0.6739 GB, free: 12.98 MB / 0.5137 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.0008648/0.1816, allocations: 0.5141 MB / 0.6744 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1816, allocations: 9.109 kB / 0.6744 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.1836, allocations: 176.6 kB / 0.6745 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.184, allocations: 208.2 kB / 0.6747 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.184, allocations: 12.7 kB / 0.6748 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.1841, allocations: 20.3 kB / 0.6748 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007075/0.1848, allocations: 312.3 kB / 0.6751 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1848, allocations: 0 / 0.6751 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.1848, allocations: 12 kB / 0.6751 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.1849, allocations: 4 kB / 0.6751 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007347/0.1856, allocations: 259.6 kB / 0.6753 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.1874, allocations: 1.389 MB / 0.6767 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/0.1881, allocations: 182.5 kB / 0.6769 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.1883, allocations: 72.75 kB / 0.6769 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.1883, allocations: 7.938 kB / 0.6769 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1884, allocations: 42.55 kB / 0.677 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.1884, allocations: 0 / 0.677 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008418/0.1892, allocations: 243.1 kB / 0.6772 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1892, allocations: 59.41 kB / 0.6773 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1894, allocations: 161.5 kB / 0.6774 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1894, allocations: 33.7 kB / 0.6775 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1895, allocations: 124.2 kB / 0.6776 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.87e-05/0.1896, allocations: 67.42 kB / 0.6776 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.1897, allocations: 53.92 kB / 0.6777 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1898, allocations: 322.8 kB / 0.678 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.1901, allocations: 68.41 kB / 0.6781 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.1903, allocations: 143.2 kB / 0.6782 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.1909, allocations: 222.8 kB / 0.6784 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1909, allocations: 4 kB / 0.6784 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006405/0.1915, allocations: 249.2 kB / 0.6787 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1915, allocations: 7.984 kB / 0.6787 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1915, allocations: 4 kB / 0.6787 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.1915, allocations: 4 kB / 0.6787 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.1919, allocations: 59.89 kB / 0.6787 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1919, allocations: 4.312 kB / 0.6787 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.1921, allocations: 39.77 kB / 0.6788 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.1922, allocations: 15.98 kB / 0.6788 GB, free: 7.559 MB / 0.5137 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.0001412/0.1923, allocations: 129.7 kB / 0.6789 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.1924, allocations: 15.91 kB / 0.6789 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006736/0.193, allocations: 237 kB / 0.6791 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1931, allocations: 4 kB / 0.6792 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1931, allocations: 4 kB / 0.6792 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1931, allocations: 0 / 0.6792 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.1934, allocations: 253.5 kB / 0.6794 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1934, allocations: 0 / 0.6794 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.1937, allocations: 43.95 kB / 0.6794 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1937, allocations: 4 kB / 0.6794 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.1937, allocations: 4 kB / 0.6794 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1937, allocations: 3.938 kB / 0.6795 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1937, allocations: 3.938 kB / 0.6795 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.1943, allocations: 295.3 kB / 0.6797 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.1944, allocations: 105 kB / 0.6798 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.1944, allocations: 8 kB / 0.6798 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.1947, allocations: 11.98 kB / 0.6799 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.1947, allocations: 11.98 kB / 0.6799 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1948, allocations: 16 kB / 0.6799 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001022/0.1949, allocations: 115.2 kB / 0.68 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1949, allocations: 0 / 0.68 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003834/0.1952, allocations: 67.89 kB / 0.6801 GB, free: 6.152 MB / 0.5137 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.0002494/0.1955, allocations: 146.1 kB / 0.6802 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005765/0.1961, allocations: 175.8 kB / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1961, allocations: 0.625 kB / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1963, allocations: 83.89 kB / 0.6804 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.1968, allocations: 54.02 kB / 0.6805 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1978, allocations: 432.7 kB / 0.6809 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.1981, allocations: 0.7173 MB / 0.6816 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.1983, allocations: 27.42 kB / 0.6816 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.1983, allocations: 4 kB / 0.6816 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of Templates: time 0.005756/0.204, allocations: 2.951 MB / 0.6845 GB, free: 1.535 MB / 0.5137 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)