Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 105.4 kB / 15.7 MB, free: 24 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.001111/0.00111, allocations: 195.9 kB / 16.64 MB, free: 6.453 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.323/1.323, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.699/1.699, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001459/0.001459, allocations: 70.47 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2155, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002513/0.2181, allocations: 1.414 MB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004279/0.2185, allocations: 200.3 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.2186, allocations: 4 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.2186, allocations: 7.875 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.451e-05/0.2187, allocations: 3.984 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.2189, allocations: 19.91 kB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.219, allocations: 31.86 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.345e-05/0.2191, allocations: 7.984 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.2191, allocations: 15.92 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.2192, allocations: 4 kB / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2192, allocations: 0 / 0.7858 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.2193, allocations: 31.98 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.2193, allocations: 7.984 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.2193, allocations: 11.94 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.2195, allocations: 35.83 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2195, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2195, allocations: 0 / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2195, allocations: 4 kB / 0.7859 GB, free: 10.95 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.0004077/0.2199, allocations: 335.5 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2199, allocations: 12.03 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.2201, allocations: 8.922 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2202, allocations: 168.3 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2202, allocations: 4.375 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-06/0.2202, allocations: 384 / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.2204, allocations: 54.17 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.2204, allocations: 192 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2204, allocations: 3.938 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2204, allocations: 0 / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.2206, allocations: 39.95 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.2209, allocations: 244.9 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.221, allocations: 38.5 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/0.2211, allocations: 24.89 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.2212, allocations: 11.88 kB / 0.7868 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2212, allocations: 30.56 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.2212, allocations: 0 / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003451/0.2215, allocations: 81.64 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.2216, allocations: 51.41 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.2217, allocations: 97.98 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2217, allocations: 29.7 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.2218, allocations: 88.12 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.2218, allocations: 7.906 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.2218, allocations: 9.719 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2219, allocations: 314.8 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.222, allocations: 19.92 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.2221, allocations: 23.91 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.2222, allocations: 36.83 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2223, allocations: 0 / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001907/0.2224, allocations: 73.59 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2225, allocations: 4 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2225, allocations: 0 / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2225, allocations: 4.094 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.2226, allocations: 11.98 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.2226, allocations: 0 / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.2227, allocations: 8 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2227, allocations: 3.984 kB / 0.7876 GB, free: 8.918 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.313e-05/0.2228, allocations: 118.4 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.2228, allocations: 0 / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.223, allocations: 76.78 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.223, allocations: 0 / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2231, allocations: 4.219 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2231, allocations: 0 / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2232, allocations: 165.5 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2232, allocations: 3.984 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.2233, allocations: 7.984 kB / 0.788 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2233, allocations: 4 kB / 0.788 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.2233, allocations: 8 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2233, allocations: 0 / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2233, allocations: 0 / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.2236, allocations: 171.3 kB / 0.7882 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.2236, allocations: 85.09 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2236, allocations: 0 / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.2237, allocations: 8 kB / 0.7883 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.2238, allocations: 3.984 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2238, allocations: 0 / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.2238, allocations: 83.28 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2238, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002164/0.224, allocations: 8 kB / 0.7883 GB, free: 8.086 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 (3): * Single equations (assignments): 3 * 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.0001027/0.2241, allocations: 95.25 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2244, allocations: 43.89 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2244, allocations: 0 / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.2245, allocations: 23.98 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2247, allocations: 7.922 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.225, allocations: 126.4 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2253, allocations: 0.6807 MB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.2253, allocations: 8 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.2253, allocations: 11.44 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2253, allocations: 0 / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of Templates: time 0.002302/0.2276, allocations: 0.4958 MB / 0.7898 GB, free: 6.543 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)