Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.005786/0.005786, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001129/0.001129, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6312/0.6312, allocations: 95.48 MB / 365.4 MB, free: 9.715 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 67.89 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1793, allocations: 69.1 MB / 0.5711 GB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002575/0.1819, allocations: 1.396 MB / 0.5724 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.1824, allocations: 200.7 kB / 0.5726 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.407e-05/0.1825, allocations: 0 / 0.5726 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.1825, allocations: 3.938 kB / 0.5726 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.1826, allocations: 11.91 kB / 0.5726 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.1829, allocations: 23.92 kB / 0.5727 GB, free: 6.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.082e-05/0.183, allocations: 27.86 kB / 0.5727 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1831, allocations: 8 kB / 0.5727 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.003e-05/0.1831, allocations: 19.91 kB / 0.5727 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.978e-05/0.1832, allocations: 11.94 kB / 0.5727 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1832, allocations: 0 / 0.5727 GB, free: 6.582 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.354e-05/0.1833, allocations: 27.97 kB / 0.5728 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.1833, allocations: 0 / 0.5728 GB, free: 6.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.1833, allocations: 11.94 kB / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.1835, allocations: 39.94 kB / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1835, allocations: 0 / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1835, allocations: 0 / 0.5728 GB, free: 6.504 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.1835, allocations: 7.938 kB / 0.5728 GB, free: 6.496 MB / 446.1 MB 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.0005028/0.184, allocations: 339.5 kB / 0.5731 GB, free: 6.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1841, allocations: 11.98 kB / 0.5732 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.1842, allocations: 8.844 kB / 0.5732 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1843, allocations: 164.4 kB / 0.5733 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1843, allocations: 384 / 0.5733 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1843, allocations: 384 / 0.5733 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.1845, allocations: 62.16 kB / 0.5734 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1845, allocations: 192 / 0.5734 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1845, allocations: 3.938 kB / 0.5734 GB, free: 5.824 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1845, allocations: 4 kB / 0.5734 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.1847, allocations: 31.95 kB / 0.5734 GB, free: 5.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.185, allocations: 240.9 kB / 0.5736 GB, free: 5.504 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1852, allocations: 50.53 kB / 0.5737 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.41e-05/0.1852, allocations: 20.84 kB / 0.5737 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1853, allocations: 0 / 0.5737 GB, free: 5.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1853, allocations: 34.56 kB / 0.5737 GB, free: 5.379 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.1853, allocations: 0 / 0.5737 GB, free: 5.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003341/0.1856, allocations: 85.55 kB / 0.5738 GB, free: 5.289 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.1857, allocations: 51.41 kB / 0.5739 GB, free: 5.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.1858, allocations: 105.8 kB / 0.574 GB, free: 5.113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.1858, allocations: 29.64 kB / 0.574 GB, free: 5.078 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.1858, allocations: 80.14 kB / 0.5741 GB, free: 4.996 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.1859, allocations: 7.906 kB / 0.5741 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.1859, allocations: 13.72 kB / 0.5741 GB, free: 4.969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.186, allocations: 319 kB / 0.5744 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.607e-05/0.1861, allocations: 19.98 kB / 0.5744 GB, free: 4.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.587e-05/0.1862, allocations: 15.98 kB / 0.5744 GB, free: 4.613 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1863, allocations: 36.81 kB / 0.5745 GB, free: 4.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1863, allocations: 0 / 0.5745 GB, free: 4.574 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.1865, allocations: 73.67 kB / 0.5745 GB, free: 4.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1865, allocations: 4 kB / 0.5746 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1865, allocations: 7.938 kB / 0.5746 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1865, allocations: 0 / 0.5746 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.835e-05/0.1866, allocations: 15.86 kB / 0.5746 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1867, allocations: 0 / 0.5746 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.1867, allocations: 7.984 kB / 0.5746 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1867, allocations: 0 / 0.5746 GB, free: 4.461 MB / 446.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 7.208e-05/0.1868, allocations: 117.8 kB / 0.5747 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1868, allocations: 0 / 0.5747 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1871, allocations: 80.72 kB / 0.5748 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1871, allocations: 0 / 0.5748 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1871, allocations: 0 / 0.5748 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1871, allocations: 0 / 0.5748 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.1873, allocations: 173.5 kB / 0.5749 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1873, allocations: 3.984 kB / 0.5749 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.1873, allocations: 8 kB / 0.5749 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1873, allocations: 3.938 kB / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1874, allocations: 0 / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1874, allocations: 0 / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1874, allocations: 0 / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1876, allocations: 179.3 kB / 0.5751 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.1876, allocations: 77.39 kB / 0.5752 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.1876, allocations: 0 / 0.5752 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.843e-05/0.1878, allocations: 7.984 kB / 0.5752 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1878, allocations: 3.984 kB / 0.5752 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.1878, allocations: 4 kB / 0.5752 GB, free: 3.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.658e-05/0.1878, allocations: 83.28 kB / 0.5753 GB, free: 3.633 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1878, allocations: 0 / 0.5753 GB, free: 3.633 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002168/0.1881, allocations: 4 kB / 0.5753 GB, free: 3.629 MB / 446.1 MB 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 9.351e-05/0.1882, allocations: 106.6 kB / 0.5754 GB, free: 3.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.1884, allocations: 35.91 kB / 0.5754 GB, free: 3.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.1884, allocations: 4 kB / 0.5754 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.1885, allocations: 23.97 kB / 0.5755 GB, free: 3.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.1888, allocations: 3.938 kB / 0.5755 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.1891, allocations: 114.8 kB / 0.5756 GB, free: 3.312 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.1893, allocations: 0.6807 MB / 0.5762 GB, free: 2.605 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.831e-05/0.1893, allocations: 3.938 kB / 0.5762 GB, free: 2.602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.1894, allocations: 7.438 kB / 0.5762 GB, free: 2.594 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1894, allocations: 3.938 kB / 0.5762 GB, free: 2.59 MB / 446.1 MB Notification: Performance of Templates: time 0.002892/0.1923, allocations: 0.509 MB / 0.5767 GB, free: 2.082 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)