Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.811/3.811, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002482/0.002482, allocations: 178.7 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.281/4.281, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002074/0.002074, allocations: 93.48 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008255/0.0008257, allocations: 14.72 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3565, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3662/0.7227, allocations: 132.8 MB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000627/0.7234, allocations: 91.94 kB / 1.029 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.7476, allocations: 2.863 MB / 1.032 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.116e-06/0.7477, allocations: 0 / 1.032 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.557e-06/0.7478, allocations: 3.938 kB / 1.032 GB, free: 9.602 MB / 0.6823 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.0006978/0.7485, allocations: 363.3 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.157e-05/0.7486, allocations: 16.03 kB / 1.032 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008988/0.7495, allocations: 24.91 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.7497, allocations: 160.4 kB / 1.033 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.7497, allocations: 384 / 1.033 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.002e-05/0.7498, allocations: 8.375 kB / 1.033 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.7502, allocations: 54.2 kB / 1.033 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.7502, allocations: 8.188 kB / 1.033 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.7503, allocations: 3.938 kB / 1.033 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.7503, allocations: 0 / 1.033 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.7506, allocations: 31.91 kB / 1.033 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.7511, allocations: 169.5 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007624/0.7519, allocations: 66.58 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.7521, allocations: 28.94 kB / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.7522, allocations: 0 / 1.033 GB, free: 8.531 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.7522, allocations: 34.56 kB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 3.526e-06/0.7523, allocations: 0 / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.01304/0.7653, allocations: 0.5877 MB / 1.034 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.7655, allocations: 51.41 kB / 1.034 GB, free: 7.785 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.7656, allocations: 97.86 kB / 1.034 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/0.7657, allocations: 25.7 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.7658, allocations: 84.27 kB / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.58e-05/0.7659, allocations: 27.64 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.7659, allocations: 0 / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.7662, allocations: 314.8 kB / 1.034 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.7666, allocations: 39.95 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.767, allocations: 39.95 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.7675, allocations: 39.98 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.7675, allocations: 0 / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001026/0.7686, allocations: 133.3 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.7687, allocations: 11.94 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.7687, allocations: 4 kB / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.7687, allocations: 0 / 1.034 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.7693, allocations: 27.97 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.7694, allocations: 0 / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.7698, allocations: 7.984 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.7698, allocations: 0 / 1.034 GB, free: 6.914 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.7701, allocations: 113.8 kB / 1.035 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.7701, allocations: 11.92 kB / 1.035 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.7703, allocations: 11.97 kB / 1.035 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.7703, allocations: 0 / 1.035 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.7704, allocations: 0 / 1.035 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.353e-06/0.7704, allocations: 0 / 1.035 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.7708, allocations: 188.4 kB / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7708, allocations: 0 / 1.035 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006355/0.7715, allocations: 27.91 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.7715, allocations: 3.938 kB / 1.035 GB, free: 6.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.7716, allocations: 7.984 kB / 1.035 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-05/0.7716, allocations: 8.062 kB / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.7716, allocations: 0 / 1.035 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.7732, allocations: 189 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.7734, allocations: 84.95 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.241e-05/0.7735, allocations: 4.031 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005142/0.774, allocations: 12.05 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.7741, allocations: 4 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.7741, allocations: 7.984 kB / 1.035 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.421e-05/0.7742, allocations: 79.28 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.91e-07/0.7743, allocations: 0 / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006478/0.7749, allocations: 35.98 kB / 1.035 GB, free: 6.039 MB / 0.6823 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 (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.0005914/0.7755, allocations: 139 kB / 1.035 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009956/0.7766, allocations: 92.02 kB / 1.035 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.7767, allocations: 4 kB / 1.035 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/0.7771, allocations: 47.89 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.7776, allocations: 17.14 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.7792, allocations: 170.8 kB / 1.036 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.7797, allocations: 0.6809 MB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006653/0.7804, allocations: 31.94 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.7806, allocations: 23.41 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of SimCode: time 1.463e-06/0.7806, allocations: 0 / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of Templates: time 0.009362/0.79, allocations: 1.47 MB / 1.038 GB, free: 3.355 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)