Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.006618/0.006618, allocations: 104.8 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.001494/0.001495, allocations: 193 kB / 16.67 MB, free: 5.969 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.592/1.592, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.6585/0.6585, allocations: 95.48 MB / 365.4 MB, free: 9.781 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.002372/0.002372, allocations: 79.88 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1818, allocations: 69.08 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003179/0.1851, allocations: 1.392 MB / 0.5724 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.1866, allocations: 0.7577 MB / 0.5732 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.1866, allocations: 0 / 0.5732 GB, free: 6.148 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.618e-05/0.1867, allocations: 3.938 kB / 0.5732 GB, free: 6.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.068e-05/0.1867, allocations: 11.92 kB / 0.5732 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005357/0.1873, allocations: 143.4 kB / 0.5733 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.1874, allocations: 31.86 kB / 0.5734 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1875, allocations: 0 / 0.5734 GB, free: 5.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.621e-05/0.1875, allocations: 8 kB / 0.5734 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.471e-05/0.1876, allocations: 15.92 kB / 0.5734 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1876, allocations: 4 kB / 0.5734 GB, free: 5.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.188, allocations: 223.6 kB / 0.5736 GB, free: 5.715 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.188, allocations: 3.984 kB / 0.5736 GB, free: 5.711 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.188, allocations: 15.94 kB / 0.5736 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.1883, allocations: 127.8 kB / 0.5737 GB, free: 5.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1883, allocations: 0 / 0.5737 GB, free: 5.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1883, allocations: 0 / 0.5737 GB, free: 5.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1883, allocations: 0 / 0.5737 GB, free: 5.57 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.0005182/0.1888, allocations: 363.5 kB / 0.5741 GB, free: 5.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1889, allocations: 11.98 kB / 0.5741 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.1889, allocations: 8.844 kB / 0.5741 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1891, allocations: 164.3 kB / 0.5743 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1891, allocations: 4.375 kB / 0.5743 GB, free: 4.945 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.1891, allocations: 7.938 kB / 0.5743 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.1893, allocations: 53.61 kB / 0.5743 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1893, allocations: 0 / 0.5743 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1893, allocations: 0 / 0.5743 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1893, allocations: 0 / 0.5743 GB, free: 4.879 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1895, allocations: 31.95 kB / 0.5744 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000434/0.1899, allocations: 252.9 kB / 0.5746 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1901, allocations: 38.5 kB / 0.5746 GB, free: 4.504 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.408e-05/0.1902, allocations: 24.89 kB / 0.5747 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1902, allocations: 0 / 0.5747 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.1902, allocations: 38.56 kB / 0.5747 GB, free: 4.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1902, allocations: 4 kB / 0.5747 GB, free: 4.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004053/0.1907, allocations: 85.53 kB / 0.5748 GB, free: 4.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1907, allocations: 51.41 kB / 0.5748 GB, free: 4.273 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1908, allocations: 105.8 kB / 0.5749 GB, free: 4.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.1909, allocations: 25.7 kB / 0.575 GB, free: 4.129 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.1909, allocations: 84.25 kB / 0.575 GB, free: 4.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.191, allocations: 7.906 kB / 0.575 GB, free: 4.035 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.191, allocations: 21.66 kB / 0.5751 GB, free: 4.008 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1912, allocations: 314.8 kB / 0.5754 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.1913, allocations: 11.98 kB / 0.5754 GB, free: 3.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.525e-05/0.1913, allocations: 23.97 kB / 0.5754 GB, free: 3.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1915, allocations: 36.89 kB / 0.5754 GB, free: 3.617 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1915, allocations: 4 kB / 0.5754 GB, free: 3.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001747/0.1917, allocations: 61.66 kB / 0.5755 GB, free: 3.547 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1917, allocations: 8 kB / 0.5755 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1917, allocations: 0 / 0.5755 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1917, allocations: 0 / 0.5755 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.1918, allocations: 7.984 kB / 0.5755 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1919, allocations: 7.969 kB / 0.5755 GB, free: 3.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.1919, allocations: 7.938 kB / 0.5755 GB, free: 3.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1919, allocations: 0 / 0.5755 GB, free: 3.516 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 0.0001013/0.192, allocations: 117.8 kB / 0.5756 GB, free: 3.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.1921, allocations: 3.984 kB / 0.5756 GB, free: 3.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.1923, allocations: 72.73 kB / 0.5757 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1923, allocations: 4.031 kB / 0.5757 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1923, allocations: 0 / 0.5757 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1923, allocations: 0 / 0.5757 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.1925, allocations: 161.6 kB / 0.5759 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1925, allocations: 0 / 0.5759 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.1926, allocations: 15.98 kB / 0.5759 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.1926, allocations: 0 / 0.5759 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.1926, allocations: 0 / 0.5759 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1926, allocations: 0 / 0.5759 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1926, allocations: 3.938 kB / 0.5759 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1928, allocations: 163.5 kB / 0.576 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.1929, allocations: 81.02 kB / 0.5761 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1929, allocations: 4 kB / 0.5761 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.864e-05/0.193, allocations: 7.984 kB / 0.5761 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.193, allocations: 4 kB / 0.5761 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.193, allocations: 3.938 kB / 0.5761 GB, free: 2.785 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.1931, allocations: 87.3 kB / 0.5762 GB, free: 2.699 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1931, allocations: 0 / 0.5762 GB, free: 2.699 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00024/0.1933, allocations: 27.88 kB / 0.5763 GB, free: 2.672 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 (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.0001932/0.1935, allocations: 126.2 kB / 0.5764 GB, free: 2.539 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002048/0.1937, allocations: 43.89 kB / 0.5764 GB, free: 2.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1937, allocations: 4.062 kB / 0.5764 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.296e-05/0.1938, allocations: 15.98 kB / 0.5764 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1941, allocations: 4 kB / 0.5764 GB, free: 2.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.1944, allocations: 106.8 kB / 0.5765 GB, free: 2.344 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.1947, allocations: 0.6768 MB / 0.5772 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.184e-05/0.1947, allocations: 0 / 0.5772 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.1947, allocations: 15.5 kB / 0.5772 GB, free: 1.625 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1947, allocations: 0 / 0.5772 GB, free: 1.625 MB / 446.1 MB Notification: Performance of Templates: time 0.003307/0.198, allocations: 0.8439 MB / 0.578 GB, free: 0.7812 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)