Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 105.3 kB / 16.27 MB, free: 5.984 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.001499/0.001499, allocations: 189 kB / 17.2 MB, free: 5.609 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.547/1.547, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.88/1.88, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001464/0.001464, allocations: 63.91 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2965, allocations: 114.5 MB / 0.784 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00299/0.2996, allocations: 1.411 MB / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0005008/0.3001, allocations: 212.3 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.811e-05/0.3001, allocations: 4 kB / 0.7856 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.3002, allocations: 3.938 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.3002, allocations: 0 / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.3005, allocations: 23.89 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.3006, allocations: 27.86 kB / 0.7856 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.3007, allocations: 8 kB / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.18e-05/0.3007, allocations: 0 / 0.7857 GB, free: 2.199 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.3008, allocations: 15.92 kB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.3008, allocations: 8 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.503e-05/0.3009, allocations: 27.97 kB / 0.7857 GB, free: 2.148 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.76e-05/0.3009, allocations: 7.984 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.3009, allocations: 7.938 kB / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.3011, allocations: 40.12 kB / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3011, allocations: 0 / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3011, allocations: 0 / 0.7858 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.3011, allocations: 0 / 0.7858 GB, free: 2.094 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005094/0.3016, allocations: 339.5 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.3017, allocations: 12.03 kB / 0.7861 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.3018, allocations: 4.938 kB / 0.7861 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.302, allocations: 168.3 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.302, allocations: 4.375 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.302, allocations: 384 / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3022, allocations: 58.16 kB / 0.7863 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3022, allocations: 192 / 0.7863 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3022, allocations: 7.875 kB / 0.7863 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3022, allocations: 0 / 0.7863 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3024, allocations: 35.97 kB / 0.7864 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.3028, allocations: 249 kB / 0.7866 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.3029, allocations: 38.5 kB / 0.7866 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.303, allocations: 28.89 kB / 0.7867 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.303, allocations: 7.938 kB / 0.7867 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3031, allocations: 30.56 kB / 0.7867 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3031, allocations: 0 / 0.7867 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003559/0.3034, allocations: 85.55 kB / 0.7868 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.3035, allocations: 51.53 kB / 0.7868 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.3036, allocations: 101.9 kB / 0.7869 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3036, allocations: 25.7 kB / 0.7869 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.3036, allocations: 80.14 kB / 0.787 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3037, allocations: 15.83 kB / 0.787 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.3037, allocations: 13.72 kB / 0.7871 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3038, allocations: 310.8 kB / 0.7874 GB, free: 248 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.3039, allocations: 15.98 kB / 0.7874 GB, free: 232 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.304, allocations: 27.91 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.3042, allocations: 36.83 kB / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3042, allocations: 0 / 0.7874 GB, free: 164 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001802/0.3043, allocations: 69.59 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3044, allocations: 4.094 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3044, allocations: 4 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3044, allocations: 0 / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.3045, allocations: 11.98 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.3045, allocations: 4 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.96e-05/0.3046, allocations: 4 kB / 0.7875 GB, free: 60 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.3046, allocations: 0 / 0.7875 GB, free: 60 kB / 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 0.4457/0.7503, allocations: 113.9 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.7503, allocations: 1.859 kB / 0.7876 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.7507, allocations: 78.42 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.7507, allocations: 1.625 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7507, allocations: 4.328 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7507, allocations: 0 / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.7509, allocations: 163.3 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.7509, allocations: 1.125 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.751, allocations: 9.016 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.751, allocations: 3.125 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.7511, allocations: 0 / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.7511, allocations: 0 / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.7511, allocations: 3.75 kB / 0.7879 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.7514, allocations: 172.5 kB / 0.788 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.7514, allocations: 77.11 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.7514, allocations: 6.312 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.303e-05/0.7515, allocations: 7.188 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.7516, allocations: 6.844 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.7516, allocations: 1.938 kB / 0.7881 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.7516, allocations: 87.45 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.283e-06/0.7516, allocations: 1.219 kB / 0.7882 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002204/0.7518, allocations: 8.938 kB / 0.7882 GB, free: 48.02 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 (3): * Single equations (assignments): 3 * 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.0001069/0.752, allocations: 97.22 kB / 0.7883 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.7522, allocations: 45.39 kB / 0.7884 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7522, allocations: 0 / 0.7884 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.743e-05/0.7523, allocations: 21.05 kB / 0.7884 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.7527, allocations: 4.062 kB / 0.7884 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.753, allocations: 146.8 kB / 0.7885 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.7532, allocations: 0.6774 MB / 0.7892 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.7533, allocations: 7.438 kB / 0.7892 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.7533, allocations: 2.719 kB / 0.7892 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.001948/0.7552, allocations: 0.5807 MB / 0.7898 GB, free: 47.11 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)