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.009609/0.009609, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.002058/0.002058, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.785/0.785, allocations: 132.2 MB / 422.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 61.23 kB / 0.5814 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1848, allocations: 80.19 MB / 0.6597 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004395/0.1892, allocations: 3.295 MB / 0.6629 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001088/0.1894, allocations: 47.86 kB / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.1894, allocations: 0 / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001153/0.1895, allocations: 7.922 kB / 0.663 GB, free: 10 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.416e-05/0.1896, allocations: 19.88 kB / 0.663 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000547/0.1902, allocations: 185.2 kB / 0.6631 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.1903, allocations: 31.86 kB / 0.6632 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.1903, allocations: 7.984 kB / 0.6632 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.1904, allocations: 11.98 kB / 0.6632 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.15e-05/0.1904, allocations: 4 kB / 0.6632 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.1905, allocations: 11.94 kB / 0.6632 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.1908, allocations: 175.5 kB / 0.6634 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.66e-05/0.1909, allocations: 7.984 kB / 0.6634 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.1909, allocations: 11.94 kB / 0.6634 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.1912, allocations: 139.6 kB / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1912, allocations: 0 / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1912, allocations: 0 / 0.6635 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1912, allocations: 0 / 0.6635 GB, free: 9.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004388/0.1916, allocations: 351.3 kB / 0.6639 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1917, allocations: 16.03 kB / 0.6639 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.1917, allocations: 0.9375 kB / 0.6639 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1919, allocations: 164.3 kB / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.1919, allocations: 34.2 kB / 0.6641 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.192, allocations: 384 / 0.6641 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1921, allocations: 53.59 kB / 0.6641 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1921, allocations: 0 / 0.6641 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1921, allocations: 0 / 0.6641 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.1922, allocations: 4 kB / 0.6641 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.1922, allocations: 15.98 kB / 0.6641 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006561/0.1929, allocations: 0.5872 MB / 0.6647 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.182e-05/0.1929, allocations: 18.52 kB / 0.6647 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.1929, allocations: 8.922 kB / 0.6647 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.1932, allocations: 336.4 kB / 0.6651 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1932, allocations: 38.56 kB / 0.6651 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1932, allocations: 0 / 0.6651 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.1934, allocations: 41.64 kB / 0.6651 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1934, allocations: 51.41 kB / 0.6652 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.1935, allocations: 105.8 kB / 0.6653 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1935, allocations: 29.7 kB / 0.6653 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.067e-05/0.1936, allocations: 84.09 kB / 0.6654 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.1936, allocations: 3.984 kB / 0.6654 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.1936, allocations: 21.84 kB / 0.6654 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1937, allocations: 318.8 kB / 0.6657 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.436e-05/0.1938, allocations: 4 kB / 0.6657 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.1938, allocations: 21.72 kB / 0.6658 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.055e-05/0.1938, allocations: 13.72 kB / 0.6658 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1938, allocations: 4 kB / 0.6658 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.745e-05/0.1939, allocations: 53.62 kB / 0.6658 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1939, allocations: 4 kB / 0.6658 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1939, allocations: 0 / 0.6658 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.194, allocations: 4 kB / 0.6658 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.483e-05/0.194, allocations: 7.984 kB / 0.6658 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.194, allocations: 0 / 0.6658 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.194, allocations: 7.891 kB / 0.6658 GB, free: 6.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1941, allocations: 4 kB / 0.6658 GB, free: 6.652 MB / 0.4981 GB 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.928e-05/0.1941, allocations: 122.4 kB / 0.666 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1942, allocations: 7.938 kB / 0.666 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.1943, allocations: 113 kB / 0.6661 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.323e-05/0.1943, allocations: 184.3 kB / 0.6663 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.756e-05/0.1944, allocations: 184.2 kB / 0.6664 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-05/0.1945, allocations: 180.2 kB / 0.6666 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1947, allocations: 413.2 kB / 0.667 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/0.1947, allocations: 105 kB / 0.6671 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.1948, allocations: 109 kB / 0.6672 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.345e-05/0.1949, allocations: 184.2 kB / 0.6674 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.1949, allocations: 176.3 kB / 0.6675 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.683e-05/0.195, allocations: 184.2 kB / 0.6677 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.93e-05/0.195, allocations: 176.3 kB / 0.6679 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1952, allocations: 311.7 kB / 0.6682 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.1953, allocations: 182.4 kB / 0.6684 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.1953, allocations: 184.2 kB / 0.6685 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.1955, allocations: 113 kB / 0.6686 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/0.1956, allocations: 188.2 kB / 0.6688 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.1956, allocations: 101 kB / 0.6689 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.798e-05/0.1957, allocations: 87.27 kB / 0.669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1957, allocations: 0 / 0.669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002675/0.196, allocations: 35.88 kB / 0.669 GB, free: 3.16 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.0002757/0.1962, allocations: 227 kB / 0.6693 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.476e-05/0.1963, allocations: 19.98 kB / 0.6693 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1964, allocations: 4.062 kB / 0.6693 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1964, allocations: 0 / 0.6693 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.1968, allocations: 455.7 kB / 0.6697 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.1971, allocations: 182 kB / 0.6699 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.1974, allocations: 0.6768 MB / 0.6705 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.193e-05/0.1974, allocations: 11.08 kB / 0.6706 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.1974, allocations: 7.438 kB / 0.6706 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1974, allocations: 4 kB / 0.6706 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of Templates: time 0.003536/0.201, allocations: 1.209 MB / 0.6717 GB, free: 376 kB / 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)