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.005671/0.005671, allocations: 101.8 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.001231/0.001231, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8496/0.8496, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 70.05 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1872, allocations: 80.93 MB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005484/0.1927, allocations: 3.289 MB / 0.6679 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.1929, allocations: 47.86 kB / 0.6679 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.193, allocations: 0 / 0.6679 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.1931, allocations: 11.94 kB / 0.6679 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.1933, allocations: 11.91 kB / 0.6679 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008405/0.1941, allocations: 187.2 kB / 0.6681 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1942, allocations: 39.84 kB / 0.6682 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.1943, allocations: 7.922 kB / 0.6682 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.277e-05/0.1944, allocations: 15.98 kB / 0.6682 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.127e-05/0.1945, allocations: 11.92 kB / 0.6682 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1945, allocations: 0 / 0.6682 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.195, allocations: 171.6 kB / 0.6683 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.195, allocations: 11.98 kB / 0.6684 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1951, allocations: 8 kB / 0.6684 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1954, allocations: 139.6 kB / 0.6685 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1955, allocations: 0 / 0.6685 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1955, allocations: 0 / 0.6685 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.1955, allocations: 3.984 kB / 0.6685 GB, free: 1.816 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.0005481/0.196, allocations: 343.5 kB / 0.6688 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.1961, allocations: 9.109 kB / 0.6688 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.1962, allocations: 4.938 kB / 0.6688 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1963, allocations: 164.4 kB / 0.669 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.725e-05/0.1964, allocations: 30.27 kB / 0.669 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1964, allocations: 4.375 kB / 0.669 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1966, allocations: 45.61 kB / 0.6691 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1966, allocations: 3.938 kB / 0.6691 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1966, allocations: 4 kB / 0.6691 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.1967, allocations: 4 kB / 0.6691 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.28e-05/0.1967, allocations: 11.98 kB / 0.6691 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.1975, allocations: 0.591 MB / 0.6697 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.1975, allocations: 18.58 kB / 0.6697 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.1976, allocations: 4.859 kB / 0.6697 GB, free: 368 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000282/0.1979, allocations: 348.4 kB / 0.67 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1979, allocations: 42.5 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.1979, allocations: 0 / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001747/0.1981, allocations: 33.7 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1981, allocations: 51.41 kB / 0.6702 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.1982, allocations: 105.8 kB / 0.6703 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1983, allocations: 25.7 kB / 0.6703 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.1983, allocations: 84.05 kB / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-06/0.1983, allocations: 4 kB / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1984, allocations: 21.7 kB / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1985, allocations: 314.8 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/0.1985, allocations: 4.125 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.1986, allocations: 25.66 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.1986, allocations: 21.7 kB / 0.6707 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1986, allocations: 0 / 0.6707 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.29e-05/0.1987, allocations: 53.53 kB / 0.6708 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1987, allocations: 8 kB / 0.6708 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1987, allocations: 8 kB / 0.6708 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1988, allocations: 0 / 0.6708 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.1988, allocations: 4 kB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1988, allocations: 4 kB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.096e-05/0.1989, allocations: 3.938 kB / 0.6708 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1989, allocations: 0 / 0.6708 GB, free: 15.07 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 8.855e-05/0.199, allocations: 117.8 kB / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.199, allocations: 0 / 0.6709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.1991, allocations: 124.9 kB / 0.671 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.781e-05/0.1992, allocations: 176.3 kB / 0.6712 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-05/0.1993, allocations: 188.1 kB / 0.6714 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/0.1994, allocations: 184.2 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1996, allocations: 401.2 kB / 0.6719 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-05/0.1996, allocations: 120.9 kB / 0.6721 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.1997, allocations: 101 kB / 0.6722 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.558e-05/0.1998, allocations: 180.2 kB / 0.6723 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-05/0.1998, allocations: 180.3 kB / 0.6725 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.976e-05/0.1999, allocations: 180.3 kB / 0.6727 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-05/0.2, allocations: 184.2 kB / 0.6729 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.2001, allocations: 311.7 kB / 0.6732 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.902e-05/0.2002, allocations: 178.1 kB / 0.6733 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.2003, allocations: 184.2 kB / 0.6735 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.2005, allocations: 108.9 kB / 0.6736 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.2006, allocations: 188.3 kB / 0.6738 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.2006, allocations: 108.9 kB / 0.6739 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.946e-05/0.2007, allocations: 79.28 kB / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2007, allocations: 0 / 0.674 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003137/0.201, allocations: 32 kB / 0.674 GB, free: 11.59 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.000381/0.2014, allocations: 242.9 kB / 0.6742 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.201e-05/0.2015, allocations: 8 kB / 0.6742 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2015, allocations: 0 / 0.6742 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-06/0.2015, allocations: 0 / 0.6742 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005101/0.202, allocations: 463.8 kB / 0.6747 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.2024, allocations: 181.9 kB / 0.6748 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.2027, allocations: 0.6768 MB / 0.6755 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.449e-05/0.2027, allocations: 8 kB / 0.6755 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.2027, allocations: 7.438 kB / 0.6755 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.2027, allocations: 0 / 0.6755 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of Templates: time 0.004097/0.2068, allocations: 1.219 MB / 0.6767 GB, free: 8.777 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)