Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.00089, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0009262/0.0009261, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001672/0.001672, allocations: 274.6 kB / 291.4 MB, free: 1.828 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9097/0.9097, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.000467, allocations: 15.19 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1783, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001157/0.1795, allocations: 1.006 MB / 0.6855 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007463/0.1803, allocations: 0.538 MB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.395e-05/0.1803, allocations: 2.844 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.1803, allocations: 0 / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.1804, allocations: 3.938 kB / 0.686 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.1806, allocations: 79.64 kB / 0.6861 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.434e-05/0.1807, allocations: 19.88 kB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.1807, allocations: 5.547 kB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.1808, allocations: 7.984 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.1808, allocations: 4 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.586e-06/0.1808, allocations: 0 / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.1811, allocations: 144.2 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-06/0.1811, allocations: 4.656 kB / 0.6863 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1811, allocations: 33.64 kB / 0.6863 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1812, allocations: 64.67 kB / 0.6863 GB, free: 13.56 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1813, allocations: 2.281 kB / 0.6863 GB, free: 13.56 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1813, allocations: 0 / 0.6863 GB, free: 13.56 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1813, allocations: 0 / 0.6863 GB, free: 13.56 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000298/0.1816, allocations: 343.3 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1816, allocations: 8.031 kB / 0.6867 GB, free: 13.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.182, allocations: 30.14 kB / 0.6867 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1821, allocations: 167.1 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1821, allocations: 0 / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1821, allocations: 0.6562 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1823, allocations: 49.23 kB / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1823, allocations: 0 / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1823, allocations: 0 / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1823, allocations: 0 / 0.6869 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.1824, allocations: 31.86 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.1826, allocations: 162.2 kB / 0.6871 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1828, allocations: 47.95 kB / 0.6871 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/0.1828, allocations: 18.09 kB / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.1829, allocations: 0 / 0.6872 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.1829, allocations: 32.53 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1829, allocations: 0 / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002675/0.1832, allocations: 77.59 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1832, allocations: 55.34 kB / 0.6873 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.722e-05/0.1833, allocations: 101.8 kB / 0.6874 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1833, allocations: 25.7 kB / 0.6874 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.528e-05/0.1833, allocations: 80.14 kB / 0.6875 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.1834, allocations: 11.83 kB / 0.6875 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.1834, allocations: 0 / 0.6875 GB, free: 12.15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.1835, allocations: 323 kB / 0.6878 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.1835, allocations: 7.984 kB / 0.6878 GB, free: 11.82 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.604e-05/0.1836, allocations: 12 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.1836, allocations: 11.98 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1837, allocations: 0 / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001505/0.1838, allocations: 65.67 kB / 0.6879 GB, free: 11.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1838, allocations: 4 kB / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1838, allocations: 0 / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1839, allocations: 0 / 0.6879 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.354e-05/0.184, allocations: 11.98 kB / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.184, allocations: 0 / 0.6879 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.184, allocations: 7.922 kB / 0.688 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.184, allocations: 7.953 kB / 0.688 GB, free: 11.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.1841, allocations: 110.5 kB / 0.6881 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-06/0.1841, allocations: 0 / 0.6881 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.1842, allocations: 7.125 kB / 0.6881 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1842, allocations: 4 kB / 0.6881 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1842, allocations: 0 / 0.6881 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1842, allocations: 0 / 0.6881 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.953e-05/0.1843, allocations: 161.6 kB / 0.6882 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1843, allocations: 4 kB / 0.6882 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.763e-05/0.1844, allocations: 8 kB / 0.6882 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1844, allocations: 0 / 0.6882 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.1844, allocations: 3.984 kB / 0.6882 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1844, allocations: 4 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1844, allocations: 192 / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1846, allocations: 89 kB / 0.6883 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.1847, allocations: 92.98 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.1847, allocations: 0 / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.236e-05/0.1847, allocations: 0 / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.1848, allocations: 4 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1848, allocations: 3.984 kB / 0.6884 GB, free: 11.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.818e-05/0.1848, allocations: 83.28 kB / 0.6885 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1848, allocations: 3.938 kB / 0.6885 GB, free: 11.03 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001896/0.185, allocations: 12 kB / 0.6885 GB, free: 11.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001519/0.1852, allocations: 115.3 kB / 0.6886 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1853, allocations: 23.97 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1853, allocations: 0 / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.752e-05/0.1854, allocations: 23.92 kB / 0.6887 GB, free: 10.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.1856, allocations: 12.83 kB / 0.6887 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.1859, allocations: 124.6 kB / 0.6888 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.1861, allocations: 0.677 MB / 0.6895 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.931e-05/0.1862, allocations: 12 kB / 0.6895 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.1862, allocations: 7.438 kB / 0.6895 GB, free: 9.969 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1862, allocations: 4 kB / 0.6895 GB, free: 9.965 MB / 494.1 MB Notification: Performance of Templates: time 0.002619/0.1888, allocations: 0.7093 MB / 0.6902 GB, free: 9.273 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)