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.001124/0.00113, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.00128/0.00128, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.781/1.781, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0004846/0.0004849, allocations: 13.88 kB / 0.6737 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2783, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001973/0.2804, allocations: 0.9812 MB / 0.7883 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005808/0.281, allocations: 219.5 kB / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.2811, allocations: 0 / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.2811, allocations: 0 / 0.7885 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.873e-05/0.2811, allocations: 11.92 kB / 0.7885 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.2815, allocations: 23.91 kB / 0.7885 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.2816, allocations: 19.92 kB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.948e-05/0.2816, allocations: 4 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.849e-05/0.2817, allocations: 7.984 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.2818, allocations: 11.98 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2818, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2819, allocations: 47.95 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.2819, allocations: 3.938 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.282, allocations: 33.7 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2821, allocations: 28.19 kB / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2821, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2821, allocations: 0 / 0.7887 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2821, allocations: 0 / 0.7887 GB, free: 10.55 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.0004893/0.2826, allocations: 331.4 kB / 0.789 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.2827, allocations: 11.97 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.2828, allocations: 11.98 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2829, allocations: 171 kB / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.283, allocations: 0 / 0.7892 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.283, allocations: 4 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.2831, allocations: 49.61 kB / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2832, allocations: 0 / 0.7892 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2832, allocations: 4 kB / 0.7892 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2832, allocations: 0 / 0.7892 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.2832, allocations: 15.98 kB / 0.7892 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/0.2834, allocations: 169.5 kB / 0.7894 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.772e-05/0.2835, allocations: 42.62 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.2836, allocations: 20.98 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2836, allocations: 0 / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.2837, allocations: 34.56 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.2837, allocations: 3.938 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.001864/0.2855, allocations: 0.4906 MB / 0.79 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2856, allocations: 51.41 kB / 0.79 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.019e-05/0.2857, allocations: 89.86 kB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2857, allocations: 29.7 kB / 0.7901 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.05e-05/0.2857, allocations: 84.14 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.971e-05/0.2858, allocations: 31.55 kB / 0.7902 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.2858, allocations: 0 / 0.7902 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2859, allocations: 318.8 kB / 0.7905 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.62e-05/0.286, allocations: 23.98 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.286, allocations: 20 kB / 0.7906 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.508e-05/0.2861, allocations: 27.94 kB / 0.7906 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.2861, allocations: 3.984 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001494/0.2862, allocations: 93.75 kB / 0.7907 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2863, allocations: 12 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2863, allocations: 0 / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2863, allocations: 128 / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2864, allocations: 19.94 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2865, allocations: 4.062 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.594e-05/0.2865, allocations: 0 / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2865, allocations: 4 kB / 0.7907 GB, free: 8.152 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.799e-05/0.2866, allocations: 118.4 kB / 0.7909 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.324e-05/0.2866, allocations: 4 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.2867, allocations: 15.97 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2867, allocations: 0 / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2867, allocations: 0 / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2867, allocations: 0 / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.2869, allocations: 183.5 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2869, allocations: 0 / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.287, allocations: 12 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.287, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.287, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.287, allocations: 7.922 kB / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2871, allocations: 0 / 0.7911 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2873, allocations: 157 kB / 0.7912 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.2873, allocations: 77.11 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.2874, allocations: 0 / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-05/0.2875, allocations: 4 kB / 0.7913 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.2875, allocations: 7.984 kB / 0.7913 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2875, allocations: 0 / 0.7913 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.359e-05/0.2876, allocations: 83.34 kB / 0.7914 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2876, allocations: 0 / 0.7914 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001998/0.2878, allocations: 12 kB / 0.7914 GB, free: 7.379 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.2879, allocations: 103.2 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.2881, allocations: 63.95 kB / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2881, allocations: 0 / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001/0.2882, allocations: 31.94 kB / 0.7916 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.2884, allocations: 20.16 kB / 0.7916 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.289, allocations: 188.5 kB / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.2893, allocations: 0.6848 MB / 0.7924 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.674e-05/0.2894, allocations: 8.188 kB / 0.7925 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.2895, allocations: 7.438 kB / 0.7925 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of SimCode: time 4.1e-07/0.2895, allocations: 8 kB / 0.7925 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.003434/0.2929, allocations: 0.6354 MB / 0.7931 GB, free: 5.605 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: