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.001506/0.001506, allocations: 108.4 kB / 16.37 MB, free: 6 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.001682/0.001682, allocations: 191.4 kB / 17.31 MB, free: 5.617 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.541/1.541, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.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.814/1.814, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001414/0.001414, allocations: 71.89 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2311, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002593/0.2337, allocations: 1.256 MB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005013/0.2343, allocations: 227.3 kB / 0.7863 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.2343, allocations: 4 kB / 0.7863 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.2343, allocations: 3.938 kB / 0.7863 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.604e-05/0.2344, allocations: 0 / 0.7863 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.2346, allocations: 43.81 kB / 0.7863 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.2347, allocations: 27.91 kB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.177e-05/0.2348, allocations: 0 / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.175e-05/0.2348, allocations: 4 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.152e-05/0.2349, allocations: 15.92 kB / 0.7864 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2349, allocations: 0 / 0.7864 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.235, allocations: 47.95 kB / 0.7864 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.235, allocations: 4 kB / 0.7864 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.235, allocations: 11.92 kB / 0.7864 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.2352, allocations: 35.97 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2352, allocations: 0 / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2352, allocations: 0 / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2352, allocations: 3.938 kB / 0.7864 GB, free: 1.52 MB / 0.6544 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.0004023/0.2356, allocations: 335.5 kB / 0.7868 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2356, allocations: 12.03 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.2358, allocations: 12.92 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.2359, allocations: 164.4 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2359, allocations: 4.312 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.2359, allocations: 4.375 kB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.2361, allocations: 42.25 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.2361, allocations: 192 / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2361, allocations: 11.88 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2361, allocations: 0 / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.206e-05/0.2362, allocations: 15.98 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.2363, allocations: 173.6 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.261e-05/0.2364, allocations: 42.52 kB / 0.7872 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.94e-05/0.2365, allocations: 24.95 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.2365, allocations: 0 / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.2365, allocations: 34.56 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.2365, allocations: 0 / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.4117/0.6482, allocations: 0.4889 MB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.6483, allocations: 53.78 kB / 0.7878 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.528e-05/0.6484, allocations: 90.7 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.6484, allocations: 25.7 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.6484, allocations: 80.95 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.6485, allocations: 26.25 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.6486, allocations: 28.38 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.361e-05/0.6486, allocations: 314.2 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.6487, allocations: 22.19 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.6487, allocations: 27.64 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.6489, allocations: 57.23 kB / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6489, allocations: 0 / 0.7885 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001777/0.649, allocations: 94.77 kB / 0.7885 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6491, allocations: 9.312 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.6491, allocations: 1.906 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6491, allocations: 1.031 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.6493, allocations: 23.28 kB / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6493, allocations: 0 / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.6494, allocations: 0 / 0.7886 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.6494, allocations: 5.844 kB / 0.7886 GB, free: 48.29 MB / 0.6544 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 6.689e-05/0.6495, allocations: 112.3 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.6495, allocations: 6.406 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.6496, allocations: 11.16 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6496, allocations: 0 / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6496, allocations: 3.688 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-06/0.6496, allocations: 3.234 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.6497, allocations: 181.5 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6497, allocations: 0.75 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.6499, allocations: 19.69 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.6499, allocations: 0 / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.6499, allocations: 3.938 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.6499, allocations: 0 / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6499, allocations: 3.344 kB / 0.7889 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.6502, allocations: 139.7 kB / 0.7891 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.6502, allocations: 84.2 kB / 0.7891 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.6502, allocations: 13.31 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.6503, allocations: 3.125 kB / 0.7891 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.758e-05/0.6504, allocations: 5.844 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6504, allocations: 5.062 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.428e-05/0.6504, allocations: 75.28 kB / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6504, allocations: 0 / 0.7892 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002055/0.6506, allocations: 15.28 kB / 0.7892 GB, free: 47.75 MB / 0.6544 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.6507, allocations: 104.1 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001577/0.6509, allocations: 58.08 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.6509, allocations: 3.344 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.651, allocations: 36.44 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.6512, allocations: 5.062 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00057/0.6518, allocations: 199.1 kB / 0.7896 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.6519, allocations: 0.6823 MB / 0.7903 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.754e-05/0.652, allocations: 10.06 kB / 0.7903 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.652, allocations: 2.625 kB / 0.7903 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.002276/0.6543, allocations: 0.8912 MB / 0.7912 GB, free: 46.82 MB / 0.6544 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)