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.001761/0.001761, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.763/1.763, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.6314/0.6314, allocations: 95.48 MB / 365.2 MB, free: 9.883 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.001815/0.001815, allocations: 63.91 kB / 445.4 MB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3642, allocations: 69.07 MB / 0.5024 GB, free: 17.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003009/0.3673, allocations: 1.31 MB / 0.5037 GB, free: 16.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.3688, allocations: 0.7991 MB / 0.5044 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.3688, allocations: 0 / 0.5044 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.3689, allocations: 0 / 0.5044 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.3689, allocations: 11.92 kB / 0.5045 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.3695, allocations: 147.3 kB / 0.5046 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.227e-05/0.3696, allocations: 35.84 kB / 0.5046 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.884e-05/0.3697, allocations: 0 / 0.5046 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.252e-05/0.3697, allocations: 8 kB / 0.5046 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.3698, allocations: 15.92 kB / 0.5046 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.3698, allocations: 0 / 0.5046 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.3702, allocations: 215.6 kB / 0.5049 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.3702, allocations: 4 kB / 0.5049 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.3703, allocations: 11.94 kB / 0.5049 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3705, allocations: 125.9 kB / 0.505 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3705, allocations: 0 / 0.505 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3705, allocations: 3.938 kB / 0.505 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.3705, allocations: 4 kB / 0.505 GB, free: 14.82 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.0004237/0.371, allocations: 363.3 kB / 0.5053 GB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.371, allocations: 15.98 kB / 0.5054 GB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.3711, allocations: 4.875 kB / 0.5054 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.3712, allocations: 160.4 kB / 0.5055 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3712, allocations: 8.375 kB / 0.5055 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.3712, allocations: 7.844 kB / 0.5055 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.3713, allocations: 33.69 kB / 0.5056 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3713, allocations: 4 kB / 0.5056 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3714, allocations: 4 kB / 0.5056 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3714, allocations: 0 / 0.5056 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.3714, allocations: 11.98 kB / 0.5056 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.3716, allocations: 153.7 kB / 0.5057 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3717, allocations: 38.45 kB / 0.5058 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.3718, allocations: 12.94 kB / 0.5058 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.3718, allocations: 4 kB / 0.5058 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.3718, allocations: 30.56 kB / 0.5058 GB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3718, allocations: 0 / 0.5058 GB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001148/0.373, allocations: 432.3 kB / 0.5062 GB, free: 13.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.373, allocations: 55.41 kB / 0.5063 GB, free: 13.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.416e-05/0.3731, allocations: 97.86 kB / 0.5064 GB, free: 13.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.3731, allocations: 25.7 kB / 0.5064 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.3732, allocations: 80.14 kB / 0.5065 GB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.3732, allocations: 27.72 kB / 0.5065 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3732, allocations: 17.72 kB / 0.5065 GB, free: 12.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.3733, allocations: 314.8 kB / 0.5068 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.3734, allocations: 12 kB / 0.5068 GB, free: 12.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.737e-05/0.3734, allocations: 8 kB / 0.5068 GB, free: 12.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.351e-05/0.3734, allocations: 32.98 kB / 0.5069 GB, free: 12.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3735, allocations: 4 kB / 0.5069 GB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.537e-05/0.3735, allocations: 61.62 kB / 0.5069 GB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3736, allocations: 8 kB / 0.5069 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.3736, allocations: 0 / 0.5069 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3736, allocations: 0 / 0.5069 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.3737, allocations: 11.98 kB / 0.5069 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3737, allocations: 0 / 0.5069 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.3737, allocations: 0 / 0.5069 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3737, allocations: 0 / 0.5069 GB, free: 12.53 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 6.699e-05/0.3738, allocations: 121.8 kB / 0.5071 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.3738, allocations: 3.906 kB / 0.5071 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.3739, allocations: 73.17 kB / 0.5071 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3739, allocations: 0 / 0.5071 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3739, allocations: 0 / 0.5071 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.374, allocations: 4 kB / 0.5071 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.3742, allocations: 307.4 kB / 0.5074 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3742, allocations: 4.031 kB / 0.5074 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.173e-05/0.3743, allocations: 12 kB / 0.5074 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3743, allocations: 0 / 0.5074 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.3743, allocations: 0 / 0.5074 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3743, allocations: 7.938 kB / 0.5075 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3743, allocations: 0 / 0.5075 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.3745, allocations: 176.6 kB / 0.5076 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.378e-05/0.3746, allocations: 97.11 kB / 0.5077 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3746, allocations: 3.984 kB / 0.5077 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.3747, allocations: 3.938 kB / 0.5077 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.3747, allocations: 7.938 kB / 0.5077 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3747, allocations: 3.938 kB / 0.5077 GB, free: 11.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.431e-05/0.3748, allocations: 83.28 kB / 0.5078 GB, free: 11.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 0 / 0.5078 GB, free: 11.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.3751, allocations: 55.92 kB / 0.5079 GB, free: 11.47 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.0002648/0.3753, allocations: 171.2 kB / 0.508 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.774e-05/0.3754, allocations: 35.92 kB / 0.5081 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3755, allocations: 0 / 0.5081 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.103e-05/0.3755, allocations: 12 kB / 0.5081 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3758, allocations: 11.98 kB / 0.5081 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.3762, allocations: 205.1 kB / 0.5083 GB, free: 11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.3763, allocations: 0.6839 MB / 0.509 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.3763, allocations: 11.98 kB / 0.509 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.3763, allocations: 7.438 kB / 0.509 GB, free: 10.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3764, allocations: 4 kB / 0.509 GB, free: 10.27 MB / 382.1 MB Notification: Performance of Templates: time 0.004065/0.3804, allocations: 1.622 MB / 0.5106 GB, free: 8.703 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)