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.001009/0.001009, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001288/0.001288, allocations: 172.7 kB / 15.95 MB, free: 208 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.638/1.638, 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.775/1.775, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005054/0.0005057, allocations: 19.91 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2862, allocations: 116.3 MB / 0.7873 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001853/0.2881, allocations: 1.129 MB / 0.7884 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2892, allocations: 0.5639 MB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.2892, allocations: 4 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.2893, allocations: 3.938 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.284e-05/0.2893, allocations: 3.984 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.2898, allocations: 83.64 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.012e-05/0.2899, allocations: 19.92 kB / 0.789 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.559e-05/0.29, allocations: 4 kB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.29, allocations: 11.98 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.227e-05/0.2901, allocations: 7.938 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.2901, allocations: 4 kB / 0.7891 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.2904, allocations: 151.7 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.217e-06/0.2904, allocations: 4 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.2904, allocations: 25.7 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2906, allocations: 72.12 kB / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2906, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2906, allocations: 0 / 0.7893 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.2906, allocations: 4 kB / 0.7893 GB, free: 9.863 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.000547/0.2912, allocations: 363.2 kB / 0.7897 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.2912, allocations: 8.031 kB / 0.7897 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.2916, allocations: 23.97 kB / 0.7897 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.2918, allocations: 175 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2918, allocations: 0 / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2918, allocations: 4 kB / 0.7899 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.2921, allocations: 73.64 kB / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2921, allocations: 0 / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.2921, allocations: 0 / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.2921, allocations: 0 / 0.7899 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.2923, allocations: 63.94 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.2929, allocations: 272.8 kB / 0.7903 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.2931, allocations: 74.41 kB / 0.7903 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.2932, allocations: 44.89 kB / 0.7904 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.2933, allocations: 4 kB / 0.7904 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2933, allocations: 30.56 kB / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2933, allocations: 0 / 0.7904 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0006016/0.2939, allocations: 133.5 kB / 0.7905 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.294, allocations: 55.36 kB / 0.7906 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.2941, allocations: 105.8 kB / 0.7907 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.2941, allocations: 29.83 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.2942, allocations: 84.14 kB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.2942, allocations: 7.906 kB / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.2942, allocations: 0 / 0.7908 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002489/0.2945, allocations: 310.8 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.2946, allocations: 31.97 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.2948, allocations: 35.97 kB / 0.7912 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.2949, allocations: 27.97 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2949, allocations: 0 / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002741/0.2952, allocations: 101.6 kB / 0.7913 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2952, allocations: 4 kB / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.2952, allocations: 0 / 0.7913 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/0.2953, allocations: 11.95 kB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.2954, allocations: 19.98 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2954, allocations: 0 / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-05/0.2955, allocations: 15.94 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.2955, allocations: 0 / 0.7913 GB, free: 7.578 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 0.0001146/0.2957, allocations: 109.8 kB / 0.7914 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.2957, allocations: 4 kB / 0.7914 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.2957, allocations: 7.125 kB / 0.7914 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2957, allocations: 3.984 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2958, allocations: 0 / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2958, allocations: 4 kB / 0.7915 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.296, allocations: 165.6 kB / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.296, allocations: 0 / 0.7916 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2961, allocations: 19.98 kB / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2961, allocations: 0 / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.2961, allocations: 3.984 kB / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2961, allocations: 0 / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2961, allocations: 0 / 0.7916 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.2965, allocations: 203.3 kB / 0.7918 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-05/0.2966, allocations: 81.05 kB / 0.7919 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2966, allocations: 7.984 kB / 0.7919 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2967, allocations: 4 kB / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.2968, allocations: 12.02 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2968, allocations: 0 / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.2968, allocations: 83.28 kB / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2968, allocations: 0 / 0.792 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002736/0.2971, allocations: 16 kB / 0.792 GB, free: 6.773 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.000329/0.2975, allocations: 103.2 kB / 0.7921 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003212/0.2978, allocations: 71.94 kB / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2978, allocations: 0 / 0.7922 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.2979, allocations: 43.95 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.2983, allocations: 11.89 kB / 0.7922 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.2989, allocations: 144.5 kB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.2993, allocations: 0.6771 MB / 0.793 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.296e-05/0.2994, allocations: 4 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.2994, allocations: 15.42 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2994, allocations: 0 / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Templates: time 0.003484/0.3029, allocations: 0.6903 MB / 0.7937 GB, free: 4.957 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: