Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001353/0.001353, allocations: 108 kB / 15.6 MB, free: 132 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.001335/0.001335, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.374/1.374, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.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.001454/0.001454, allocations: 68.14 kB / 0.6715 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1976, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002649/0.2003, allocations: 1.256 MB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005354/0.2009, allocations: 239.3 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.2009, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.201, allocations: 0 / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.648e-05/0.201, allocations: 3.938 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.2013, allocations: 51.7 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.194e-05/0.2014, allocations: 15.98 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.2014, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.2015, allocations: 7.984 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.2015, allocations: 11.98 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2016, allocations: 3.938 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.2017, allocations: 43.95 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.2017, allocations: 4 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.337e-05/0.2017, allocations: 11.98 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.2018, allocations: 44.17 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2019, allocations: 0 / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2019, allocations: 0 / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2019, allocations: 0 / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003636/0.2022, allocations: 331.5 kB / 0.7853 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2023, allocations: 8.031 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.2024, allocations: 12.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.268e-05/0.2025, allocations: 168.3 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.2025, allocations: 8.375 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2026, allocations: 384 / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2027, allocations: 46.23 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.2027, allocations: 192 / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2027, allocations: 3.938 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2027, allocations: 4 kB / 0.7856 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.2028, allocations: 12 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.2029, allocations: 161.6 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.475e-05/0.203, allocations: 50.56 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.2031, allocations: 16.98 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.2031, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.2031, allocations: 42.48 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.2031, allocations: 4 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.00204/0.2052, allocations: 0.4902 MB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.2052, allocations: 59.41 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.554e-05/0.2053, allocations: 93.8 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2053, allocations: 25.7 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.2053, allocations: 84.14 kB / 0.7866 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2054, allocations: 31.55 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.2054, allocations: 17.72 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2055, allocations: 318.8 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.2056, allocations: 23.94 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.2057, allocations: 24.42 kB / 0.787 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.2058, allocations: 56.86 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2058, allocations: 0 / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001418/0.2059, allocations: 97.62 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2059, allocations: 7.938 kB / 0.7871 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.2059, allocations: 4 kB / 0.7871 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.206, allocations: 3.984 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.2061, allocations: 12 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2061, allocations: 0 / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.2062, allocations: 4.281 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.2062, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 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 (9): * Single equations (assignments): 9 * 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 8.567e-05/0.2063, allocations: 118.4 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.2063, allocations: 11.88 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.2064, allocations: 15.95 kB / 0.7873 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2064, allocations: 4 kB / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2064, allocations: 0 / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2064, allocations: 0 / 0.7873 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.2065, allocations: 171.5 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2065, allocations: 0 / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.2067, allocations: 12 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2067, allocations: 3.938 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.617e-06/0.2067, allocations: 0 / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2067, allocations: 4 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2067, allocations: 4 kB / 0.7875 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.207, allocations: 152.9 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.207, allocations: 89.02 kB / 0.7877 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.207, allocations: 4.031 kB / 0.7877 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2071, allocations: 3.938 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.2072, allocations: 7.984 kB / 0.7877 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.2072, allocations: 4 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.393e-05/0.2072, allocations: 79.34 kB / 0.7878 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2072, allocations: 0 / 0.7878 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001943/0.2074, allocations: 12 kB / 0.7878 GB, free: 8.512 MB / 0.6075 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 (8): * Single equations (assignments): 8 * 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.0001113/0.2075, allocations: 103.2 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.2077, allocations: 59.92 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2077, allocations: 0 / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.2078, allocations: 39.92 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.208, allocations: 13.28 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.2085, allocations: 178.4 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.2088, allocations: 0.6768 MB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.094e-05/0.2089, allocations: 11.92 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.2089, allocations: 15.44 kB / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2089, allocations: 0 / 0.7889 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of Templates: time 0.002677/0.2116, allocations: 0.6938 MB / 0.7896 GB, free: 6.719 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)