Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001853/0.001853, allocations: 199.2 kB / 16.14 MB, free: 6.66 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7848/0.7848, allocations: 132.2 MB / 422.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 56.06 kB / 0.5011 GB, free: 9.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.17, allocations: 80.22 MB / 0.5794 GB, free: 9.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006185/0.1762, allocations: 4.474 MB / 0.5838 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.1796, allocations: 2.718 MB / 0.5864 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.135e-05/0.1797, allocations: 4 kB / 0.5864 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.1801, allocations: 35.81 kB / 0.5865 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.1806, allocations: 95.41 kB / 0.5866 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.182, allocations: 437.2 kB / 0.587 GB, free: 1.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.1823, allocations: 311.8 kB / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.62e-05/0.1823, allocations: 13.56 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009857/0.1833, allocations: 398.8 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.1835, allocations: 87.66 kB / 0.5878 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1835, allocations: 12 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1846, allocations: 0.4949 MB / 0.5883 GB, free: 136 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.839e-05/0.1847, allocations: 35.89 kB / 0.5883 GB, free: 100 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.1848, allocations: 87.58 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005761/0.1854, allocations: 347.4 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.1854, allocations: 3.984 kB / 0.5887 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1854, allocations: 3.938 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1855, allocations: 4 kB / 0.5887 GB, free: 15.66 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008173/0.1863, allocations: 0.4953 MB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1863, allocations: 12.03 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001649/0.1865, allocations: 20.75 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.1867, allocations: 204.2 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.1868, allocations: 16.69 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1868, allocations: 16.38 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.1872, allocations: 257.7 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1872, allocations: 0 / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.1873, allocations: 8 kB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.1873, allocations: 4 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.1879, allocations: 435.4 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1892, allocations: 1.008 MB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000281/0.1895, allocations: 156 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.1896, allocations: 60.89 kB / 0.5913 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001439/0.191, allocations: 1.825 MB / 0.5931 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1911, allocations: 38.56 kB / 0.5931 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.1911, allocations: 4 kB / 0.5931 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003561/0.1915, allocations: 140.2 kB / 0.5933 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.1915, allocations: 59.34 kB / 0.5933 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1917, allocations: 173.8 kB / 0.5935 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1917, allocations: 37.64 kB / 0.5935 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.845e-05/0.1918, allocations: 131.8 kB / 0.5937 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.1918, allocations: 59.17 kB / 0.5937 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.1919, allocations: 53.7 kB / 0.5938 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1921, allocations: 330.8 kB / 0.5941 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.1922, allocations: 35.98 kB / 0.5941 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1923, allocations: 147.1 kB / 0.5943 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.1926, allocations: 197.5 kB / 0.5944 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1926, allocations: 0 / 0.5944 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003383/0.1929, allocations: 213.1 kB / 0.5947 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.193, allocations: 8.469 kB / 0.5947 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.193, allocations: 0 / 0.5947 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.193, allocations: 12 kB / 0.5947 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.1932, allocations: 59.84 kB / 0.5947 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1932, allocations: 4 kB / 0.5947 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1933, allocations: 31.69 kB / 0.5948 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1934, allocations: 11.98 kB / 0.5948 GB, free: 8.719 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001766/0.1935, allocations: 141.6 kB / 0.5949 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.269e-05/0.1936, allocations: 19.81 kB / 0.5949 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.1939, allocations: 153.4 kB / 0.5951 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.1939, allocations: 7.938 kB / 0.5951 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.194, allocations: 0 / 0.5951 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.194, allocations: 3.984 kB / 0.5951 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1942, allocations: 213.5 kB / 0.5953 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1943, allocations: 0 / 0.5953 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.1944, allocations: 31.91 kB / 0.5953 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1944, allocations: 0 / 0.5953 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1944, allocations: 4 kB / 0.5953 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.1944, allocations: 7.938 kB / 0.5953 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1944, allocations: 0 / 0.5953 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1947, allocations: 219.4 kB / 0.5955 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.099e-05/0.1948, allocations: 104.9 kB / 0.5956 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1948, allocations: 0 / 0.5956 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.195, allocations: 27.64 kB / 0.5957 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.1951, allocations: 15.86 kB / 0.5957 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1951, allocations: 8 kB / 0.5957 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.584e-05/0.1952, allocations: 129.8 kB / 0.5958 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1952, allocations: 0 / 0.5958 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004031/0.1956, allocations: 75.98 kB / 0.5959 GB, free: 7.484 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004313/0.196, allocations: 175.1 kB / 0.5961 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002937/0.1963, allocations: 126.7 kB / 0.5962 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.1964, allocations: 0 / 0.5962 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.1964, allocations: 39.98 kB / 0.5962 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.1969, allocations: 52.45 kB / 0.5963 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.1977, allocations: 396.5 kB / 0.5966 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.198, allocations: 0.7131 MB / 0.5973 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.1982, allocations: 53.66 kB / 0.5974 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.1983, allocations: 23.44 kB / 0.5974 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1983, allocations: 0 / 0.5974 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.006818/0.2051, allocations: 3.224 MB / 0.6006 GB, free: 2.688 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)