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.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 192 kB / 16.53 MB, free: 6.391 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.503/1.503, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 60.19 kB / 0.5053 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1866, allocations: 80.92 MB / 0.5844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005254/0.1919, allocations: 3.278 MB / 0.5876 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001417/0.1921, allocations: 59.78 kB / 0.5876 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.1922, allocations: 0 / 0.5876 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.1923, allocations: 4 kB / 0.5876 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.371e-05/0.1924, allocations: 11.92 kB / 0.5876 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007449/0.1932, allocations: 183.2 kB / 0.5878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1933, allocations: 35.86 kB / 0.5878 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.1933, allocations: 7.922 kB / 0.5879 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.1934, allocations: 11.98 kB / 0.5879 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.1935, allocations: 11.98 kB / 0.5879 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.1935, allocations: 0 / 0.5879 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.1939, allocations: 175.5 kB / 0.588 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.194, allocations: 8 kB / 0.5881 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.194, allocations: 7.938 kB / 0.5881 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.1944, allocations: 135.9 kB / 0.5882 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.1944, allocations: 12 kB / 0.5882 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1944, allocations: 0 / 0.5882 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1944, allocations: 3.938 kB / 0.5882 GB, free: 0.582 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.0005465/0.195, allocations: 351.4 kB / 0.5885 GB, free: 196 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.195, allocations: 8.031 kB / 0.5885 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/0.1951, allocations: 4.938 kB / 0.5886 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1953, allocations: 164.4 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.1953, allocations: 26.27 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1954, allocations: 4.375 kB / 0.5887 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1955, allocations: 53.61 kB / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1955, allocations: 4 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1956, allocations: 3.938 kB / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.1956, allocations: 0 / 0.5888 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.138e-05/0.1956, allocations: 15.98 kB / 0.5888 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007183/0.1964, allocations: 0.5833 MB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/0.1964, allocations: 22.58 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.1965, allocations: 8.859 kB / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.1967, allocations: 344.4 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.1968, allocations: 42.5 kB / 0.5898 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.422e-06/0.1968, allocations: 0 / 0.5898 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.1969, allocations: 29.7 kB / 0.5898 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.197, allocations: 51.41 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.1971, allocations: 113.9 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.1971, allocations: 25.7 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.1972, allocations: 80.14 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.1972, allocations: 7.906 kB / 0.5901 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1972, allocations: 21.7 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1973, allocations: 314.8 kB / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.1974, allocations: 0 / 0.5904 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.1974, allocations: 25.66 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.693e-05/0.1975, allocations: 21.7 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1975, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.767e-05/0.1976, allocations: 49.62 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1976, allocations: 8 kB / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1976, allocations: 0 / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1976, allocations: 0 / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.1977, allocations: 4.062 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1977, allocations: 4 kB / 0.5905 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.1977, allocations: 7.938 kB / 0.5905 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.1977, allocations: 0 / 0.5905 GB, free: 13.83 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.564e-05/0.1978, allocations: 117.8 kB / 0.5906 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1979, allocations: 3.906 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.198, allocations: 123 kB / 0.5907 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.366e-05/0.1981, allocations: 180.3 kB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.562e-05/0.1981, allocations: 188.1 kB / 0.5911 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-05/0.1982, allocations: 184.2 kB / 0.5913 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1984, allocations: 405.2 kB / 0.5917 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.742e-05/0.1985, allocations: 109 kB / 0.5918 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.1985, allocations: 105 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.878e-05/0.1986, allocations: 184.2 kB / 0.592 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.1987, allocations: 176.3 kB / 0.5922 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.129e-05/0.1987, allocations: 180.3 kB / 0.5924 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.76e-05/0.1988, allocations: 184.2 kB / 0.5926 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.199, allocations: 315.6 kB / 0.5929 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.1991, allocations: 178.1 kB / 0.593 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.1991, allocations: 188.2 kB / 0.5932 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1993, allocations: 113.2 kB / 0.5933 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.1994, allocations: 180.3 kB / 0.5935 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.1994, allocations: 112.9 kB / 0.5936 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.1995, allocations: 79.28 kB / 0.5937 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1995, allocations: 0 / 0.5937 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003041/0.1998, allocations: 32 kB / 0.5937 GB, free: 10.35 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.0003027/0.2001, allocations: 246.3 kB / 0.5939 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.507e-05/0.2002, allocations: 8 kB / 0.5939 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2002, allocations: 0 / 0.5939 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.2002, allocations: 0 / 0.5939 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.2007, allocations: 467.4 kB / 0.5944 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/0.201, allocations: 178 kB / 0.5946 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2013, allocations: 0.6768 MB / 0.5952 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.855e-05/0.2013, allocations: 6.531 kB / 0.5952 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.2014, allocations: 11.44 kB / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.2014, allocations: 0 / 0.5952 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of Templates: time 0.00402/0.2054, allocations: 1.207 MB / 0.5964 GB, free: 7.555 MB / 0.4981 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)