Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001261/0.001261, allocations: 177.3 kB / 15.95 MB, free: 216 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.677/1.677, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.708/1.708, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0005461/0.0005462, allocations: 18.12 kB / 0.6736 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2838, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001552/0.2854, allocations: 1.004 MB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.2864, allocations: 0.5759 MB / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.2865, allocations: 0 / 0.7887 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.2865, allocations: 3.938 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.2865, allocations: 3.984 kB / 0.7887 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.287, allocations: 103.6 kB / 0.7888 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.481e-05/0.2871, allocations: 15.97 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.056e-05/0.2872, allocations: 0 / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.409e-05/0.2872, allocations: 19.98 kB / 0.7888 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.302e-05/0.2873, allocations: 11.92 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2873, allocations: 0 / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.2877, allocations: 155.8 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.2877, allocations: 4 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.527e-05/0.2877, allocations: 25.7 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.2879, allocations: 76.06 kB / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2879, allocations: 0 / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2879, allocations: 0 / 0.7891 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.147e-06/0.288, allocations: 0 / 0.7891 GB, free: 9.949 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000505/0.2885, allocations: 351.3 kB / 0.7894 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2885, allocations: 12.03 kB / 0.7894 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004434/0.289, allocations: 27.88 kB / 0.7894 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2891, allocations: 171 kB / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.2891, allocations: 0 / 0.7896 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.2892, allocations: 8 kB / 0.7896 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.2894, allocations: 57.66 kB / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.2894, allocations: 0 / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.2894, allocations: 0 / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2894, allocations: 0 / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2896, allocations: 27.97 kB / 0.7897 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.2898, allocations: 169.6 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.2901, allocations: 66.52 kB / 0.7899 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.2901, allocations: 4.078 kB / 0.7899 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2901, allocations: 34.56 kB / 0.79 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2901, allocations: 4 kB / 0.79 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003286/0.2934, allocations: 0.5681 MB / 0.7905 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.2935, allocations: 59.41 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.2936, allocations: 93.86 kB / 0.7907 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.2936, allocations: 29.69 kB / 0.7907 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.2937, allocations: 84.14 kB / 0.7908 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.2937, allocations: 23.64 kB / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.2937, allocations: 0 / 0.7908 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2938, allocations: 322.8 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.294, allocations: 31.97 kB / 0.7911 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2941, allocations: 48.02 kB / 0.7912 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.2942, allocations: 31.98 kB / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.2942, allocations: 0 / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000326/0.2946, allocations: 121.6 kB / 0.7913 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.2946, allocations: 8 kB / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2946, allocations: 0 / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2946, allocations: 0 / 0.7913 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2949, allocations: 19.97 kB / 0.7913 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2949, allocations: 4 kB / 0.7914 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.295, allocations: 11.98 kB / 0.7914 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2951, allocations: 0 / 0.7914 GB, free: 7.336 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 (7): * Single equations (assignments): 7 * 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 0.000105/0.2952, allocations: 125.7 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.2952, allocations: 3.906 kB / 0.7915 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.2953, allocations: 11.97 kB / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2953, allocations: 0 / 0.7915 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2953, allocations: 4 kB / 0.7915 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2953, allocations: 336 / 0.7915 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.2955, allocations: 191.7 kB / 0.7917 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2955, allocations: 0 / 0.7917 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.2957, allocations: 23.97 kB / 0.7917 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2957, allocations: 3.984 kB / 0.7917 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.2957, allocations: 7.922 kB / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.2957, allocations: 0 / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2957, allocations: 0 / 0.7917 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.2963, allocations: 192.9 kB / 0.7919 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.2963, allocations: 81.14 kB / 0.792 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.897e-05/0.2964, allocations: 4 kB / 0.792 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.2966, allocations: 20.17 kB / 0.792 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.2966, allocations: 3.984 kB / 0.792 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.2966, allocations: 4 kB / 0.792 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.2966, allocations: 79.22 kB / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2967, allocations: 0 / 0.7921 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002583/0.2969, allocations: 43.92 kB / 0.7921 GB, free: 6.445 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 (6): * Single equations (assignments): 6 * 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.000277/0.2972, allocations: 127.3 kB / 0.7922 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.2975, allocations: 84.16 kB / 0.7923 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.2976, allocations: 0 / 0.7923 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.2977, allocations: 51.89 kB / 0.7924 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.2979, allocations: 16.05 kB / 0.7924 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000652/0.2986, allocations: 170.8 kB / 0.7926 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.2989, allocations: 0.6848 MB / 0.7932 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002196/0.2991, allocations: 23.94 kB / 0.7932 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.06e-05/0.2992, allocations: 23.41 kB / 0.7933 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.2992, allocations: 0 / 0.7933 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of Templates: time 0.004397/0.3036, allocations: 1.422 MB / 0.7947 GB, free: 3.832 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: