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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 176.5 kB / 376.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009322/0.0009322, allocations: 101.1 kB / 0.748 GB, free: 61.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000946/0.000946, allocations: 59.91 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2728, allocations: 114.5 MB / 0.9822 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002972/0.2758, allocations: 1.313 MB / 0.9835 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005769/0.2764, allocations: 239.2 kB / 0.9837 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.388e-05/0.2765, allocations: 0 / 0.9837 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.2765, allocations: 4 kB / 0.9837 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.2766, allocations: 0 / 0.9837 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.2769, allocations: 35.88 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.277, allocations: 19.92 kB / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.277, allocations: 4 kB / 0.9838 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.2771, allocations: 11.92 kB / 0.9838 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.2771, allocations: 15.98 kB / 0.9838 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.2772, allocations: 0 / 0.9838 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.2773, allocations: 43.95 kB / 0.9839 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.2773, allocations: 0 / 0.9839 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.2773, allocations: 11.94 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.2775, allocations: 44.22 kB / 0.9839 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2775, allocations: 0 / 0.9839 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.41e-07/0.2775, allocations: 0 / 0.9839 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2775, allocations: 0 / 0.9839 GB, free: 8.594 MB / 0.7136 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.0004554/0.278, allocations: 335.5 kB / 0.9842 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.278, allocations: 11.97 kB / 0.9843 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.2782, allocations: 16.83 kB / 0.9843 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.2783, allocations: 164.3 kB / 0.9844 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.2783, allocations: 8.312 kB / 0.9844 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.2784, allocations: 4.375 kB / 0.9844 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.2785, allocations: 46.25 kB / 0.9845 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2785, allocations: 192 / 0.9845 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.2786, allocations: 3.938 kB / 0.9845 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2786, allocations: 8 kB / 0.9845 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.02e-05/0.2786, allocations: 11.98 kB / 0.9845 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001897/0.2788, allocations: 165.7 kB / 0.9847 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.2789, allocations: 46.5 kB / 0.9847 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.279, allocations: 16.98 kB / 0.9847 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.279, allocations: 0 / 0.9847 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.279, allocations: 34.56 kB / 0.9848 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.2791, allocations: 4 kB / 0.9848 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.002004/0.2811, allocations: 0.498 MB / 0.9853 GB, free: 7.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.2811, allocations: 55.41 kB / 0.9853 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.245e-05/0.2812, allocations: 89.86 kB / 0.9854 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.2812, allocations: 29.7 kB / 0.9854 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.2812, allocations: 80.14 kB / 0.9855 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.2813, allocations: 31.55 kB / 0.9855 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.2813, allocations: 17.72 kB / 0.9855 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2815, allocations: 310.8 kB / 0.9858 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.057e-05/0.2815, allocations: 35.92 kB / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.585e-05/0.2816, allocations: 23.98 kB / 0.9859 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.2817, allocations: 56.86 kB / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2817, allocations: 0 / 0.986 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001555/0.2819, allocations: 93.75 kB / 0.986 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2819, allocations: 7.938 kB / 0.986 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2819, allocations: 0 / 0.986 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2819, allocations: 0 / 0.986 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2821, allocations: 19.98 kB / 0.9861 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2821, allocations: 0 / 0.9861 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.2822, allocations: 8 kB / 0.9861 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.2822, allocations: 3.938 kB / 0.9861 GB, free: 6.117 MB / 0.7136 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.797e-05/0.2823, allocations: 121.8 kB / 0.9862 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.2823, allocations: 7.844 kB / 0.9862 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.2824, allocations: 11.97 kB / 0.9862 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2824, allocations: 0 / 0.9862 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2824, allocations: 4 kB / 0.9862 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2824, allocations: 3.984 kB / 0.9862 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2825, allocations: 171.5 kB / 0.9864 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2825, allocations: 4 kB / 0.9864 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.2827, allocations: 16.42 kB / 0.9864 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2827, allocations: 3.938 kB / 0.9864 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.2827, allocations: 0 / 0.9864 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.2827, allocations: 8 kB / 0.9864 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2827, allocations: 0 / 0.9864 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.2856, allocations: 1.29 MB / 0.9877 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.2857, allocations: 85.11 kB / 0.9878 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2857, allocations: 3.984 kB / 0.9878 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2858, allocations: 4.031 kB / 0.9878 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.2858, allocations: 8 kB / 0.9878 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2859, allocations: 0 / 0.9878 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.218e-05/0.2859, allocations: 79.28 kB / 0.9878 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2859, allocations: 0 / 0.9878 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002864/0.2862, allocations: 15.94 kB / 0.9879 GB, free: 4.07 MB / 0.7136 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.0001726/0.2864, allocations: 115.2 kB / 0.988 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001667/0.2866, allocations: 55.97 kB / 0.988 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2866, allocations: 0 / 0.988 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.2866, allocations: 39.92 kB / 0.9881 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/0.2869, allocations: 4.281 kB / 0.9881 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.2876, allocations: 307.1 kB / 0.9884 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.2879, allocations: 0.6848 MB / 0.989 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.607e-05/0.288, allocations: 11.98 kB / 0.989 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.288, allocations: 11.44 kB / 0.9891 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of SimCode: time 2.91e-07/0.288, allocations: 0 / 0.9891 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of Templates: time 0.002972/0.291, allocations: 0.6944 MB / 0.9897 GB, free: 2.098 MB / 0.7136 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)