Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005846/0.005846, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001248/0.001248, allocations: 193.1 kB / 16.67 MB, free: 5.969 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8525/0.8525, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 64.48 kB / 0.5856 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1844, allocations: 80.91 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005434/0.1899, allocations: 3.296 MB / 0.6679 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.1901, allocations: 55.84 kB / 0.6679 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.1901, allocations: 0 / 0.6679 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.1903, allocations: 3.938 kB / 0.6679 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.095e-05/0.1904, allocations: 15.92 kB / 0.6679 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.1911, allocations: 179.2 kB / 0.6681 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.376e-05/0.1912, allocations: 35.86 kB / 0.6681 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.1913, allocations: 3.984 kB / 0.6681 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.1913, allocations: 15.98 kB / 0.6682 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.1914, allocations: 11.98 kB / 0.6682 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1914, allocations: 0 / 0.6682 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.1918, allocations: 179.5 kB / 0.6683 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.1919, allocations: 4 kB / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.1919, allocations: 8 kB / 0.6684 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1922, allocations: 135.6 kB / 0.6685 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1922, allocations: 4 kB / 0.6685 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1923, allocations: 4 kB / 0.6685 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.1923, allocations: 0 / 0.6685 GB, free: 1.848 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.0004433/0.1927, allocations: 347.4 kB / 0.6688 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1928, allocations: 9.109 kB / 0.6688 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.1928, allocations: 8.891 kB / 0.6688 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1929, allocations: 168.3 kB / 0.669 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.193, allocations: 26.27 kB / 0.669 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.193, allocations: 4.375 kB / 0.669 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1932, allocations: 53.56 kB / 0.6691 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.1932, allocations: 0 / 0.6691 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1932, allocations: 0 / 0.6691 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.1932, allocations: 4 kB / 0.6691 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.84e-05/0.1933, allocations: 15.98 kB / 0.6691 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000656/0.194, allocations: 0.5793 MB / 0.6697 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.931e-05/0.194, allocations: 22.52 kB / 0.6697 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.194, allocations: 12.86 kB / 0.6697 GB, free: 388 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002467/0.1943, allocations: 344.4 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1943, allocations: 38.56 kB / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.1944, allocations: 0 / 0.6701 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000146/0.1945, allocations: 33.7 kB / 0.6701 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1945, allocations: 51.41 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.475e-05/0.1946, allocations: 106 kB / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1947, allocations: 29.64 kB / 0.6703 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.1947, allocations: 88.09 kB / 0.6704 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.1947, allocations: 7.953 kB / 0.6704 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.1948, allocations: 17.7 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1949, allocations: 318.8 kB / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.1949, allocations: 0 / 0.6707 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.1949, allocations: 21.89 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.559e-05/0.195, allocations: 29.7 kB / 0.6707 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.195, allocations: 0 / 0.6707 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.426e-05/0.195, allocations: 49.62 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1951, allocations: 8 kB / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1951, allocations: 0 / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1951, allocations: 0 / 0.6708 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.573e-05/0.1951, allocations: 4 kB / 0.6708 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1952, allocations: 4.062 kB / 0.6708 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.1952, allocations: 7.938 kB / 0.6708 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1952, allocations: 0 / 0.6708 GB, free: 15.09 MB / 0.5137 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 7.492e-05/0.1953, allocations: 113.8 kB / 0.6709 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1953, allocations: 3.953 kB / 0.6709 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.1954, allocations: 124.9 kB / 0.671 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/0.1955, allocations: 176.3 kB / 0.6712 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.847e-05/0.1956, allocations: 184.2 kB / 0.6714 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.835e-05/0.1956, allocations: 184.2 kB / 0.6716 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.1958, allocations: 413.1 kB / 0.672 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.793e-05/0.1959, allocations: 109 kB / 0.6721 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.1959, allocations: 101 kB / 0.6722 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.219e-05/0.196, allocations: 184.2 kB / 0.6723 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.196, allocations: 180.3 kB / 0.6725 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.437e-05/0.1961, allocations: 184.2 kB / 0.6727 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.382e-05/0.1962, allocations: 180.2 kB / 0.6728 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.1963, allocations: 311.7 kB / 0.6731 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.1964, allocations: 178.1 kB / 0.6733 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.939e-05/0.1964, allocations: 188.2 kB / 0.6735 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.1966, allocations: 105 kB / 0.6736 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.1967, allocations: 184.2 kB / 0.6738 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.1967, allocations: 105 kB / 0.6739 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.1968, allocations: 95.22 kB / 0.674 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1968, allocations: 0 / 0.674 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002779/0.1971, allocations: 35.88 kB / 0.674 GB, free: 11.6 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 (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.0002895/0.1973, allocations: 239.6 kB / 0.6742 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.089e-05/0.1974, allocations: 7.938 kB / 0.6742 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1974, allocations: 0 / 0.6742 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.1974, allocations: 0 / 0.6742 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.1979, allocations: 463.6 kB / 0.6747 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.1982, allocations: 186.1 kB / 0.6749 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1984, allocations: 0.6768 MB / 0.6755 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.1985, allocations: 6.953 kB / 0.6755 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.1985, allocations: 7.438 kB / 0.6755 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1985, allocations: 0 / 0.6755 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of Templates: time 0.003664/0.2022, allocations: 1.206 MB / 0.6767 GB, free: 8.801 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)