Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.001041/0.00104, allocations: 101.1 kB / 16.29 MB, free: 6.016 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.0009753/0.0009753, allocations: 185.8 kB / 17.22 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.245/1.245, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.573/1.573, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.89 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1933, allocations: 114.6 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002521/0.1958, allocations: 1.264 MB / 0.7853 GB, free: 2.605 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009545/0.1968, allocations: 0.6481 MB / 0.786 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.1968, allocations: 3.938 kB / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.1969, allocations: 0 / 0.786 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.584e-05/0.1969, allocations: 11.92 kB / 0.786 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1973, allocations: 107.5 kB / 0.7861 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.526e-05/0.1974, allocations: 23.92 kB / 0.7861 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.1974, allocations: 7.984 kB / 0.7861 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.1974, allocations: 7.938 kB / 0.7861 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.1975, allocations: 11.98 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1975, allocations: 4 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.1978, allocations: 147.8 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.1978, allocations: 7.938 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.1978, allocations: 11.94 kB / 0.7863 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.198, allocations: 100 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.198, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.198, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.198, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 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.0004059/0.1984, allocations: 351.5 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.1985, allocations: 8.031 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.1989, allocations: 36.8 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.786e-05/0.199, allocations: 164.4 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.199, allocations: 384 / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.199, allocations: 384 / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.1992, allocations: 58.22 kB / 0.787 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1992, allocations: 4.125 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1992, allocations: 3.938 kB / 0.787 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1992, allocations: 4 kB / 0.787 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1993, allocations: 27.97 kB / 0.787 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.1995, allocations: 169.7 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.1998, allocations: 66.53 kB / 0.7872 GB, free: 500 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.206e-05/0.1999, allocations: 24.94 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1999, allocations: 0 / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1999, allocations: 38.5 kB / 0.7873 GB, free: 424 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1999, allocations: 0 / 0.7873 GB, free: 424 kB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.3012/0.5011, allocations: 0.5704 MB / 0.7879 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/0.5011, allocations: 51.41 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.728e-05/0.5012, allocations: 100.4 kB / 0.788 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.5012, allocations: 25.7 kB / 0.788 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.53e-05/0.5012, allocations: 87.45 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.5013, allocations: 23.48 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.5013, allocations: 26.11 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.5014, allocations: 318.8 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.5015, allocations: 40.22 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.5016, allocations: 34.22 kB / 0.7885 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.5018, allocations: 88.64 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5018, allocations: 0 / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000282/0.5021, allocations: 125.6 kB / 0.7887 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.5021, allocations: 11.38 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5022, allocations: 0 / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.5022, allocations: 2.719 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.5024, allocations: 24.61 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5024, allocations: 0 / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.5025, allocations: 8.156 kB / 0.7888 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.5025, allocations: 5.688 kB / 0.7888 GB, free: 48.04 MB / 0.6544 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 6.697e-05/0.5026, allocations: 117.2 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.5026, allocations: 10.47 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.5027, allocations: 10.25 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.5027, allocations: 0 / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.5027, allocations: 2.781 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5027, allocations: 3.234 kB / 0.7889 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.5028, allocations: 181.7 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5029, allocations: 1.531 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.5031, allocations: 26.11 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.5031, allocations: 3.938 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.5031, allocations: 7.078 kB / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5031, allocations: 0 / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5031, allocations: 0 / 0.7891 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.5035, allocations: 192.6 kB / 0.7893 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.5035, allocations: 85.67 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.5036, allocations: 5.781 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.5037, allocations: 11.47 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.5038, allocations: 3.672 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.5038, allocations: 8.688 kB / 0.7894 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.833e-05/0.5038, allocations: 81.84 kB / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5038, allocations: 1.656 kB / 0.7895 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002223/0.504, allocations: 26.88 kB / 0.7895 GB, free: 47.5 MB / 0.6544 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.000168/0.5042, allocations: 136.8 kB / 0.7897 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.5045, allocations: 87.5 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5045, allocations: 0.6562 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.5046, allocations: 45.72 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.5049, allocations: 11.88 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.5054, allocations: 152 kB / 0.79 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5056, allocations: 0.6832 MB / 0.7906 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001302/0.5057, allocations: 26.06 kB / 0.7906 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.668e-05/0.5058, allocations: 15.12 kB / 0.7907 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of SimCode: time 8.62e-07/0.5058, allocations: 6.438 kB / 0.7907 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.00907/0.5148, allocations: 1.502 MB / 0.7921 GB, free: 46.55 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)