Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.0008676/0.0008677, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0008646/0.0008646, allocations: 188.3 kB / 16.25 MB, free: 6.629 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.182/1.182, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.6 MB / 0.5089 GB, free: 3.266 MB / 414.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.001286/0.001286, allocations: 71.91 kB / 0.6218 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3943, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002155/0.3965, allocations: 1.358 MB / 0.7253 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008764/0.3974, allocations: 0.6482 MB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.3975, allocations: 0 / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.3975, allocations: 0 / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.3976, allocations: 0 / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.398, allocations: 103.6 kB / 0.7261 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.398, allocations: 23.81 kB / 0.7261 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.3981, allocations: 0 / 0.7261 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.3981, allocations: 15.98 kB / 0.7261 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.3982, allocations: 11.97 kB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.3982, allocations: 0 / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.3984, allocations: 151.7 kB / 0.7263 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.3984, allocations: 7.984 kB / 0.7263 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.3985, allocations: 4 kB / 0.7263 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3986, allocations: 101.7 kB / 0.7264 GB, free: 10.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3986, allocations: 4 kB / 0.7264 GB, free: 10.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3987, allocations: 0 / 0.7264 GB, free: 10.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.3987, allocations: 0 / 0.7264 GB, free: 10.65 MB / 0.545 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.0003872/0.3991, allocations: 351.5 kB / 0.7267 GB, free: 10.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3991, allocations: 12.03 kB / 0.7267 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.3995, allocations: 28.91 kB / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.404e-05/0.3996, allocations: 164.3 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.3996, allocations: 4.312 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3996, allocations: 16.22 kB / 0.7269 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3998, allocations: 62.14 kB / 0.727 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.3998, allocations: 192 / 0.727 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3998, allocations: 3.938 kB / 0.727 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3998, allocations: 0 / 0.727 GB, free: 9.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.4, allocations: 31.97 kB / 0.727 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.4001, allocations: 161.5 kB / 0.7272 GB, free: 9.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.4004, allocations: 66.58 kB / 0.7272 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.4005, allocations: 32.88 kB / 0.7273 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4005, allocations: 0 / 0.7273 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4005, allocations: 34.56 kB / 0.7273 GB, free: 9.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.4005, allocations: 0 / 0.7273 GB, free: 9.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.003271/0.4038, allocations: 0.5724 MB / 0.7279 GB, free: 8.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.4039, allocations: 55.41 kB / 0.7279 GB, free: 8.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.4039, allocations: 93.86 kB / 0.728 GB, free: 8.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4039, allocations: 25.7 kB / 0.728 GB, free: 8.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.404, allocations: 84.14 kB / 0.7281 GB, free: 8.629 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.404, allocations: 27.77 kB / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.4041, allocations: 25.7 kB / 0.7282 GB, free: 8.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.4041, allocations: 314.8 kB / 0.7285 GB, free: 8.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.4043, allocations: 39.97 kB / 0.7285 GB, free: 8.215 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4044, allocations: 31.97 kB / 0.7285 GB, free: 8.184 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.4046, allocations: 92.73 kB / 0.7286 GB, free: 8.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4047, allocations: 0 / 0.7286 GB, free: 8.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003047/0.405, allocations: 121.6 kB / 0.7287 GB, free: 7.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.405, allocations: 7.938 kB / 0.7287 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.405, allocations: 0 / 0.7287 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.405, allocations: 3.984 kB / 0.7287 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.4052, allocations: 23.97 kB / 0.7288 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.237e-06/0.4052, allocations: 3.938 kB / 0.7288 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.4054, allocations: 7.984 kB / 0.7288 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.4054, allocations: 4 kB / 0.7288 GB, free: 7.914 MB / 0.545 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 7.156e-05/0.4055, allocations: 117.8 kB / 0.7289 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.4055, allocations: 7.938 kB / 0.7289 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.4056, allocations: 11.95 kB / 0.7289 GB, free: 7.766 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4056, allocations: 3.938 kB / 0.7289 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4056, allocations: 8.062 kB / 0.7289 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4056, allocations: 4 kB / 0.7289 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4057, allocations: 187.5 kB / 0.7291 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4057, allocations: 4 kB / 0.7291 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.406, allocations: 19.97 kB / 0.7291 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.406, allocations: 3.938 kB / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.406, allocations: 4 kB / 0.7291 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.406, allocations: 0 / 0.7291 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.406, allocations: 3.984 kB / 0.7291 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.4065, allocations: 192.9 kB / 0.7293 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.4065, allocations: 85.08 kB / 0.7294 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.4065, allocations: 0 / 0.7294 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.4067, allocations: 16.05 kB / 0.7294 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.156e-05/0.4067, allocations: 0 / 0.7294 GB, free: 7.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.4068, allocations: 11.98 kB / 0.7294 GB, free: 7.145 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.4068, allocations: 75.28 kB / 0.7295 GB, free: 7.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4068, allocations: 0 / 0.7295 GB, free: 7.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002129/0.407, allocations: 28 kB / 0.7295 GB, free: 7.043 MB / 0.545 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.0001783/0.4072, allocations: 147.2 kB / 0.7297 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.4075, allocations: 87.86 kB / 0.7297 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4075, allocations: 0 / 0.7297 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4077, allocations: 43.97 kB / 0.7298 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.4078, allocations: 11.98 kB / 0.7298 GB, free: 6.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.4084, allocations: 157.9 kB / 0.73 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.4086, allocations: 0.6846 MB / 0.7306 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.4088, allocations: 27.88 kB / 0.7306 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.4089, allocations: 19.41 kB / 0.7307 GB, free: 5.809 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.4089, allocations: 4 kB / 0.7307 GB, free: 5.805 MB / 0.545 GB Notification: Performance of Templates: time 0.003394/0.4123, allocations: 1.511 MB / 0.7321 GB, free: 4.344 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)