Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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) 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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, 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.001501/0.001501, allocations: 186.6 kB / 16.25 MB, free: 6.617 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.397/1.397, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7763/0.7763, allocations: 132.2 MB / 422.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.75 kB / 0.5013 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1809, allocations: 80.2 MB / 0.5796 GB, free: 9.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004578/0.1856, allocations: 3.327 MB / 0.5829 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001042/0.1857, allocations: 59.84 kB / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.37e-05/0.1857, allocations: 0 / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.857e-05/0.1858, allocations: 0 / 0.5829 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.664e-05/0.1859, allocations: 11.92 kB / 0.5829 GB, free: 5.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.1864, allocations: 186.2 kB / 0.5831 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.765e-05/0.1865, allocations: 23.92 kB / 0.5831 GB, free: 5.477 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1866, allocations: 7.984 kB / 0.5831 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.1866, allocations: 19.88 kB / 0.5831 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.59e-05/0.1867, allocations: 11.98 kB / 0.5832 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1867, allocations: 0 / 0.5832 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003093/0.187, allocations: 171.5 kB / 0.5833 GB, free: 5.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.1871, allocations: 11.92 kB / 0.5833 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1871, allocations: 11.94 kB / 0.5833 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1874, allocations: 140 kB / 0.5835 GB, free: 5.109 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1874, allocations: 4 kB / 0.5835 GB, free: 5.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1874, allocations: 0 / 0.5835 GB, free: 5.105 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1874, allocations: 0 / 0.5835 GB, free: 5.105 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000416/0.1878, allocations: 351.4 kB / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1878, allocations: 12.03 kB / 0.5838 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1879, allocations: 0.9375 kB / 0.5838 GB, free: 4.703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.188, allocations: 168.3 kB / 0.584 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.262e-05/0.1881, allocations: 30.27 kB / 0.584 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.1881, allocations: 384 / 0.584 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.1882, allocations: 57.59 kB / 0.5841 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.1883, allocations: 0 / 0.5841 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.1883, allocations: 4 kB / 0.5841 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.1883, allocations: 0 / 0.5841 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.583e-05/0.1883, allocations: 15.98 kB / 0.5841 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.1889, allocations: 0.5833 MB / 0.5847 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.269e-05/0.189, allocations: 18.58 kB / 0.5847 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.189, allocations: 8.859 kB / 0.5847 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.1892, allocations: 340.5 kB / 0.585 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.1893, allocations: 30.56 kB / 0.585 GB, free: 3.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.1893, allocations: 0 / 0.585 GB, free: 3.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001474/0.1894, allocations: 53.47 kB / 0.5851 GB, free: 3.133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.1895, allocations: 51.41 kB / 0.5851 GB, free: 3.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.092e-05/0.1895, allocations: 97.98 kB / 0.5852 GB, free: 2.965 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1896, allocations: 29.7 kB / 0.5853 GB, free: 2.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.603e-05/0.1896, allocations: 88.12 kB / 0.5853 GB, free: 2.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-06/0.1896, allocations: 7.891 kB / 0.5854 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.1897, allocations: 17.66 kB / 0.5854 GB, free: 2.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.819e-05/0.1898, allocations: 318.8 kB / 0.5857 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.1898, allocations: 7.984 kB / 0.5857 GB, free: 2.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.1898, allocations: 17.72 kB / 0.5857 GB, free: 2.457 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.1898, allocations: 21.66 kB / 0.5857 GB, free: 2.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1899, allocations: 0 / 0.5857 GB, free: 2.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.332e-05/0.1899, allocations: 49.69 kB / 0.5858 GB, free: 2.375 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1899, allocations: 4 kB / 0.5858 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.19, allocations: 0 / 0.5858 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.19, allocations: 0 / 0.5858 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.513e-05/0.19, allocations: 8 kB / 0.5858 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.19, allocations: 11.98 kB / 0.5858 GB, free: 2.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.1901, allocations: 3.938 kB / 0.5858 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1901, allocations: 0 / 0.5858 GB, free: 2.348 MB / 494.1 MB 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 6.788e-05/0.1901, allocations: 114.4 kB / 0.5859 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.1902, allocations: 3.906 kB / 0.5859 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1903, allocations: 125 kB / 0.586 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/0.1903, allocations: 184.2 kB / 0.5862 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-05/0.1904, allocations: 180.3 kB / 0.5864 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/0.1905, allocations: 176.3 kB / 0.5865 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1907, allocations: 413.1 kB / 0.5869 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.1907, allocations: 101 kB / 0.587 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.1907, allocations: 104.9 kB / 0.5871 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.569e-05/0.1908, allocations: 184.2 kB / 0.5873 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.1909, allocations: 188.4 kB / 0.5875 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.898e-05/0.1909, allocations: 180.3 kB / 0.5877 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.096e-05/0.191, allocations: 176.3 kB / 0.5878 GB, free: 120 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1911, allocations: 315.7 kB / 0.5881 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.1912, allocations: 186.3 kB / 0.5883 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.042e-05/0.1913, allocations: 180.3 kB / 0.5885 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1914, allocations: 112.9 kB / 0.5886 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1915, allocations: 188.2 kB / 0.5888 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.1915, allocations: 101 kB / 0.5889 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.1916, allocations: 91.27 kB / 0.589 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1916, allocations: 0 / 0.589 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002588/0.1918, allocations: 36 kB / 0.589 GB, free: 14.86 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 (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.0002615/0.1921, allocations: 237.7 kB / 0.5892 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.1922, allocations: 11.92 kB / 0.5892 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1922, allocations: 0 / 0.5892 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-06/0.1922, allocations: 4 kB / 0.5892 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.1926, allocations: 463.5 kB / 0.5897 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.1929, allocations: 193.9 kB / 0.5899 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/0.1931, allocations: 0.6729 MB / 0.5905 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.1932, allocations: 7.984 kB / 0.5905 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/0.1932, allocations: 11.44 kB / 0.5905 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1932, allocations: 0 / 0.5905 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.003266/0.1965, allocations: 1.188 MB / 0.5917 GB, free: 12.08 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)