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.001463/0.001463, 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.00176/0.00176, allocations: 187.4 kB / 16.25 MB, free: 6.625 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.559/1.559, 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 1.6.0+build.1/package.mo): time 0.5869/0.5869, allocations: 95.46 MB / 364.9 MB, free: 10.05 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.002587/0.002588, allocations: 71.89 kB / 444.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3948, allocations: 69.08 MB / 0.5019 GB, free: 17.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002328/0.3972, allocations: 1.353 MB / 0.5032 GB, free: 16.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009818/0.3982, allocations: 0.8002 MB / 0.504 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.535e-05/0.3982, allocations: 0 / 0.504 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.3983, allocations: 7.984 kB / 0.504 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.3983, allocations: 11.86 kB / 0.504 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.3988, allocations: 127.5 kB / 0.5041 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.352e-05/0.3988, allocations: 31.86 kB / 0.5042 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.3989, allocations: 0 / 0.5042 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.355e-05/0.3989, allocations: 7.984 kB / 0.5042 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.399, allocations: 19.92 kB / 0.5042 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.399, allocations: 0 / 0.5042 GB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002887/0.3993, allocations: 223.7 kB / 0.5044 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.946e-06/0.3993, allocations: 0 / 0.5044 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.3993, allocations: 11.92 kB / 0.5044 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3995, allocations: 133.6 kB / 0.5046 GB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3995, allocations: 0 / 0.5046 GB, free: 14.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3995, allocations: 0 / 0.5046 GB, free: 14.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.3996, allocations: 4 kB / 0.5046 GB, free: 14.77 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.0003441/0.3999, allocations: 359.4 kB / 0.5049 GB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3999, allocations: 15.97 kB / 0.5049 GB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.4, allocations: 8.938 kB / 0.5049 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.425e-05/0.4001, allocations: 160.4 kB / 0.5051 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4001, allocations: 4.375 kB / 0.5051 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4001, allocations: 11.84 kB / 0.5051 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.4002, allocations: 37.69 kB / 0.5051 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.4002, allocations: 0 / 0.5051 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4002, allocations: 0 / 0.5051 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4002, allocations: 0 / 0.5051 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.4003, allocations: 7.938 kB / 0.5051 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.4004, allocations: 157.7 kB / 0.5053 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.4006, allocations: 38.55 kB / 0.5053 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.4006, allocations: 12.84 kB / 0.5053 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.4006, allocations: 0 / 0.5053 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.4006, allocations: 34.56 kB / 0.5054 GB, free: 13.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4007, allocations: 0 / 0.5054 GB, free: 13.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001062/0.4017, allocations: 436.1 kB / 0.5058 GB, free: 13.28 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.4018, allocations: 51.41 kB / 0.5058 GB, free: 13.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.98e-05/0.4018, allocations: 97.84 kB / 0.5059 GB, free: 13.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4018, allocations: 29.7 kB / 0.506 GB, free: 13.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.7e-05/0.4018, allocations: 80.14 kB / 0.506 GB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.4019, allocations: 15.75 kB / 0.506 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.4019, allocations: 25.7 kB / 0.5061 GB, free: 12.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.402, allocations: 314.8 kB / 0.5064 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.402, allocations: 4 kB / 0.5064 GB, free: 12.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.402, allocations: 15.98 kB / 0.5064 GB, free: 12.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.144e-05/0.402, allocations: 32.73 kB / 0.5064 GB, free: 12.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.402, allocations: 0 / 0.5064 GB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.122e-05/0.4021, allocations: 57.69 kB / 0.5065 GB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4021, allocations: 4 kB / 0.5065 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4022, allocations: 0 / 0.5065 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4022, allocations: 4 kB / 0.5065 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.4022, allocations: 12.25 kB / 0.5065 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4022, allocations: 0 / 0.5065 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.4023, allocations: 4 kB / 0.5065 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.4023, allocations: 0 / 0.5065 GB, free: 12.49 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 5.16e-05/0.4023, allocations: 125.7 kB / 0.5066 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.4023, allocations: 3.906 kB / 0.5066 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.4025, allocations: 65.25 kB / 0.5067 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.4025, allocations: 4 kB / 0.5067 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4025, allocations: 0 / 0.5067 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4025, allocations: 3.984 kB / 0.5067 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4027, allocations: 315.3 kB / 0.507 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4027, allocations: 0 / 0.507 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.823e-05/0.4028, allocations: 11.98 kB / 0.507 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4028, allocations: 4 kB / 0.507 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.4028, allocations: 0 / 0.507 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.4028, allocations: 0 / 0.507 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4028, allocations: 4.031 kB / 0.507 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.403, allocations: 188.2 kB / 0.5072 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.403, allocations: 85 kB / 0.5073 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.403, allocations: 4.031 kB / 0.5073 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.4031, allocations: 0 / 0.5073 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.4032, allocations: 11.92 kB / 0.5073 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.4032, allocations: 4.062 kB / 0.5073 GB, free: 11.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.12e-05/0.4032, allocations: 83.8 kB / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4032, allocations: 0 / 0.5074 GB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.4035, allocations: 63.92 kB / 0.5074 GB, free: 11.42 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.0002324/0.4037, allocations: 155.2 kB / 0.5076 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.85e-05/0.4038, allocations: 40.11 kB / 0.5076 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4038, allocations: 0 / 0.5076 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.478e-05/0.4039, allocations: 23.92 kB / 0.5076 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.4042, allocations: 8 kB / 0.5077 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004073/0.4046, allocations: 207.3 kB / 0.5078 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.4047, allocations: 0.6807 MB / 0.5085 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.06e-05/0.4048, allocations: 7.984 kB / 0.5085 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.4048, allocations: 11.44 kB / 0.5085 GB, free: 10.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4048, allocations: 0 / 0.5085 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Templates: time 0.00396/0.4088, allocations: 1.629 MB / 0.5101 GB, free: 8.66 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)