Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 99.62 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.001619/0.001619, 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.724/1.724, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.731/1.731, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005371/0.0005371, allocations: 16.62 kB / 0.6735 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3015, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001635/0.3032, allocations: 1.121 MB / 0.7882 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.3041, allocations: 0.5369 MB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.974e-05/0.3042, allocations: 0 / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.3042, allocations: 0 / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.3043, allocations: 7.922 kB / 0.7887 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.3047, allocations: 87.73 kB / 0.7888 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.522e-05/0.3048, allocations: 19.97 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.3049, allocations: 0 / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.305, allocations: 4 kB / 0.7888 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.812e-05/0.3051, allocations: 19.92 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.3051, allocations: 0 / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.3054, allocations: 159.7 kB / 0.789 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.3054, allocations: 3.984 kB / 0.789 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.3055, allocations: 29.7 kB / 0.789 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.3057, allocations: 72.12 kB / 0.7891 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3057, allocations: 0 / 0.7891 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3057, allocations: 3.938 kB / 0.7891 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3057, allocations: 0 / 0.7891 GB, free: 9.859 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006562/0.3064, allocations: 363.2 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.3064, allocations: 8.031 kB / 0.7895 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.3069, allocations: 27.95 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.3071, allocations: 163 kB / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3071, allocations: 0 / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3072, allocations: 11.94 kB / 0.7897 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.3075, allocations: 73.62 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3075, allocations: 0 / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3075, allocations: 3.938 kB / 0.7897 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3075, allocations: 0 / 0.7897 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.3078, allocations: 67.94 kB / 0.7898 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006075/0.3084, allocations: 268.8 kB / 0.7901 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3087, allocations: 70.47 kB / 0.7901 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.3087, allocations: 0 / 0.7901 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.3087, allocations: 38.62 kB / 0.7902 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3088, allocations: 4 kB / 0.7902 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005667/0.3093, allocations: 129.6 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.3094, allocations: 55.41 kB / 0.7903 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.3095, allocations: 101.8 kB / 0.7904 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.3095, allocations: 29.64 kB / 0.7905 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.3096, allocations: 80.14 kB / 0.7905 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.3096, allocations: 11.89 kB / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.3096, allocations: 0 / 0.7906 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3098, allocations: 318.9 kB / 0.7909 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.3099, allocations: 27.97 kB / 0.7909 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.31, allocations: 31.97 kB / 0.7909 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3102, allocations: 36.03 kB / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.3102, allocations: 0 / 0.791 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002841/0.3105, allocations: 93.64 kB / 0.791 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.3105, allocations: 8 kB / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3105, allocations: 0 / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3105, allocations: 0 / 0.7911 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.3107, allocations: 15.98 kB / 0.7911 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3107, allocations: 3.984 kB / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.3108, allocations: 15.98 kB / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.3108, allocations: 3.984 kB / 0.7911 GB, free: 7.625 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 (2): * Single equations (assignments): 2 * 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 7.969e-05/0.3109, allocations: 113.8 kB / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.3109, allocations: 4 kB / 0.7912 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.164e-05/0.311, allocations: 7.062 kB / 0.7912 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.311, allocations: 4 kB / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.311, allocations: 0 / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.311, allocations: 0 / 0.7912 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3112, allocations: 173.5 kB / 0.7914 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3112, allocations: 0 / 0.7914 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3113, allocations: 15.97 kB / 0.7914 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3113, allocations: 4 kB / 0.7914 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3113, allocations: 4 kB / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3113, allocations: 0 / 0.7914 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3113, allocations: 4 kB / 0.7914 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.3117, allocations: 203.3 kB / 0.7916 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3117, allocations: 77.11 kB / 0.7917 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.3118, allocations: 0 / 0.7917 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3119, allocations: 11.98 kB / 0.7917 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.3119, allocations: 3.938 kB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3119, allocations: 7.984 kB / 0.7917 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.312, allocations: 83.45 kB / 0.7918 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.312, allocations: 4 kB / 0.7918 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002265/0.3122, allocations: 16.03 kB / 0.7918 GB, free: 6.809 MB / 0.6075 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 (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.0001724/0.3124, allocations: 107.2 kB / 0.7919 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002919/0.3127, allocations: 67.94 kB / 0.792 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3127, allocations: 0 / 0.792 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.3128, allocations: 35.97 kB / 0.792 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.313, allocations: 7.891 kB / 0.792 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.3135, allocations: 156.6 kB / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.3137, allocations: 0.6809 MB / 0.7928 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.56e-05/0.3138, allocations: 7.938 kB / 0.7928 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.3139, allocations: 23.36 kB / 0.7928 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3139, allocations: 0 / 0.7928 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of Templates: time 0.002991/0.3169, allocations: 0.6811 MB / 0.7935 GB, free: 4.988 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) Environment - environmentSimulation: