Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001559/0.001559, 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.001375/0.001375, allocations: 198.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 286.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.109/1.109, allocations: 178.6 MB / 0.5068 GB, free: 4.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003964/0.003964, allocations: 103.6 kB / 0.6057 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2106, allocations: 89.15 MB / 0.6928 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002822/0.2134, allocations: 1.351 MB / 0.6941 GB, free: 3.445 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.2145, allocations: 0.5822 MB / 0.6947 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.578e-05/0.2145, allocations: 3.438 kB / 0.6947 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.2145, allocations: 3.938 kB / 0.6947 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.184e-05/0.2146, allocations: 3.938 kB / 0.6947 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.2149, allocations: 83.69 kB / 0.6948 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.909e-05/0.215, allocations: 19.88 kB / 0.6948 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.2151, allocations: 0 / 0.6948 GB, free: 2.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.2151, allocations: 7.938 kB / 0.6948 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.2151, allocations: 16.7 kB / 0.6948 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.768e-06/0.2152, allocations: 0 / 0.6948 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002928/0.2155, allocations: 145.2 kB / 0.6949 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.2155, allocations: 0 / 0.6949 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.2155, allocations: 8 kB / 0.695 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2157, allocations: 92 kB / 0.695 GB, free: 2.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2157, allocations: 0.6562 kB / 0.695 GB, free: 2.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2157, allocations: 8 kB / 0.6951 GB, free: 2.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2158, allocations: 0 / 0.6951 GB, free: 2.484 MB / 494.1 MB 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.0004179/0.2162, allocations: 343.5 kB / 0.6954 GB, free: 2.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.2162, allocations: 8.031 kB / 0.6954 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004422/0.2167, allocations: 28.81 kB / 0.6954 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2168, allocations: 164.4 kB / 0.6956 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2168, allocations: 4.375 kB / 0.6956 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2168, allocations: 384 / 0.6956 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.217, allocations: 58.09 kB / 0.6956 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.217, allocations: 192 / 0.6956 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.217, allocations: 3.938 kB / 0.6956 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2171, allocations: 0 / 0.6956 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.2172, allocations: 23.97 kB / 0.6957 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002027/0.2174, allocations: 165.5 kB / 0.6958 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.2176, allocations: 46.58 kB / 0.6959 GB, free: 1.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.2177, allocations: 12.92 kB / 0.6959 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.2177, allocations: 3.984 kB / 0.6959 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.2177, allocations: 42.55 kB / 0.6959 GB, free: 1.434 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2177, allocations: 3.938 kB / 0.6959 GB, free: 1.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003216/0.2181, allocations: 69.61 kB / 0.696 GB, free: 1.355 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.2181, allocations: 55.39 kB / 0.696 GB, free: 1.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2183, allocations: 97.84 kB / 0.6961 GB, free: 1.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2183, allocations: 25.83 kB / 0.6962 GB, free: 1.152 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.2183, allocations: 84.14 kB / 0.6962 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.2184, allocations: 15.84 kB / 0.6963 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.2184, allocations: 17.7 kB / 0.6963 GB, free: 1.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002441/0.2187, allocations: 310.8 kB / 0.6966 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.2188, allocations: 15.98 kB / 0.6966 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.2188, allocations: 11.98 kB / 0.6966 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.219, allocations: 36.84 kB / 0.6966 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.219, allocations: 4 kB / 0.6966 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001731/0.2192, allocations: 53.67 kB / 0.6967 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2192, allocations: 9.562 kB / 0.6967 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2192, allocations: 3.938 kB / 0.6967 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2192, allocations: 4.031 kB / 0.6967 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2193, allocations: 7.984 kB / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.2193, allocations: 0 / 0.6967 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.2194, allocations: 4 kB / 0.6967 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.2194, allocations: 3.984 kB / 0.6967 GB, free: 0.5547 MB / 494.1 MB 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 9.497e-05/0.2195, allocations: 109.8 kB / 0.6968 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.2195, allocations: 7.906 kB / 0.6968 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.2196, allocations: 11.06 kB / 0.6968 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2196, allocations: 0 / 0.6968 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2196, allocations: 0 / 0.6968 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2196, allocations: 0 / 0.6968 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.2198, allocations: 157.6 kB / 0.697 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2198, allocations: 3.984 kB / 0.697 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.22e-05/0.2199, allocations: 15.88 kB / 0.697 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2199, allocations: 0 / 0.697 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2199, allocations: 7.922 kB / 0.697 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2199, allocations: 4 kB / 0.697 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2199, allocations: 0 / 0.697 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.2201, allocations: 81.11 kB / 0.6971 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.2202, allocations: 81.09 kB / 0.6972 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2202, allocations: 3.938 kB / 0.6972 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.2203, allocations: 8.031 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.2203, allocations: 0 / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.2203, allocations: 3.984 kB / 0.6972 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.2204, allocations: 83.28 kB / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2204, allocations: 0 / 0.6973 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002019/0.2206, allocations: 16 kB / 0.6973 GB, free: 15.88 MB / 0.4981 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.0001778/0.2208, allocations: 111.2 kB / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.221, allocations: 31.97 kB / 0.6974 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.221, allocations: 0 / 0.6974 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.221, allocations: 15.98 kB / 0.6974 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.2213, allocations: 4.75 kB / 0.6974 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003703/0.2216, allocations: 120.5 kB / 0.6976 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.222, allocations: 0.6809 MB / 0.6982 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.969e-05/0.2221, allocations: 11.94 kB / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.2221, allocations: 7.438 kB / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2221, allocations: 0 / 0.6982 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.0033/0.2254, allocations: 0.7171 MB / 0.6989 GB, free: 14.14 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)