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.001007/0.001007, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001075/0.001075, allocations: 193.7 kB / 16.14 MB, free: 6.703 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.271/1.271, allocations: 205.1 MB / 222 MB, free: 4.977 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.664/1.664, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001274/0.001274, allocations: 69.89 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2009, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002244/0.2032, allocations: 1.348 MB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.2041, allocations: 0.5908 MB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.293e-05/0.2042, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.613e-05/0.2042, allocations: 0 / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.205e-05/0.2043, allocations: 3.938 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.2045, allocations: 83.7 kB / 0.7846 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.274e-05/0.2046, allocations: 15.88 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.6e-05/0.2046, allocations: 7.984 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.882e-05/0.2047, allocations: 7.984 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.389e-05/0.2047, allocations: 11.94 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.148e-06/0.2047, allocations: 0 / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002547/0.205, allocations: 143.7 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.205, allocations: 7.984 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.205, allocations: 7.938 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.2052, allocations: 92.05 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2052, allocations: 8 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2052, allocations: 0 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.2053, allocations: 0 / 0.7849 GB, free: 11.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003384/0.2056, allocations: 347.4 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2056, allocations: 8.031 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.2061, allocations: 24.91 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.2062, allocations: 164.4 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.2062, allocations: 12.38 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2063, allocations: 384 / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.2064, allocations: 42.23 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.2064, allocations: 192 / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2064, allocations: 3.938 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2064, allocations: 0 / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2066, allocations: 35.84 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.2067, allocations: 157.7 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.2069, allocations: 46.58 kB / 0.7857 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.456e-05/0.207, allocations: 12.91 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.207, allocations: 0 / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.207, allocations: 42.56 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.207, allocations: 0 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002945/0.2073, allocations: 73.53 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2074, allocations: 55.41 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.2074, allocations: 93.98 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.2075, allocations: 29.7 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.2075, allocations: 80.14 kB / 0.7861 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.2075, allocations: 15.83 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.2076, allocations: 13.72 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.2077, allocations: 310.8 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.999e-05/0.2078, allocations: 15.98 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-05/0.2078, allocations: 11.98 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2079, allocations: 32.84 kB / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.208, allocations: 0 / 0.7865 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001701/0.2081, allocations: 61.52 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.2082, allocations: 7.984 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2082, allocations: 8.031 kB / 0.7866 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.2082, allocations: 7.938 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.2083, allocations: 4 kB / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2083, allocations: 0 / 0.7866 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.2084, allocations: 3.984 kB / 0.7866 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.2084, allocations: 4 kB / 0.7866 GB, free: 9.766 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 6.783e-05/0.2085, allocations: 110.5 kB / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.2085, allocations: 0 / 0.7867 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.2085, allocations: 15.06 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2085, allocations: 0 / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2085, allocations: 0 / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2085, allocations: 7.984 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2086, allocations: 153.7 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2087, allocations: 0 / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.2087, allocations: 7.984 kB / 0.7869 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2087, allocations: 4 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.2088, allocations: 7.938 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2088, allocations: 3.984 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.2088, allocations: 7.875 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.209, allocations: 81.11 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.209, allocations: 81.28 kB / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.2091, allocations: 3.938 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.2091, allocations: 12.02 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.2092, allocations: 7.984 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.2092, allocations: 0 / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.05e-05/0.2092, allocations: 79.28 kB / 0.7871 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2092, allocations: 0 / 0.7871 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002036/0.2094, allocations: 12 kB / 0.7872 GB, free: 9.082 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.0001845/0.2096, allocations: 115.2 kB / 0.7873 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001935/0.2098, allocations: 35.91 kB / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2098, allocations: 0 / 0.7873 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.765e-05/0.2099, allocations: 15.98 kB / 0.7873 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.2102, allocations: 4 kB / 0.7873 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.2106, allocations: 124.4 kB / 0.7874 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.2109, allocations: 0.677 MB / 0.7881 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.852e-05/0.211, allocations: 4 kB / 0.7881 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/0.211, allocations: 11.44 kB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.211, allocations: 3.938 kB / 0.7881 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.003085/0.2141, allocations: 0.7128 MB / 0.7888 GB, free: 7.328 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)