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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006548/0.006548, allocations: 100.6 kB / 15.73 MB, free: 6 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.001353/0.001353, allocations: 190 kB / 16.67 MB, free: 5.934 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.577/1.577, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8332/0.8332, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.67 kB / 0.5814 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.184, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004955/0.189, allocations: 3.285 MB / 0.6629 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 9.783e-05/0.1891, allocations: 51.8 kB / 0.6629 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.1891, allocations: 3.938 kB / 0.663 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.1892, allocations: 3.938 kB / 0.663 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.1893, allocations: 19.97 kB / 0.663 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.1899, allocations: 188.4 kB / 0.6632 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.19, allocations: 31.84 kB / 0.6632 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.19, allocations: 4 kB / 0.6632 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.1901, allocations: 15.98 kB / 0.6632 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.1901, allocations: 11.92 kB / 0.6632 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1902, allocations: 0 / 0.6632 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.1905, allocations: 171.6 kB / 0.6634 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.1906, allocations: 11.97 kB / 0.6634 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.1906, allocations: 12 kB / 0.6634 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.1909, allocations: 139.6 kB / 0.6635 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1909, allocations: 0 / 0.6635 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1909, allocations: 0 / 0.6635 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.191, allocations: 0 / 0.6635 GB, free: 9.559 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.000534/0.1915, allocations: 347.3 kB / 0.6639 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1915, allocations: 8.031 kB / 0.6639 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.1916, allocations: 4.938 kB / 0.6639 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.1917, allocations: 164.3 kB / 0.664 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.1918, allocations: 38.27 kB / 0.6641 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.1918, allocations: 384 / 0.6641 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1919, allocations: 49.55 kB / 0.6641 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.192, allocations: 3.984 kB / 0.6641 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.192, allocations: 0 / 0.6641 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.192, allocations: 4 kB / 0.6641 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.1921, allocations: 19.92 kB / 0.6641 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.1927, allocations: 0.5833 MB / 0.6647 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/0.1928, allocations: 26.52 kB / 0.6647 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.1928, allocations: 4.859 kB / 0.6647 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.1931, allocations: 340.5 kB / 0.6651 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.1931, allocations: 30.56 kB / 0.6651 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1931, allocations: 0 / 0.6651 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.1932, allocations: 45.64 kB / 0.6651 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1933, allocations: 55.41 kB / 0.6652 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.1934, allocations: 97.86 kB / 0.6653 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1934, allocations: 25.7 kB / 0.6653 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.1935, allocations: 92.08 kB / 0.6654 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.1935, allocations: 0 / 0.6654 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.1935, allocations: 21.66 kB / 0.6654 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1936, allocations: 314.8 kB / 0.6657 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.1937, allocations: 16.05 kB / 0.6657 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.1937, allocations: 17.72 kB / 0.6658 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.1937, allocations: 17.72 kB / 0.6658 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1937, allocations: 0 / 0.6658 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.843e-05/0.1938, allocations: 53.62 kB / 0.6658 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1938, allocations: 4 kB / 0.6658 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1939, allocations: 4.062 kB / 0.6658 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1939, allocations: 0 / 0.6658 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-05/0.1939, allocations: 4 kB / 0.6658 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1939, allocations: 7.984 kB / 0.6658 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.194, allocations: 7.891 kB / 0.6659 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.194, allocations: 0 / 0.6659 GB, free: 6.801 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 8.116e-05/0.1941, allocations: 114.4 kB / 0.666 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1941, allocations: 4 kB / 0.666 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.1942, allocations: 127.8 kB / 0.6661 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.787e-05/0.1943, allocations: 180.2 kB / 0.6663 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.119e-05/0.1944, allocations: 184.2 kB / 0.6664 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.572e-05/0.1945, allocations: 180.3 kB / 0.6666 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.1947, allocations: 409.2 kB / 0.667 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.956e-05/0.1948, allocations: 109 kB / 0.6671 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.1948, allocations: 101 kB / 0.6672 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.351e-05/0.1949, allocations: 188.2 kB / 0.6674 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.175e-05/0.195, allocations: 184.3 kB / 0.6676 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.904e-05/0.195, allocations: 180.2 kB / 0.6677 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.848e-05/0.1951, allocations: 176.3 kB / 0.6679 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.1953, allocations: 315.7 kB / 0.6682 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.1954, allocations: 178.1 kB / 0.6684 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-05/0.1954, allocations: 184.2 kB / 0.6685 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1956, allocations: 113 kB / 0.6686 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.1957, allocations: 180.3 kB / 0.6688 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.1957, allocations: 109.2 kB / 0.6689 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.986e-05/0.1958, allocations: 83.27 kB / 0.669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.1958, allocations: 0 / 0.669 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002637/0.1961, allocations: 35.88 kB / 0.669 GB, free: 3.316 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.0002867/0.1964, allocations: 238.9 kB / 0.6693 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.658e-05/0.1964, allocations: 8 kB / 0.6693 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1964, allocations: 0 / 0.6693 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1965, allocations: 3.938 kB / 0.6693 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.1969, allocations: 463.8 kB / 0.6697 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.1972, allocations: 182 kB / 0.6699 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1975, allocations: 0.6767 MB / 0.6706 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.029e-05/0.1975, allocations: 8 kB / 0.6706 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.1975, allocations: 11.42 kB / 0.6706 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of SimCode: time 1.893e-06/0.1976, allocations: 0 / 0.6706 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of Templates: time 0.003825/0.2014, allocations: 1.212 MB / 0.6718 GB, free: 0.5156 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (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) [Timeout 480]