Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 105.1 kB / 16.35 MB, free: 5.879 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.001112/0.001112, allocations: 195.2 kB / 17.29 MB, free: 5.516 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.766/1.766, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.00148/0.00148, allocations: 67.19 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2047, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002201/0.2069, allocations: 1.28 MB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.2078, allocations: 0.5702 MB / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.2078, allocations: 0 / 0.7866 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2079, allocations: 3.938 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.2079, allocations: 7.984 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.2083, allocations: 95.5 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.779e-05/0.2083, allocations: 23.88 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.2084, allocations: 0 / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.2084, allocations: 7.938 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.2085, allocations: 11.92 kB / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.2085, allocations: 0 / 0.7867 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.2087, allocations: 143.8 kB / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/0.2088, allocations: 0 / 0.7869 GB, free: 1 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.2088, allocations: 11.94 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.209, allocations: 95.83 kB / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.209, allocations: 0 / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.209, allocations: 0 / 0.787 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.209, allocations: 0 / 0.787 GB, free: 0.8945 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003371/0.2093, allocations: 339.5 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2094, allocations: 15.97 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.2099, allocations: 36.8 kB / 0.7873 GB, free: 472 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.21, allocations: 164.3 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.21, allocations: 4.359 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.21, allocations: 384 / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.2101, allocations: 50.22 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.2102, allocations: 192 / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2102, allocations: 3.938 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2102, allocations: 4 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.2103, allocations: 23.98 kB / 0.7876 GB, free: 176 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3793/0.5897, allocations: 155.9 kB / 0.7877 GB, free: 48.87 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.5899, allocations: 37.75 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/0.59, allocations: 19.62 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.5901, allocations: 0.7812 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.5901, allocations: 35.3 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 3.106e-06/0.5901, allocations: 1 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.5905, allocations: 80.39 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.5905, allocations: 51.41 kB / 0.7879 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.5906, allocations: 96.12 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5906, allocations: 25.7 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.5906, allocations: 83.45 kB / 0.7881 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.5907, allocations: 10.2 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.5907, allocations: 20.03 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.269e-05/0.5908, allocations: 317.8 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.5909, allocations: 12.78 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.5909, allocations: 12.47 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.5911, allocations: 29.89 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.5911, allocations: 1.938 kB / 0.7885 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001606/0.5912, allocations: 63.84 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5913, allocations: 6.031 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5913, allocations: 1.25 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.5913, allocations: 0 / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5914, allocations: 10.91 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5914, allocations: 0 / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.693e-05/0.5915, allocations: 5.5 kB / 0.7886 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.5915, allocations: 8.531 kB / 0.7886 GB, free: 48.12 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 (2): * Single equations (assignments): 2 * 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 5.451e-05/0.5916, allocations: 109.1 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.5916, allocations: 3.469 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.571e-05/0.5916, allocations: 8.766 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5917, allocations: 1.5 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5917, allocations: 0.75 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5917, allocations: 3.594 kB / 0.7887 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.344e-05/0.5918, allocations: 161.4 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5918, allocations: 0 / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.047e-05/0.5919, allocations: 8.594 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5919, allocations: 0 / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.5919, allocations: 1.312 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5919, allocations: 2.469 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5919, allocations: 2.125 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.5921, allocations: 90.22 kB / 0.789 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.5921, allocations: 81.98 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.5922, allocations: 2.844 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.5922, allocations: 0.8125 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.5922, allocations: 7.734 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.5923, allocations: 3.172 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.185e-05/0.5923, allocations: 89.66 kB / 0.7892 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5923, allocations: 0.5625 kB / 0.7892 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000212/0.5925, allocations: 9 kB / 0.7892 GB, free: 47.58 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001524/0.5927, allocations: 116.5 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.5929, allocations: 28.69 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5929, allocations: 0 / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.5929, allocations: 18.73 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5932, allocations: 11.41 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.5935, allocations: 117.4 kB / 0.7895 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.5937, allocations: 0.6757 MB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.94e-05/0.5937, allocations: 12.61 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.5938, allocations: 10.67 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.5938, allocations: 3.938 kB / 0.7901 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.002809/0.5966, allocations: 0.7257 MB / 0.7909 GB, free: 46.69 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)