Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002477/0.002476, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.486/2.486, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.475/1.475, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003684, allocations: 11.98 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 82.3 MB / 0.5873 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004279/0.1907, allocations: 3.144 MB / 0.5903 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001831/0.1909, allocations: 131.7 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.191, allocations: 3.938 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.1911, allocations: 3.938 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.1911, allocations: 3.984 kB / 0.5905 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1915, allocations: 67.88 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.1915, allocations: 15.98 kB / 0.5906 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.1916, allocations: 3.984 kB / 0.5906 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.1916, allocations: 15.92 kB / 0.5906 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.1917, allocations: 8 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.1917, allocations: 0 / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.1923, allocations: 159.7 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.1924, allocations: 3.984 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.1924, allocations: 29.7 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1925, allocations: 24.27 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1925, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1925, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.1925, allocations: 0 / 0.5908 GB, free: 15.43 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.0004411/0.193, allocations: 337.6 kB / 0.5911 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.1931, allocations: 8.031 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.1931, allocations: 34.56 kB / 0.5911 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1932, allocations: 11.95 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1933, allocations: 159.1 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.828e-05/0.1934, allocations: 33.67 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.1934, allocations: 4 kB / 0.5913 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1936, allocations: 41.69 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1936, allocations: 0 / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1936, allocations: 0 / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.1936, allocations: 4 kB / 0.5914 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.1937, allocations: 23.92 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.1942, allocations: 334 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.1943, allocations: 18.52 kB / 0.5918 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.1944, allocations: 85.11 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1944, allocations: 38.56 kB / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.1944, allocations: 0 / 0.5919 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001809/0.1946, allocations: 45.58 kB / 0.5919 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1947, allocations: 51.41 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1948, allocations: 109.8 kB / 0.5921 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1948, allocations: 25.7 kB / 0.5921 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.1949, allocations: 84.08 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-06/0.1949, allocations: 3.906 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.1949, allocations: 4 kB / 0.5922 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.195, allocations: 315 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.1951, allocations: 4 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.1951, allocations: 17.89 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.1951, allocations: 8 kB / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1951, allocations: 0 / 0.5925 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.933e-05/0.1952, allocations: 49.62 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1952, allocations: 4 kB / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1952, allocations: 96 / 0.5926 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1953, allocations: 8.047 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.182e-05/0.1953, allocations: 8 kB / 0.5926 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1953, allocations: 7.953 kB / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.1954, allocations: 0 / 0.5926 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1954, allocations: 3.984 kB / 0.5926 GB, free: 13.32 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 9.297e-05/0.1955, allocations: 117.8 kB / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.1955, allocations: 0 / 0.5927 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.1956, allocations: 124.9 kB / 0.5928 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.756e-05/0.1957, allocations: 184.2 kB / 0.593 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.65e-05/0.1958, allocations: 184.2 kB / 0.5932 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.487e-05/0.1959, allocations: 180.2 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.1961, allocations: 409.2 kB / 0.5937 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.469e-05/0.1962, allocations: 101 kB / 0.5938 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.1962, allocations: 105 kB / 0.5939 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.779e-05/0.1963, allocations: 180.2 kB / 0.5941 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.1964, allocations: 184.2 kB / 0.5943 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.538e-05/0.1965, allocations: 180.2 kB / 0.5944 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-05/0.1965, allocations: 184.2 kB / 0.5946 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.1967, allocations: 307.7 kB / 0.5949 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.1968, allocations: 190.1 kB / 0.5951 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.1969, allocations: 180.2 kB / 0.5953 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.1971, allocations: 109 kB / 0.5954 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-05/0.1972, allocations: 184.2 kB / 0.5955 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.1972, allocations: 105 kB / 0.5956 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.376e-05/0.1973, allocations: 99.2 kB / 0.5957 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1973, allocations: 0 / 0.5957 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002704/0.1976, allocations: 19.94 kB / 0.5958 GB, free: 9.844 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.0005191/0.1981, allocations: 0.8204 MB / 0.5966 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.1982, allocations: 8 kB / 0.5966 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1982, allocations: 0 / 0.5966 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.1982, allocations: 0 / 0.5966 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1986, allocations: 0.5303 MB / 0.5971 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.1991, allocations: 221.5 kB / 0.5973 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1994, allocations: 0.677 MB / 0.598 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.1994, allocations: 4 kB / 0.598 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.1994, allocations: 15.44 kB / 0.598 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of SimCode: time 1.764e-06/0.1995, allocations: 4 kB / 0.598 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.212, allocations: 1.217 MB / 0.5992 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004004/0.2125, allocations: 201.9 kB / 0.5994 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.843, allocations: 0 / 0.5994 GB, free: 6.199 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: