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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001201/0.001202, allocations: 194.5 kB / 16.14 MB, free: 6.66 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.341/1.341, allocations: 205.1 MB / 222 MB, free: 4.742 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.721/1.721, allocations: 292.3 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.001313/0.001313, allocations: 67.67 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.203, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002716/0.2058, allocations: 1.464 MB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005806/0.2064, allocations: 213.3 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.957e-05/0.2064, allocations: 3.938 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.2065, allocations: 0 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.356e-05/0.2065, allocations: 3.984 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.2067, allocations: 19.91 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.779e-05/0.2068, allocations: 23.94 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.2069, allocations: 11.97 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.207, allocations: 8 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2071, allocations: 19.91 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2071, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2072, allocations: 23.98 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.2072, allocations: 4 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.2073, allocations: 19.8 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.2074, allocations: 44.11 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.2074, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2074, allocations: 0 / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2074, allocations: 0 / 0.7845 GB, free: 12.16 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.0006104/0.2081, allocations: 343.5 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2081, allocations: 8.031 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.2083, allocations: 4.938 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2084, allocations: 164.3 kB / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.2084, allocations: 384 / 0.785 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.2085, allocations: 4.375 kB / 0.785 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.2087, allocations: 46.23 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2087, allocations: 4.172 kB / 0.785 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.2087, allocations: 7.938 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2087, allocations: 4 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.2089, allocations: 31.91 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.2093, allocations: 252.9 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2094, allocations: 38.5 kB / 0.7853 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.501e-05/0.2095, allocations: 24.91 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.2096, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2096, allocations: 34.56 kB / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.2096, allocations: 0 / 0.7854 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.2099, allocations: 81.67 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.21, allocations: 55.44 kB / 0.7855 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.012e-05/0.2101, allocations: 101.8 kB / 0.7856 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2101, allocations: 25.7 kB / 0.7856 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.2102, allocations: 84.14 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2102, allocations: 3.906 kB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.2103, allocations: 13.72 kB / 0.7857 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2104, allocations: 318.8 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.978e-05/0.2105, allocations: 15.98 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.2105, allocations: 23.92 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.2107, allocations: 44.75 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2107, allocations: 0 / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001856/0.2109, allocations: 65.67 kB / 0.7862 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.2109, allocations: 8 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2109, allocations: 3.984 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2109, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.211, allocations: 4 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.211, allocations: 0 / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.2111, allocations: 7.984 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2111, allocations: 4 kB / 0.7862 GB, free: 10.14 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.327e-05/0.2112, allocations: 121.8 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.2112, allocations: 0 / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.2115, allocations: 80.7 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2115, allocations: 0 / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2115, allocations: 8 kB / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2115, allocations: 240 / 0.7864 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.2116, allocations: 165.5 kB / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2116, allocations: 0 / 0.7866 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.2117, allocations: 12 kB / 0.7866 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2117, allocations: 3.984 kB / 0.7866 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2117, allocations: 3.984 kB / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2117, allocations: 0 / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2118, allocations: 0 / 0.7866 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.212, allocations: 171.4 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.212, allocations: 81.11 kB / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.2121, allocations: 0 / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.2121, allocations: 7.984 kB / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.2122, allocations: 4 kB / 0.7868 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.2122, allocations: 0 / 0.7868 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.2122, allocations: 87.27 kB / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2122, allocations: 0 / 0.7869 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002073/0.2125, allocations: 4 kB / 0.7869 GB, free: 9.309 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.0001536/0.2126, allocations: 99.25 kB / 0.787 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.2129, allocations: 39.95 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2129, allocations: 0 / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.213, allocations: 27.86 kB / 0.7871 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.2132, allocations: 7.938 kB / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.2135, allocations: 128.3 kB / 0.7872 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.2137, allocations: 0.6848 MB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.2138, allocations: 0 / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.2138, allocations: 7.438 kB / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2138, allocations: 0 / 0.7879 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.002179/0.216, allocations: 439.1 kB / 0.7883 GB, free: 7.836 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)