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.001345/0.001345, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.435/1.435, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.676/1.676, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002345/0.002345, allocations: 70.62 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2245, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00268/0.2272, allocations: 1.407 MB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.2282, allocations: 0.5937 MB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.96e-05/0.2282, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.2283, allocations: 3.938 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.2283, allocations: 7.938 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.2287, allocations: 99.55 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.2287, allocations: 15.94 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.476e-05/0.2288, allocations: 15.98 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.2289, allocations: 4 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.372e-05/0.2289, allocations: 19.86 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2289, allocations: 4 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.2292, allocations: 143.8 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.2292, allocations: 8 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.2293, allocations: 3.938 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.2295, allocations: 104 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2295, allocations: 0 / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2295, allocations: 0 / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2295, allocations: 4 kB / 0.7857 GB, free: 11.05 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.0004018/0.2299, allocations: 363.4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.2299, allocations: 12.03 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004323/0.2304, allocations: 24.91 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2305, allocations: 168.4 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2305, allocations: 4.375 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.2305, allocations: 384 / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.2308, allocations: 71.27 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2308, allocations: 192 / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2308, allocations: 3.938 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2308, allocations: 3.938 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.2311, allocations: 55.94 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.2315, allocations: 284.7 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.2317, allocations: 62.47 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2319, allocations: 28.91 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.2319, allocations: 3.984 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2319, allocations: 34.5 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2319, allocations: 0 / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0005185/0.2325, allocations: 109.6 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2325, allocations: 55.41 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.427e-05/0.2326, allocations: 101.8 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2326, allocations: 25.7 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.2326, allocations: 84.27 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.2327, allocations: 7.906 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.2327, allocations: 17.7 kB / 0.7872 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.2328, allocations: 314.8 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.2329, allocations: 27.97 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.2331, allocations: 23.97 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.2333, allocations: 60.81 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2334, allocations: 0 / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002924/0.2336, allocations: 93.56 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2337, allocations: 8.781 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2337, allocations: 0 / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.2337, allocations: 0 / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.2338, allocations: 15.92 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2338, allocations: 0 / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.938e-05/0.2339, allocations: 7.984 kB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.234, allocations: 4 kB / 0.7877 GB, free: 8.793 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.234, allocations: 122.5 kB / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.2341, allocations: 0 / 0.7878 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.727e-05/0.2341, allocations: 11.06 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2341, allocations: 0 / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2341, allocations: 0 / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2341, allocations: 4 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.2343, allocations: 173.5 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.2343, allocations: 0 / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2344, allocations: 23.91 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2344, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.2345, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2345, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2345, allocations: 0 / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.2348, allocations: 191.4 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.2349, allocations: 77.11 kB / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2349, allocations: 192 / 0.7883 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.235, allocations: 7.984 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.2351, allocations: 7.984 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2351, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.709e-05/0.2351, allocations: 91.2 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2351, allocations: 4.031 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002359/0.2354, allocations: 8 kB / 0.7884 GB, free: 7.992 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 (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.0001472/0.2355, allocations: 107.2 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.2358, allocations: 59.92 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2358, allocations: 4.062 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.236, allocations: 27.97 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.2363, allocations: 11.94 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/0.2367, allocations: 138.5 kB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.2369, allocations: 0.6767 MB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.515e-05/0.237, allocations: 7.938 kB / 0.7894 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.2371, allocations: 15.42 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2371, allocations: 0 / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of Templates: time 0.002863/0.2399, allocations: 0.8033 MB / 0.7902 GB, free: 6.094 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (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)