Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 173.5 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5073/0.5073, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 348.4 MB, free: 4.98 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007797/0.0007797, allocations: 89.55 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 12 kB / 0.4901 GB, free: 7.996 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3844, allocations: 71.02 MB / 0.5595 GB, free: 43.83 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.5564, allocations: 101.4 MB / 0.6585 GB, free: 8.094 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004489/0.5569, allocations: 87.92 kB / 0.6586 GB, free: 8.008 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01174/0.5687, allocations: 2.893 MB / 0.6614 GB, free: 5.117 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5687, allocations: 0 / 0.6614 GB, free: 5.117 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.5687, allocations: 4 kB / 0.6614 GB, free: 5.113 MB / 474.7 MB 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.0004839/0.5692, allocations: 355.5 kB / 0.6618 GB, free: 4.715 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.5693, allocations: 12.03 kB / 0.6618 GB, free: 4.703 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.5697, allocations: 28.81 kB / 0.6618 GB, free: 4.676 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.5699, allocations: 160.4 kB / 0.662 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5699, allocations: 384 / 0.662 GB, free: 4.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.57, allocations: 8.375 kB / 0.662 GB, free: 4.473 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.5702, allocations: 58.16 kB / 0.662 GB, free: 4.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5702, allocations: 8.109 kB / 0.662 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.5702, allocations: 7.938 kB / 0.662 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.5703, allocations: 0 / 0.662 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.5704, allocations: 27.91 kB / 0.6621 GB, free: 4.367 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.5707, allocations: 165.6 kB / 0.6622 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.5711, allocations: 66.58 kB / 0.6623 GB, free: 4.082 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.5712, allocations: 28.94 kB / 0.6623 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.5713, allocations: 4 kB / 0.6623 GB, free: 4.047 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.5713, allocations: 38.5 kB / 0.6623 GB, free: 4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.814e-06/0.5713, allocations: 4 kB / 0.6624 GB, free: 3.996 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.004448/0.5758, allocations: 0.5798 MB / 0.6629 GB, free: 3.363 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.5758, allocations: 51.41 kB / 0.663 GB, free: 3.301 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.934e-05/0.5759, allocations: 101.9 kB / 0.6631 GB, free: 3.191 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.576, allocations: 25.7 kB / 0.6631 GB, free: 3.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.576, allocations: 80.14 kB / 0.6632 GB, free: 3.078 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.931e-05/0.5761, allocations: 27.64 kB / 0.6632 GB, free: 3.051 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.309e-05/0.5761, allocations: 0 / 0.6632 GB, free: 3.051 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5763, allocations: 314.8 kB / 0.6635 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.5765, allocations: 40.09 kB / 0.6635 GB, free: 2.695 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.5767, allocations: 35.95 kB / 0.6636 GB, free: 2.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003923/0.5771, allocations: 88.75 kB / 0.6636 GB, free: 2.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5771, allocations: 0 / 0.6636 GB, free: 2.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005161/0.5776, allocations: 125.8 kB / 0.6638 GB, free: 2.441 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.5777, allocations: 11.94 kB / 0.6638 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.5777, allocations: 0 / 0.6638 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5777, allocations: 0 / 0.6638 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.5781, allocations: 23.95 kB / 0.6638 GB, free: 2.406 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.5781, allocations: 8.062 kB / 0.6638 GB, free: 2.398 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.5783, allocations: 8 kB / 0.6638 GB, free: 2.391 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.5783, allocations: 3.984 kB / 0.6638 GB, free: 2.387 MB / 474.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.5785, allocations: 117.8 kB / 0.6639 GB, free: 2.262 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.5785, allocations: 8.172 kB / 0.6639 GB, free: 2.254 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.5786, allocations: 19.91 kB / 0.664 GB, free: 2.223 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.5787, allocations: 3.984 kB / 0.664 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5787, allocations: 0 / 0.664 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5787, allocations: 3.938 kB / 0.664 GB, free: 2.215 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.5789, allocations: 180.4 kB / 0.6641 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5789, allocations: 0 / 0.6641 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.5793, allocations: 27.95 kB / 0.6642 GB, free: 1.965 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.5793, allocations: 3.938 kB / 0.6642 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.5793, allocations: 11.98 kB / 0.6642 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5793, allocations: 0 / 0.6642 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5793, allocations: 0 / 0.6642 GB, free: 1.949 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.5801, allocations: 197 kB / 0.6644 GB, free: 1.738 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.5802, allocations: 81.05 kB / 0.6644 GB, free: 1.641 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.5803, allocations: 0 / 0.6644 GB, free: 1.641 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.5806, allocations: 12.14 kB / 0.6645 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5806, allocations: 4 kB / 0.6645 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.5807, allocations: 11.98 kB / 0.6645 GB, free: 1.613 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.231e-05/0.5807, allocations: 83.34 kB / 0.6646 GB, free: 1.531 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5807, allocations: 0 / 0.6646 GB, free: 1.531 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004478/0.5812, allocations: 32 kB / 0.6646 GB, free: 1.5 MB / 474.7 MB 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 (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.000321/0.5815, allocations: 139.2 kB / 0.6647 GB, free: 1.355 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00049/0.582, allocations: 92 kB / 0.6648 GB, free: 1.266 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.582, allocations: 0 / 0.6648 GB, free: 1.266 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.5822, allocations: 47.89 kB / 0.6649 GB, free: 1.219 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.5826, allocations: 8 kB / 0.6649 GB, free: 1.211 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.5835, allocations: 186.4 kB / 0.665 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5838, allocations: 0.6731 MB / 0.6657 GB, free: 304 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.5842, allocations: 31.92 kB / 0.6657 GB, free: 272 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.744e-05/0.5843, allocations: 19.42 kB / 0.6657 GB, free: 252 kB / 474.7 MB Notification: Performance of SimCode: time 3e-07/0.5843, allocations: 0 / 0.6657 GB, free: 252 kB / 474.7 MB Notification: Performance of Templates: time 0.005554/0.5899, allocations: 1.47 MB / 0.6672 GB, free: 14.82 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)