Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties") translateModel(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008081/0.0008081, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005365/0.005365, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.979/0.979, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004664, allocations: 8.844 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1738, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005318/0.1791, allocations: 4.086 MB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.1822, allocations: 2.675 MB / 0.5946 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.1823, allocations: 4 kB / 0.5946 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003414/0.1827, allocations: 35.8 kB / 0.5946 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.183, allocations: 95.42 kB / 0.5947 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.1844, allocations: 449.8 kB / 0.5951 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003097/0.1847, allocations: 307.9 kB / 0.5954 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.536e-05/0.1847, allocations: 9.562 kB / 0.5954 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000975/0.1857, allocations: 406.8 kB / 0.5958 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1859, allocations: 87.66 kB / 0.5959 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1859, allocations: 8 kB / 0.5959 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001/0.1869, allocations: 0.4949 MB / 0.5964 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.763e-05/0.187, allocations: 43.83 kB / 0.5964 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1871, allocations: 109.3 kB / 0.5965 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.1877, allocations: 347.4 kB / 0.5969 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1877, allocations: 4 kB / 0.5969 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.354e-06/0.1877, allocations: 0 / 0.5969 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1877, allocations: 0 / 0.5969 GB, free: 9.461 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.0008181/0.1885, allocations: 471.3 kB / 0.5973 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.1886, allocations: 12.03 kB / 0.5973 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1887, allocations: 20.75 kB / 0.5973 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.189, allocations: 212.1 kB / 0.5975 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.189, allocations: 12.7 kB / 0.5976 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.189, allocations: 16.38 kB / 0.5976 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1894, allocations: 249.1 kB / 0.5978 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1894, allocations: 0 / 0.5978 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.1894, allocations: 8 kB / 0.5978 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.1895, allocations: 4 kB / 0.5978 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.1899, allocations: 431.5 kB / 0.5982 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.191, allocations: 1.008 MB / 0.5992 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1912, allocations: 159.1 kB / 0.5994 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1914, allocations: 56.89 kB / 0.5994 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.1927, allocations: 1.825 MB / 0.6012 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1928, allocations: 38.5 kB / 0.6012 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.1928, allocations: 0 / 0.6012 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003426/0.1931, allocations: 149.1 kB / 0.6014 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.1932, allocations: 55.34 kB / 0.6014 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1933, allocations: 178.5 kB / 0.6016 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1934, allocations: 25.7 kB / 0.6016 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.683e-05/0.1935, allocations: 143.8 kB / 0.6018 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.1935, allocations: 59.28 kB / 0.6018 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.1935, allocations: 25.72 kB / 0.6019 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1937, allocations: 322.8 kB / 0.6022 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.1938, allocations: 39.97 kB / 0.6022 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.1939, allocations: 147.4 kB / 0.6023 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1941, allocations: 197.5 kB / 0.6025 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1941, allocations: 4 kB / 0.6025 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003062/0.1944, allocations: 213.5 kB / 0.6027 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1945, allocations: 9.875 kB / 0.6027 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.1945, allocations: 4 kB / 0.6027 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1945, allocations: 4 kB / 0.6028 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.1947, allocations: 55.84 kB / 0.6028 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1947, allocations: 8 kB / 0.6028 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1948, allocations: 27.69 kB / 0.6028 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.1948, allocations: 19.94 kB / 0.6029 GB, free: 2.582 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.0001116/0.195, allocations: 134.5 kB / 0.603 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.195, allocations: 19.8 kB / 0.603 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.1953, allocations: 157.8 kB / 0.6032 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.1953, allocations: 7.938 kB / 0.6032 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1953, allocations: 0 / 0.6032 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1953, allocations: 0 / 0.6032 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1956, allocations: 217.5 kB / 0.6034 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1956, allocations: 0 / 0.6034 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.371e-05/0.1957, allocations: 27.98 kB / 0.6034 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1957, allocations: 0 / 0.6034 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1957, allocations: 8 kB / 0.6034 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1957, allocations: 7.938 kB / 0.6034 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1957, allocations: 3.938 kB / 0.6034 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.196, allocations: 219.3 kB / 0.6036 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.196, allocations: 104.9 kB / 0.6037 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.63e-05/0.1961, allocations: 7.984 kB / 0.6037 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1963, allocations: 27.92 kB / 0.6038 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.1963, allocations: 11.92 kB / 0.6038 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.1964, allocations: 12 kB / 0.6038 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.782e-05/0.1965, allocations: 121.8 kB / 0.6039 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1965, allocations: 3.938 kB / 0.6039 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003783/0.1968, allocations: 71.98 kB / 0.604 GB, free: 1.352 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.0003273/0.1972, allocations: 175.1 kB / 0.6041 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1974, allocations: 115.8 kB / 0.6042 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.1974, allocations: 4 kB / 0.6043 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.966e-05/0.1975, allocations: 43.92 kB / 0.6043 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.1979, allocations: 51.7 kB / 0.6043 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.1986, allocations: 429.6 kB / 0.6048 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2968/0.4955, allocations: 0.7123 MB / 0.6054 GB, free: 48.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002732/0.4958, allocations: 48.86 kB / 0.6055 GB, free: 48.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.4958, allocations: 23 kB / 0.6055 GB, free: 48.96 MB / 0.4981 GB Notification: Performance of SimCode: time 1.182e-06/0.4959, allocations: 0 / 0.6055 GB, free: 48.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.006709/0.5026, allocations: 3.223 MB / 0.6087 GB, free: 48.78 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & ./IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)