Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009349/0.000935, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00781/0.00781, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9687/0.9687, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004944, allocations: 8 kB / 0.5076 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1919, allocations: 82.32 MB / 0.588 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00176/0.1937, allocations: 1.124 MB / 0.5891 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1947, allocations: 0.6024 MB / 0.5897 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.307e-05/0.1948, allocations: 0 / 0.5897 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.1948, allocations: 4 kB / 0.5897 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.154e-05/0.1949, allocations: 3.938 kB / 0.5897 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.1953, allocations: 83.69 kB / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.475e-05/0.1953, allocations: 19.92 kB / 0.5898 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.1954, allocations: 12 kB / 0.5898 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.1955, allocations: 11.92 kB / 0.5898 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/0.1955, allocations: 4 kB / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1955, allocations: 0 / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.1958, allocations: 151.7 kB / 0.5899 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.1958, allocations: 11.92 kB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.1959, allocations: 29.64 kB / 0.59 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1961, allocations: 108 kB / 0.5901 GB, free: 476 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1961, allocations: 0 / 0.5901 GB, free: 476 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1961, allocations: 0 / 0.5901 GB, free: 476 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1961, allocations: 4 kB / 0.5901 GB, free: 472 kB / 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.0004358/0.1966, allocations: 359.4 kB / 0.5904 GB, free: 60 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1966, allocations: 8.031 kB / 0.5904 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.197, allocations: 24.91 kB / 0.5905 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.1972, allocations: 168.4 kB / 0.5906 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1972, allocations: 4.375 kB / 0.5906 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.1972, allocations: 384 / 0.5906 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1975, allocations: 74.2 kB / 0.5907 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1975, allocations: 8.109 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1975, allocations: 3.938 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1975, allocations: 0 / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.1978, allocations: 67.88 kB / 0.5908 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1982, allocations: 280.8 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.1985, allocations: 66.47 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1986, allocations: 40.89 kB / 0.5911 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1987, allocations: 3.984 kB / 0.5911 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.1987, allocations: 30.56 kB / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.1987, allocations: 0 / 0.5912 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005258/0.1992, allocations: 129.5 kB / 0.5913 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.1993, allocations: 51.41 kB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.81e-05/0.1994, allocations: 106 kB / 0.5914 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1994, allocations: 25.7 kB / 0.5915 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.943e-05/0.1994, allocations: 88.08 kB / 0.5916 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1995, allocations: 7.906 kB / 0.5916 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.1995, allocations: 9.719 kB / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.1996, allocations: 310.8 kB / 0.5919 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/0.1997, allocations: 35.97 kB / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.1999, allocations: 31.97 kB / 0.5919 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.2002, allocations: 76.8 kB / 0.592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2002, allocations: 0 / 0.592 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003141/0.2005, allocations: 101.6 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2005, allocations: 4 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2005, allocations: 0 / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2005, allocations: 0 / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.2007, allocations: 19.97 kB / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2007, allocations: 0 / 0.5921 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.448e-05/0.2008, allocations: 16.02 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.2008, allocations: 3.938 kB / 0.5921 GB, free: 14.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.2009, allocations: 113.8 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.2009, allocations: 4 kB / 0.5923 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.201, allocations: 3.125 kB / 0.5923 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.201, allocations: 0 / 0.5923 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.201, allocations: 7.938 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.201, allocations: 4 kB / 0.5923 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2012, allocations: 165.6 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.2012, allocations: 3.938 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2013, allocations: 23.98 kB / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2013, allocations: 0 / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2013, allocations: 0 / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2013, allocations: 0 / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2013, allocations: 0 / 0.5925 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.2017, allocations: 203.3 kB / 0.5926 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2017, allocations: 77.11 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2018, allocations: 8 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.2019, allocations: 7.984 kB / 0.5927 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.2019, allocations: 4 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.2019, allocations: 3.984 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.202, allocations: 79.28 kB / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.202, allocations: 0 / 0.5928 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002513/0.2022, allocations: 20.03 kB / 0.5928 GB, free: 13.31 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001728/0.2024, allocations: 107.2 kB / 0.5929 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003356/0.2028, allocations: 71.94 kB / 0.593 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2028, allocations: 0 / 0.593 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.2029, allocations: 35.97 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2032, allocations: 10.59 kB / 0.5931 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.2037, allocations: 144.7 kB / 0.5932 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2039, allocations: 0.6809 MB / 0.5939 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.918e-05/0.204, allocations: 11.92 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.876e-05/0.2041, allocations: 15.42 kB / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2041, allocations: 4 kB / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.003018/0.2071, allocations: 0.689 MB / 0.5946 GB, free: 11.49 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)