Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001005/0.001005, allocations: 108 kB / 15.61 MB, free: 152 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.00105/0.00105, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002122/0.002122, allocations: 287 kB / 290.7 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9274/0.9274, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 99.45 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1784, allocations: 86.99 MB / 0.6802 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002597/0.1811, allocations: 1.411 MB / 0.6816 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009498/0.182, allocations: 0.5806 MB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.1821, allocations: 0 / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.094e-05/0.1821, allocations: 3.938 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.684e-05/0.1822, allocations: 12.67 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.1826, allocations: 100.3 kB / 0.6822 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.37e-05/0.1827, allocations: 29.58 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.258e-05/0.1828, allocations: 4 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.1828, allocations: 4 kB / 0.6823 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.1829, allocations: 16.58 kB / 0.6823 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1829, allocations: 4 kB / 0.6823 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.1832, allocations: 149.6 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.1832, allocations: 3.938 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.1832, allocations: 15.92 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1834, allocations: 100 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1835, allocations: 0 / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1835, allocations: 2.812 kB / 0.6825 GB, free: 14.28 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1835, allocations: 4 kB / 0.6825 GB, free: 14.28 MB / 494.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.0004678/0.184, allocations: 349 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.184, allocations: 12.03 kB / 0.6829 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.1844, allocations: 34.27 kB / 0.6829 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1846, allocations: 164.3 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1846, allocations: 0.9062 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.1846, allocations: 4.375 kB / 0.6831 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.1849, allocations: 68.27 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1849, allocations: 4.125 kB / 0.6832 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1849, allocations: 3.938 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1849, allocations: 4 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.1852, allocations: 51.94 kB / 0.6832 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.1857, allocations: 264.9 kB / 0.6835 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002176/0.1859, allocations: 62.47 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.186, allocations: 36.89 kB / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1861, allocations: 0 / 0.6836 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1861, allocations: 38.5 kB / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1861, allocations: 0 / 0.6836 GB, free: 13.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005268/0.1866, allocations: 109.5 kB / 0.6837 GB, free: 12.93 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1867, allocations: 59.34 kB / 0.6838 GB, free: 12.86 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.206e-05/0.1868, allocations: 106 kB / 0.6839 GB, free: 12.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.1868, allocations: 25.7 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.1868, allocations: 80.14 kB / 0.684 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1869, allocations: 11.91 kB / 0.684 GB, free: 12.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.1869, allocations: 13.7 kB / 0.684 GB, free: 12.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.187, allocations: 318.8 kB / 0.6843 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.1871, allocations: 23.97 kB / 0.6843 GB, free: 12.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.1873, allocations: 31.91 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.1875, allocations: 60.8 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1875, allocations: 0 / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003007/0.1878, allocations: 93.83 kB / 0.6845 GB, free: 12.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1879, allocations: 4 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1879, allocations: 0 / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1879, allocations: 3.984 kB / 0.6845 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1881, allocations: 15.97 kB / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1881, allocations: 0 / 0.6845 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.1882, allocations: 12.02 kB / 0.6845 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1882, allocations: 4 kB / 0.6845 GB, free: 12.03 MB / 494.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 8.988e-05/0.1883, allocations: 115 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1883, allocations: 4 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.938e-05/0.1884, allocations: 7.125 kB / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1884, allocations: 0 / 0.6846 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1884, allocations: 4 kB / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1884, allocations: 0 / 0.6847 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.1886, allocations: 169.6 kB / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1886, allocations: 0 / 0.6848 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.1887, allocations: 15.98 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1887, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1887, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1887, allocations: 4 kB / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1887, allocations: 0 / 0.6848 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1891, allocations: 187.4 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.1891, allocations: 81.02 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1892, allocations: 4 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.1893, allocations: 7.984 kB / 0.6851 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.1893, allocations: 8.031 kB / 0.6851 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1894, allocations: 7.922 kB / 0.6851 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.485e-05/0.1894, allocations: 79.28 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1894, allocations: 3.938 kB / 0.6852 GB, free: 11.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.1896, allocations: 16 kB / 0.6852 GB, free: 11.23 MB / 494.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.0001726/0.1898, allocations: 115.1 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.1902, allocations: 59.94 kB / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1902, allocations: 0 / 0.6854 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1903, allocations: 27.97 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1906, allocations: 7.938 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.1911, allocations: 146.8 kB / 0.6856 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1914, allocations: 0.6768 MB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.559e-05/0.1915, allocations: 8 kB / 0.6862 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.1915, allocations: 11.44 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1915, allocations: 0 / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of Templates: time 0.003127/0.1947, allocations: 0.7896 MB / 0.687 GB, free: 9.344 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)