Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.007117/0.007117, allocations: 103 kB / 15.73 MB, free: 6.051 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.001584/0.001584, allocations: 194.1 kB / 16.67 MB, free: 5.98 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.466/1.466, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7685/0.7685, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 67.73 kB / 0.5814 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1898, allocations: 80.2 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003072/0.1929, allocations: 1.284 MB / 0.6609 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1941, allocations: 0.6537 MB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.1942, allocations: 0 / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.1942, allocations: 0 / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.1943, allocations: 3.938 kB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.1948, allocations: 111.5 kB / 0.6617 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.343e-05/0.1949, allocations: 19.92 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.195, allocations: 4 kB / 0.6617 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.195, allocations: 15.92 kB / 0.6617 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.1951, allocations: 7.984 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.1951, allocations: 4 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.1954, allocations: 143.7 kB / 0.6619 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.1955, allocations: 19.91 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.1955, allocations: 4 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002442/0.1958, allocations: 95.77 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1958, allocations: 4 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1958, allocations: 0 / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1958, allocations: 0 / 0.662 GB, free: 11.13 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.0005686/0.1964, allocations: 355.5 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.1964, allocations: 8.031 kB / 0.6623 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004732/0.1969, allocations: 24.91 kB / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1971, allocations: 168.4 kB / 0.6625 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1971, allocations: 8.375 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.1971, allocations: 4.281 kB / 0.6625 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1973, allocations: 58.16 kB / 0.6626 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1973, allocations: 192 / 0.6626 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1974, allocations: 3.938 kB / 0.6626 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1974, allocations: 0 / 0.6626 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.1975, allocations: 35.91 kB / 0.6626 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.1977, allocations: 161.7 kB / 0.6628 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.1981, allocations: 66.53 kB / 0.6629 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.1982, allocations: 32.94 kB / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1982, allocations: 0 / 0.6629 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1982, allocations: 34.5 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.1982, allocations: 3.938 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003425/0.2017, allocations: 0.5759 MB / 0.6635 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.2017, allocations: 51.41 kB / 0.6635 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.2018, allocations: 101.8 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2018, allocations: 25.7 kB / 0.6637 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.2019, allocations: 80.14 kB / 0.6637 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.2019, allocations: 19.72 kB / 0.6637 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.202, allocations: 29.81 kB / 0.6638 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2021, allocations: 310.8 kB / 0.6641 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2022, allocations: 43.97 kB / 0.6641 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.2024, allocations: 39.95 kB / 0.6642 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2027, allocations: 88.73 kB / 0.6642 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2027, allocations: 0 / 0.6642 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003362/0.203, allocations: 117.6 kB / 0.6643 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.203, allocations: 11.94 kB / 0.6644 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2031, allocations: 4 kB / 0.6644 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2031, allocations: 0 / 0.6644 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.2034, allocations: 19.97 kB / 0.6644 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2034, allocations: 4 kB / 0.6644 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.2035, allocations: 7.984 kB / 0.6644 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.2036, allocations: 3.984 kB / 0.6644 GB, free: 8.395 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.889e-05/0.2037, allocations: 118.4 kB / 0.6645 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.2037, allocations: 7.938 kB / 0.6645 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.2038, allocations: 11.97 kB / 0.6645 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2038, allocations: 0 / 0.6645 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2038, allocations: 0 / 0.6645 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2038, allocations: 0 / 0.6645 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.204, allocations: 199.7 kB / 0.6647 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.204, allocations: 4 kB / 0.6647 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2042, allocations: 23.97 kB / 0.6647 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.2042, allocations: 3.938 kB / 0.6648 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.2043, allocations: 3.984 kB / 0.6648 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2043, allocations: 0 / 0.6648 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2043, allocations: 0 / 0.6648 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000528/0.2048, allocations: 196.9 kB / 0.6649 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.2049, allocations: 85.03 kB / 0.665 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.2049, allocations: 0 / 0.665 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.2051, allocations: 8.094 kB / 0.665 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.2051, allocations: 11.98 kB / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.2051, allocations: 4 kB / 0.665 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.2052, allocations: 79.27 kB / 0.6651 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2052, allocations: 4 kB / 0.6651 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00025/0.2054, allocations: 27.94 kB / 0.6652 GB, free: 7.516 MB / 0.4981 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.0002899/0.2057, allocations: 131.9 kB / 0.6653 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.2061, allocations: 88.02 kB / 0.6654 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2061, allocations: 0 / 0.6654 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.2062, allocations: 47.89 kB / 0.6654 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2065, allocations: 12 kB / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.2072, allocations: 161.9 kB / 0.6656 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.2074, allocations: 0.6768 MB / 0.6662 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.2076, allocations: 32.31 kB / 0.6663 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.2077, allocations: 15.42 kB / 0.6663 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.2077, allocations: 0 / 0.6663 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of Templates: time 0.004463/0.2121, allocations: 1.511 MB / 0.6678 GB, free: 4.844 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)