Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001485/0.001486, allocations: 194.6 kB / 16.14 MB, free: 6.652 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.629/1.629, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5956/0.5956, allocations: 95.48 MB / 364.8 MB, free: 10.09 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001572/0.001572, allocations: 71.89 kB / 444.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3271, allocations: 69.07 MB / 0.5017 GB, free: 17.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002322/0.3295, allocations: 1.365 MB / 0.503 GB, free: 16.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.3306, allocations: 0.8237 MB / 0.5038 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.668e-05/0.3306, allocations: 0 / 0.5038 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.3307, allocations: 3.938 kB / 0.5039 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.3307, allocations: 7.922 kB / 0.5039 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.3311, allocations: 119.6 kB / 0.504 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.3312, allocations: 27.88 kB / 0.504 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.3312, allocations: 3.984 kB / 0.504 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.585e-05/0.3313, allocations: 7.938 kB / 0.504 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.164e-05/0.3313, allocations: 15.94 kB / 0.504 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.3314, allocations: 0 / 0.504 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.3317, allocations: 227.6 kB / 0.5042 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.035e-05/0.3317, allocations: 0 / 0.5042 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.3317, allocations: 11.94 kB / 0.5043 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.332, allocations: 125.9 kB / 0.5044 GB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.332, allocations: 0 / 0.5044 GB, free: 15.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.332, allocations: 0 / 0.5044 GB, free: 15.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.332, allocations: 0 / 0.5044 GB, free: 15.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004331/0.3325, allocations: 367.4 kB / 0.5047 GB, free: 14.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.3325, allocations: 11.98 kB / 0.5047 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.3326, allocations: 4.938 kB / 0.5047 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3327, allocations: 164.4 kB / 0.5049 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3327, allocations: 12.31 kB / 0.5049 GB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.3328, allocations: 15.78 kB / 0.5049 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.3329, allocations: 29.7 kB / 0.505 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-06/0.3329, allocations: 0 / 0.505 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3329, allocations: 0 / 0.505 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.3329, allocations: 0 / 0.505 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.958e-05/0.333, allocations: 11.98 kB / 0.505 GB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.3331, allocations: 153.7 kB / 0.5051 GB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3333, allocations: 46.44 kB / 0.5052 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.3333, allocations: 8.859 kB / 0.5052 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3333, allocations: 0 / 0.5052 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.554e-05/0.3333, allocations: 34.56 kB / 0.5052 GB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3333, allocations: 0 / 0.5052 GB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001071/0.3344, allocations: 432.2 kB / 0.5056 GB, free: 13.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.3345, allocations: 51.41 kB / 0.5057 GB, free: 13.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.216e-05/0.3345, allocations: 94.19 kB / 0.5057 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.3345, allocations: 33.62 kB / 0.5058 GB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.676e-05/0.3345, allocations: 88.08 kB / 0.5059 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.3346, allocations: 15.75 kB / 0.5059 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.3346, allocations: 17.72 kB / 0.5059 GB, free: 13.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.3347, allocations: 318.8 kB / 0.5062 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.3347, allocations: 8 kB / 0.5062 GB, free: 12.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.672e-05/0.3347, allocations: 12 kB / 0.5062 GB, free: 12.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.3348, allocations: 32.78 kB / 0.5062 GB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3348, allocations: 0 / 0.5062 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.164e-05/0.3348, allocations: 57.89 kB / 0.5063 GB, free: 12.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.3349, allocations: 4.625 kB / 0.5063 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3349, allocations: 192 / 0.5063 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3349, allocations: 3.984 kB / 0.5063 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/0.3349, allocations: 11.94 kB / 0.5063 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3349, allocations: 8 kB / 0.5063 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.335, allocations: 3.984 kB / 0.5063 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.335, allocations: 0 / 0.5063 GB, free: 12.71 MB / 382.1 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 (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 prepare postOptimizeDAE: time 4.707e-05/0.335, allocations: 117.8 kB / 0.5064 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.109e-05/0.3351, allocations: 3.906 kB / 0.5065 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.3352, allocations: 69.23 kB / 0.5065 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3352, allocations: 0 / 0.5065 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3352, allocations: 0 / 0.5065 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3352, allocations: 4 kB / 0.5065 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3354, allocations: 311.4 kB / 0.5068 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3354, allocations: 0 / 0.5068 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3355, allocations: 11.94 kB / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3355, allocations: 4 kB / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.3355, allocations: 0 / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3355, allocations: 0 / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3355, allocations: 0 / 0.5068 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.3356, allocations: 184.4 kB / 0.507 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.3357, allocations: 89 kB / 0.5071 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.3357, allocations: 8.219 kB / 0.5071 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.3358, allocations: 4 kB / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.3358, allocations: 7.938 kB / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3358, allocations: 0 / 0.5071 GB, free: 11.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.059e-05/0.3358, allocations: 87.27 kB / 0.5072 GB, free: 11.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3358, allocations: 8 kB / 0.5072 GB, free: 11.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003044/0.3362, allocations: 51.94 kB / 0.5073 GB, free: 11.65 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pSatDer) * 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.0002364/0.3364, allocations: 167.2 kB / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.835e-05/0.3365, allocations: 23.98 kB / 0.5074 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3365, allocations: 0 / 0.5074 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.527e-05/0.3365, allocations: 23.88 kB / 0.5075 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3369, allocations: 20.05 kB / 0.5075 GB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.3372, allocations: 194.5 kB / 0.5077 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3373, allocations: 0.6886 MB / 0.5083 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.3374, allocations: 7.984 kB / 0.5083 GB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.691e-05/0.3374, allocations: 11.44 kB / 0.5084 GB, free: 10.46 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3374, allocations: 0 / 0.5084 GB, free: 10.46 MB / 382.1 MB Notification: Performance of Templates: time 0.003597/0.341, allocations: 1.594 MB / 0.5099 GB, free: 8.918 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)