Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001224/0.001224, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.47/1.47, allocations: 205.1 MB / 222 MB, free: 4.738 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.6324/0.6324, allocations: 95.48 MB / 364.8 MB, free: 10.13 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.001374/0.001374, allocations: 68.56 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3726, allocations: 69.07 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001744/0.3744, allocations: 0.6071 MB / 0.5023 GB, free: 17.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007908/0.3752, allocations: 0.912 MB / 0.5032 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.181e-05/0.3752, allocations: 0 / 0.5032 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.3753, allocations: 0 / 0.5032 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.3753, allocations: 0 / 0.5032 GB, free: 16.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.3755, allocations: 35.83 kB / 0.5032 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.871e-05/0.3756, allocations: 8 kB / 0.5032 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.883e-05/0.3756, allocations: 0 / 0.5032 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.3757, allocations: 8 kB / 0.5032 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.3757, allocations: 0 / 0.5032 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.3757, allocations: 0 / 0.5032 GB, free: 16.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-05/0.3758, allocations: 43.95 kB / 0.5033 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.3758, allocations: 7.922 kB / 0.5033 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.3758, allocations: 11.98 kB / 0.5033 GB, free: 16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.898e-05/0.376, allocations: 29.95 kB / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.376, allocations: 0 / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.376, allocations: 0 / 0.5033 GB, free: 15.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.376, allocations: 4 kB / 0.5033 GB, free: 15.96 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002726/0.3763, allocations: 327.5 kB / 0.5036 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3763, allocations: 11.98 kB / 0.5037 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.3765, allocations: 16.92 kB / 0.5037 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.184e-05/0.3766, allocations: 172.2 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3766, allocations: 4.375 kB / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.3766, allocations: 384 / 0.5038 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.323e-05/0.3767, allocations: 38.2 kB / 0.5039 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3767, allocations: 192 / 0.5039 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3768, allocations: 11.92 kB / 0.5039 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3768, allocations: 0 / 0.5039 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.369e-05/0.3768, allocations: 4 kB / 0.5039 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.3769, allocations: 149.7 kB / 0.504 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.435e-05/0.377, allocations: 26.59 kB / 0.5041 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.377, allocations: 12.8 kB / 0.5041 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.377, allocations: 8 kB / 0.5041 GB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.377, allocations: 30.56 kB / 0.5041 GB, free: 15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3771, allocations: 0 / 0.5041 GB, free: 15 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009531/0.378, allocations: 306.4 kB / 0.5044 GB, free: 14.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.378, allocations: 51.41 kB / 0.5045 GB, free: 14.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.928e-05/0.3781, allocations: 97.84 kB / 0.5045 GB, free: 14.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.3781, allocations: 25.7 kB / 0.5046 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.557e-05/0.3781, allocations: 84.36 kB / 0.5047 GB, free: 14.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3782, allocations: 11.81 kB / 0.5047 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3782, allocations: 13.72 kB / 0.5047 GB, free: 14.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.3783, allocations: 314.8 kB / 0.505 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.3783, allocations: 11.98 kB / 0.505 GB, free: 14.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.402e-05/0.3783, allocations: 17.72 kB / 0.505 GB, free: 13.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.3784, allocations: 33.66 kB / 0.505 GB, free: 13.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3784, allocations: 0 / 0.505 GB, free: 13.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001011/0.3785, allocations: 53.69 kB / 0.5051 GB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3785, allocations: 7.938 kB / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3786, allocations: 4 kB / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3786, allocations: 0 / 0.5051 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.3787, allocations: 7.938 kB / 0.5051 GB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3787, allocations: 4 kB / 0.5051 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.529e-05/0.3788, allocations: 0 / 0.5051 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3788, allocations: 4.062 kB / 0.5051 GB, free: 13.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.398e-05/0.3789, allocations: 117.8 kB / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.3789, allocations: 3.938 kB / 0.5052 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.3789, allocations: 15.44 kB / 0.5052 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.379, allocations: 144 / 0.5052 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.379, allocations: 0 / 0.5052 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.379, allocations: 7.984 kB / 0.5053 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.985e-05/0.3791, allocations: 149.7 kB / 0.5054 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3791, allocations: 0 / 0.5054 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3792, allocations: 8 kB / 0.5054 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3792, allocations: 7.938 kB / 0.5054 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3792, allocations: 0 / 0.5054 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3792, allocations: 0 / 0.5054 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3792, allocations: 0 / 0.5054 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.3794, allocations: 92.97 kB / 0.5055 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.3794, allocations: 81.09 kB / 0.5056 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3794, allocations: 3.938 kB / 0.5056 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3796, allocations: 8.094 kB / 0.5056 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.3796, allocations: 4 kB / 0.5056 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.3796, allocations: 3.938 kB / 0.5056 GB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.519e-05/0.3796, allocations: 75.28 kB / 0.5057 GB, free: 13.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3796, allocations: 4 kB / 0.5057 GB, free: 13.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00018/0.3798, allocations: 4 kB / 0.5057 GB, free: 13.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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 9.469e-05/0.3799, allocations: 111.2 kB / 0.5058 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.38, allocations: 24.09 kB / 0.5058 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.38, allocations: 0 / 0.5058 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.024e-05/0.3801, allocations: 8 kB / 0.5058 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.3802, allocations: 4 kB / 0.5058 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.3806, allocations: 131.7 kB / 0.5059 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.3808, allocations: 0.677 MB / 0.5066 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.3809, allocations: 8.062 kB / 0.5066 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.3809, allocations: 11.44 kB / 0.5066 GB, free: 12.15 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3809, allocations: 0 / 0.5066 GB, free: 12.15 MB / 382.1 MB Notification: Performance of Templates: time 0.002734/0.3837, allocations: 0.5201 MB / 0.5071 GB, free: 11.67 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)