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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001081/0.001081, allocations: 193.7 kB / 16.25 MB, free: 6.625 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.352/1.352, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.679/1.679, allocations: 292.3 MB / 0.5485 GB, free: 13.67 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.001376/0.001376, allocations: 70.69 kB / 0.671 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2045, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002622/0.2072, allocations: 1.467 MB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.2081, allocations: 0.6064 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.2082, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.2082, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.2083, allocations: 7.984 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.2086, allocations: 87.64 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.2087, allocations: 23.94 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.2088, allocations: 3.984 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.2088, allocations: 12 kB / 0.785 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.2089, allocations: 19.91 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.2089, allocations: 4 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003235/0.2092, allocations: 143.7 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.2092, allocations: 4 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.2093, allocations: 15.92 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.2095, allocations: 104 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2095, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2095, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.2095, allocations: 3.938 kB / 0.7853 GB, free: 11.41 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.0004749/0.21, allocations: 359.4 kB / 0.7856 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.21, allocations: 12.03 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.2105, allocations: 32.89 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2106, allocations: 160.4 kB / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2106, allocations: 384 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.2106, allocations: 384 / 0.7858 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.2109, allocations: 70.2 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2109, allocations: 192 / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2109, allocations: 3.938 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2109, allocations: 0 / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.2112, allocations: 51.94 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.2117, allocations: 288.7 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.2119, allocations: 58.47 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.212, allocations: 36.89 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.2121, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2121, allocations: 34.56 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2121, allocations: 0 / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004719/0.2126, allocations: 121.5 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.2126, allocations: 55.41 kB / 0.7865 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.2127, allocations: 97.86 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2127, allocations: 25.7 kB / 0.7866 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.026e-05/0.2128, allocations: 80.14 kB / 0.7867 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.2128, allocations: 3.906 kB / 0.7867 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.2128, allocations: 25.83 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.2129, allocations: 310.8 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2131, allocations: 27.97 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.2132, allocations: 23.97 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.2134, allocations: 60.86 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2135, allocations: 0 / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00029/0.2137, allocations: 93.52 kB / 0.7872 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2138, allocations: 12.03 kB / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2138, allocations: 0 / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2138, allocations: 0 / 0.7872 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2139, allocations: 15.97 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2139, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.63e-05/0.214, allocations: 7.984 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.2141, allocations: 4 kB / 0.7873 GB, free: 9.152 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.301e-05/0.2141, allocations: 110.4 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.2142, allocations: 7.938 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.2142, allocations: 11.12 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2142, allocations: 192 / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2142, allocations: 0 / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2142, allocations: 7.969 kB / 0.7874 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2144, allocations: 169.5 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2144, allocations: 0 / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.2145, allocations: 15.92 kB / 0.7876 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2145, allocations: 4 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2145, allocations: 0 / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2145, allocations: 3.938 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2145, allocations: 3.984 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.2148, allocations: 187.4 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.563e-05/0.2149, allocations: 77.11 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2149, allocations: 0 / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.215, allocations: 7.984 kB / 0.7878 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.2151, allocations: 11.98 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.2151, allocations: 0 / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.2151, allocations: 79.28 kB / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2151, allocations: 0 / 0.7879 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002271/0.2154, allocations: 12 kB / 0.7879 GB, free: 8.363 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.0001708/0.2155, allocations: 111.3 kB / 0.788 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003147/0.2159, allocations: 67.88 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2159, allocations: 0 / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.216, allocations: 32.03 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2163, allocations: 11.92 kB / 0.7882 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.2168, allocations: 134.5 kB / 0.7883 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.2171, allocations: 0.6845 MB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.023e-05/0.2172, allocations: 11.94 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.2172, allocations: 11.42 kB / 0.789 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2172, allocations: 4 kB / 0.789 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of Templates: time 0.002702/0.2199, allocations: 0.7254 MB / 0.7897 GB, free: 6.52 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)