Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00566/0.00566, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.00115/0.00115, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8549/0.8549, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 70.92 kB / 0.5856 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1818, allocations: 80.93 MB / 0.6647 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002874/0.1847, allocations: 1.275 MB / 0.6659 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.186, allocations: 0.6438 MB / 0.6665 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.186, allocations: 0 / 0.6665 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.186, allocations: 3.938 kB / 0.6665 GB, free: 4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.094e-05/0.1861, allocations: 3.984 kB / 0.6665 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.1867, allocations: 103.5 kB / 0.6666 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.719e-05/0.1868, allocations: 31.84 kB / 0.6667 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.1869, allocations: 7.938 kB / 0.6667 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.1869, allocations: 8 kB / 0.6667 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.187, allocations: 11.98 kB / 0.6667 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.187, allocations: 3.938 kB / 0.6667 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.1873, allocations: 143.8 kB / 0.6668 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.1874, allocations: 7.938 kB / 0.6668 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.1874, allocations: 11.98 kB / 0.6669 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.1876, allocations: 99.75 kB / 0.667 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1877, allocations: 0 / 0.667 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1877, allocations: 0 / 0.667 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1877, allocations: 0 / 0.667 GB, free: 3.574 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000528/0.1882, allocations: 359.4 kB / 0.6673 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1883, allocations: 13.11 kB / 0.6673 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004374/0.1887, allocations: 28.91 kB / 0.6673 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.1889, allocations: 168.3 kB / 0.6675 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1889, allocations: 4.375 kB / 0.6675 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.1889, allocations: 8.375 kB / 0.6675 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.1891, allocations: 54.22 kB / 0.6676 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1891, allocations: 4.125 kB / 0.6676 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1892, allocations: 3.938 kB / 0.6676 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1892, allocations: 0 / 0.6676 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.1893, allocations: 31.97 kB / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.1896, allocations: 161.6 kB / 0.6678 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.19, allocations: 66.52 kB / 0.6678 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.782e-05/0.1901, allocations: 28.94 kB / 0.6678 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1901, allocations: 11.97 kB / 0.6679 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.1901, allocations: 34.56 kB / 0.6679 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.1901, allocations: 0 / 0.6679 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003458/0.1936, allocations: 0.5681 MB / 0.6684 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.1937, allocations: 59.41 kB / 0.6685 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.174e-05/0.1938, allocations: 97.84 kB / 0.6686 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1938, allocations: 29.7 kB / 0.6686 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.1938, allocations: 84.08 kB / 0.6687 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.244e-05/0.1939, allocations: 19.66 kB / 0.6687 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-05/0.194, allocations: 29.69 kB / 0.6688 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1941, allocations: 310.8 kB / 0.669 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1942, allocations: 48.09 kB / 0.6691 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1944, allocations: 35.97 kB / 0.6691 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1947, allocations: 80.81 kB / 0.6692 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1947, allocations: 0 / 0.6692 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003749/0.1951, allocations: 117.6 kB / 0.6693 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.1951, allocations: 7.938 kB / 0.6693 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1951, allocations: 4.234 kB / 0.6693 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1951, allocations: 0 / 0.6693 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1954, allocations: 27.91 kB / 0.6694 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.1954, allocations: 3.984 kB / 0.6694 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1955, allocations: 11.98 kB / 0.6694 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1956, allocations: 4 kB / 0.6694 GB, free: 0.8242 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 (7): * Single equations (assignments): 7 * 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 9.626e-05/0.1957, allocations: 113.8 kB / 0.6695 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.1957, allocations: 3.938 kB / 0.6695 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.685e-05/0.1958, allocations: 11.97 kB / 0.6695 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1958, allocations: 4 kB / 0.6695 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1958, allocations: 0 / 0.6695 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1958, allocations: 3.938 kB / 0.6695 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.196, allocations: 191.5 kB / 0.6697 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.196, allocations: 0 / 0.6697 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.1962, allocations: 23.97 kB / 0.6697 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1962, allocations: 7.938 kB / 0.6697 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1963, allocations: 8.047 kB / 0.6697 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1963, allocations: 0 / 0.6697 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1963, allocations: 0 / 0.6697 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.1968, allocations: 192.9 kB / 0.6699 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1969, allocations: 85.08 kB / 0.67 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.1969, allocations: 3.984 kB / 0.67 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.1971, allocations: 12 kB / 0.67 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.1972, allocations: 3.984 kB / 0.67 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.1972, allocations: 4.062 kB / 0.67 GB, free: 72 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.1972, allocations: 79.28 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1973, allocations: 0 / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002808/0.1975, allocations: 39.92 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002337/0.1978, allocations: 124.6 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.1981, allocations: 91.95 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1982, allocations: 3.938 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1983, allocations: 43.95 kB / 0.6704 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.1986, allocations: 8 kB / 0.6704 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006811/0.1993, allocations: 169.9 kB / 0.6705 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.1995, allocations: 0.6767 MB / 0.6712 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001619/0.1997, allocations: 27.98 kB / 0.6712 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.636e-05/0.1998, allocations: 15.42 kB / 0.6713 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.1998, allocations: 0 / 0.6713 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of Templates: time 0.004449/0.2042, allocations: 1.514 MB / 0.6727 GB, free: 13.27 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)