Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008858/0.0008858, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008192/0.0008193, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.000367, allocations: 8 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.187, allocations: 82.3 MB / 0.5874 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004077/0.1911, allocations: 3.568 MB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001832/0.1913, allocations: 151.7 kB / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.458e-05/0.1914, allocations: 0 / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.395e-05/0.1915, allocations: 0 / 0.591 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.1916, allocations: 19.91 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1918, allocations: 59.8 kB / 0.5911 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.478e-05/0.1919, allocations: 47.81 kB / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.192, allocations: 0 / 0.5911 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.192, allocations: 19.92 kB / 0.5911 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.1921, allocations: 11.98 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1921, allocations: 4 kB / 0.5911 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1923, allocations: 31.84 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.1923, allocations: 4 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.1924, allocations: 25.7 kB / 0.5912 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.561e-05/0.1925, allocations: 35.97 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1925, allocations: 4 kB / 0.5912 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.166e-06/0.1925, allocations: 3.984 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.1925, allocations: 0 / 0.5912 GB, free: 15.01 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.0003855/0.1929, allocations: 327.5 kB / 0.5916 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1929, allocations: 12.03 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.193, allocations: 3.953 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.1931, allocations: 159.1 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.1932, allocations: 29.7 kB / 0.5917 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.1932, allocations: 4 kB / 0.5918 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1933, allocations: 49.61 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1934, allocations: 0 / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1934, allocations: 4 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.1934, allocations: 0 / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.1934, allocations: 19.92 kB / 0.5918 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.1939, allocations: 330 kB / 0.5921 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.228e-05/0.194, allocations: 26.55 kB / 0.5922 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/0.194, allocations: 12.92 kB / 0.5922 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.081e-05/0.1941, allocations: 81.11 kB / 0.5923 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.1941, allocations: 30.56 kB / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.1941, allocations: 0 / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.1943, allocations: 45.64 kB / 0.5923 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1943, allocations: 51.41 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.1944, allocations: 102 kB / 0.5925 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1944, allocations: 29.64 kB / 0.5925 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.1945, allocations: 95.97 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.1945, allocations: 7.844 kB / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-06/0.1945, allocations: 0 / 0.5926 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.845e-05/0.1946, allocations: 314.8 kB / 0.5929 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.1946, allocations: 4 kB / 0.5929 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.156e-05/0.1946, allocations: 17.89 kB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/0.1947, allocations: 8 kB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1947, allocations: 0 / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.236e-05/0.1947, allocations: 49.72 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1948, allocations: 8 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1948, allocations: 0 / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1948, allocations: 3.984 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.298e-05/0.1948, allocations: 7.953 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1948, allocations: 0 / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.1949, allocations: 8.062 kB / 0.593 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.1949, allocations: 0 / 0.593 GB, free: 12.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.195, allocations: 113.8 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.195, allocations: 3.984 kB / 0.5931 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1951, allocations: 120.8 kB / 0.5932 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/0.1952, allocations: 176.3 kB / 0.5934 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.784e-05/0.1952, allocations: 184.2 kB / 0.5936 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-05/0.1953, allocations: 192.2 kB / 0.5938 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.1955, allocations: 401.2 kB / 0.5941 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/0.1956, allocations: 108.9 kB / 0.5942 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.609e-05/0.1956, allocations: 105 kB / 0.5943 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.763e-05/0.1957, allocations: 180.3 kB / 0.5945 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.1957, allocations: 184.1 kB / 0.5947 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.767e-05/0.1958, allocations: 180.3 kB / 0.5949 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.767e-05/0.1959, allocations: 184.2 kB / 0.595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.196, allocations: 307.7 kB / 0.5953 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1961, allocations: 186.1 kB / 0.5955 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.439e-05/0.1961, allocations: 184.3 kB / 0.5957 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.1963, allocations: 112.9 kB / 0.5958 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.1964, allocations: 180.2 kB / 0.596 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.1964, allocations: 104.9 kB / 0.5961 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.312e-05/0.1965, allocations: 87.22 kB / 0.5961 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1965, allocations: 0 / 0.5961 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002376/0.1967, allocations: 19.95 kB / 0.5962 GB, free: 9.473 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001682/0.1969, allocations: 198.4 kB / 0.5964 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.244e-05/0.197, allocations: 7.984 kB / 0.5964 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.197, allocations: 0 / 0.5964 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.197, allocations: 0 / 0.5964 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.1974, allocations: 0.5303 MB / 0.5969 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.1977, allocations: 179.9 kB / 0.5971 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1979, allocations: 0.677 MB / 0.5977 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.198, allocations: 8 kB / 0.5977 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.198, allocations: 11.44 kB / 0.5977 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.198, allocations: 0 / 0.5977 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of Templates: time 0.002714/0.2007, allocations: 0.5478 MB / 0.5983 GB, free: 7.262 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)