Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001073/0.001073, allocations: 172.7 kB / 15.95 MB, free: 208 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.399/1.399, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9775/0.9775, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003469, allocations: 8 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1925, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.001551/0.1941, allocations: 1.124 MB / 0.5885 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004123/0.1945, allocations: 193.3 kB / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.1945, allocations: 0 / 0.5886 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.418e-05/0.1946, allocations: 7.938 kB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.1946, allocations: 0 / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.1948, allocations: 19.91 kB / 0.5887 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.1949, allocations: 23.92 kB / 0.5887 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.886e-05/0.195, allocations: 8 kB / 0.5887 GB, free: 1.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.195, allocations: 7.938 kB / 0.5887 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.987e-05/0.1951, allocations: 11.97 kB / 0.5887 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1951, allocations: 4 kB / 0.5887 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.1951, allocations: 15.98 kB / 0.5887 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.1952, allocations: 11.92 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.1952, allocations: 29.7 kB / 0.5888 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.1953, allocations: 24.25 kB / 0.5888 GB, free: 1.543 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1953, allocations: 4 kB / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1953, allocations: 0 / 0.5888 GB, free: 1.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1953, allocations: 0 / 0.5888 GB, free: 1.539 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.0004346/0.1958, allocations: 347.2 kB / 0.5891 GB, free: 1.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1958, allocations: 12.03 kB / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1959, allocations: 0 / 0.5891 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.196, allocations: 167 kB / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.1961, allocations: 0 / 0.5893 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1961, allocations: 4 kB / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1962, allocations: 53.67 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1963, allocations: 0 / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1963, allocations: 7.938 kB / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.1963, allocations: 0 / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1965, allocations: 47.95 kB / 0.5894 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.1968, allocations: 256.8 kB / 0.5897 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1969, allocations: 42.59 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.197, allocations: 28.91 kB / 0.5897 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.197, allocations: 0 / 0.5897 GB, free: 448 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1971, allocations: 34.5 kB / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1971, allocations: 0 / 0.5898 GB, free: 404 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003601/0.1974, allocations: 101.5 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1975, allocations: 55.41 kB / 0.5899 GB, free: 228 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.1976, allocations: 105.8 kB / 0.59 GB, free: 112 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.1976, allocations: 25.7 kB / 0.59 GB, free: 80 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.1977, allocations: 88.2 kB / 0.5901 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.1977, allocations: 3.906 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1977, allocations: 8 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1978, allocations: 310.8 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.1979, allocations: 19.97 kB / 0.5904 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.198, allocations: 31.92 kB / 0.5905 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.1981, allocations: 15.98 kB / 0.5905 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1981, allocations: 0 / 0.5905 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001835/0.1983, allocations: 85.72 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1983, allocations: 6.812 kB / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1983, allocations: 0 / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1983, allocations: 0 / 0.5906 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.1984, allocations: 11.98 kB / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1984, allocations: 0 / 0.5906 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.226e-05/0.1985, allocations: 12.03 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1985, allocations: 11.88 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 0.0001044/0.1986, allocations: 109.8 kB / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.1986, allocations: 0 / 0.5907 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.1989, allocations: 96.89 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1989, allocations: 0 / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1989, allocations: 3.984 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1989, allocations: 4 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.1991, allocations: 157.6 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1991, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.789e-05/0.1992, allocations: 15.98 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1992, allocations: 4 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1992, allocations: 4 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1992, allocations: 0 / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1992, allocations: 3.984 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.1995, allocations: 183.3 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.1995, allocations: 85.09 kB / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1995, allocations: 0 / 0.5912 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1997, allocations: 8 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1997, allocations: 3.984 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1997, allocations: 0 / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.1998, allocations: 83.28 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1998, allocations: 0 / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002622/0.2001, allocations: 4 kB / 0.5913 GB, free: 14.62 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 (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 Backend phase and start with SimCode phase: time 0.0001123/0.2002, allocations: 99.25 kB / 0.5914 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.2004, allocations: 47.95 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2004, allocations: 0 / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.776e-05/0.2005, allocations: 35.98 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.2008, allocations: 7.891 kB / 0.5915 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.2011, allocations: 136.5 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2014, allocations: 0.677 MB / 0.5923 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.124e-05/0.2015, allocations: 8 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.2015, allocations: 7.438 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2015, allocations: 0 / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.002318/0.2038, allocations: 413.7 kB / 0.5927 GB, free: 13.14 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)