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.001026/0.001027, allocations: 104.7 kB / 16.36 MB, free: 5.875 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.00103/0.00103, allocations: 191 kB / 17.29 MB, free: 5.516 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 283.2 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002796/0.002796, allocations: 89.64 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1707, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002473/0.1732, allocations: 1.404 MB / 0.683 GB, free: 6.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008824/0.1741, allocations: 0.5928 MB / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.1741, allocations: 0 / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.1742, allocations: 0 / 0.6835 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.1742, allocations: 11.92 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1746, allocations: 95.58 kB / 0.6836 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.798e-05/0.1747, allocations: 31.8 kB / 0.6837 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.103e-05/0.1747, allocations: 4 kB / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.1748, allocations: 15.97 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.1748, allocations: 11.92 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1749, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1751, allocations: 139.8 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.1751, allocations: 11.98 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1752, allocations: 15.92 kB / 0.6839 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1754, allocations: 95.77 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1754, allocations: 0 / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1754, allocations: 0 / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1754, allocations: 0 / 0.684 GB, free: 5.016 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.0004261/0.1758, allocations: 363.4 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1759, allocations: 8.031 kB / 0.6843 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.1763, allocations: 32.81 kB / 0.6843 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.1764, allocations: 176.3 kB / 0.6845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.1764, allocations: 4.375 kB / 0.6845 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1765, allocations: 384 / 0.6845 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1767, allocations: 62.2 kB / 0.6846 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1767, allocations: 192 / 0.6846 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1767, allocations: 11.94 kB / 0.6846 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1767, allocations: 0 / 0.6846 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.177, allocations: 51.94 kB / 0.6846 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.1774, allocations: 268.9 kB / 0.6849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1776, allocations: 62.48 kB / 0.6849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.1777, allocations: 29.66 kB / 0.685 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.1778, allocations: 4 kB / 0.685 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1778, allocations: 38.55 kB / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.1778, allocations: 0 / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004603/0.1783, allocations: 113.5 kB / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.1783, allocations: 51.41 kB / 0.6852 GB, free: 3.582 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.1784, allocations: 106 kB / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.1784, allocations: 25.7 kB / 0.6853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.1785, allocations: 88.05 kB / 0.6854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.1785, allocations: 3.938 kB / 0.6854 GB, free: 3.344 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.1785, allocations: 17.66 kB / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.953e-05/0.1786, allocations: 318.8 kB / 0.6857 GB, free: 3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1788, allocations: 31.97 kB / 0.6857 GB, free: 2.969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.1789, allocations: 23.97 kB / 0.6858 GB, free: 2.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.1791, allocations: 52.81 kB / 0.6858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1791, allocations: 0 / 0.6858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000264/0.1794, allocations: 101.5 kB / 0.6859 GB, free: 2.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1794, allocations: 8 kB / 0.6859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1794, allocations: 0 / 0.6859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1794, allocations: 0 / 0.6859 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1795, allocations: 11.98 kB / 0.6859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1796, allocations: 0 / 0.6859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.1797, allocations: 20.02 kB / 0.6859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1797, allocations: 0 / 0.6859 GB, free: 2.746 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 6.381e-05/0.1797, allocations: 113.8 kB / 0.6861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.1798, allocations: 3.984 kB / 0.6861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.1798, allocations: 3.125 kB / 0.6861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1798, allocations: 4 kB / 0.6861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1798, allocations: 4 kB / 0.6861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1798, allocations: 0 / 0.6861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.18, allocations: 165.6 kB / 0.6862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.18, allocations: 0 / 0.6862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1801, allocations: 11.98 kB / 0.6862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1801, allocations: 4 kB / 0.6862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1801, allocations: 3.984 kB / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1802, allocations: 0 / 0.6862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1802, allocations: 3.938 kB / 0.6863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.1805, allocations: 183.6 kB / 0.6864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.1805, allocations: 92.98 kB / 0.6865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.1806, allocations: 0 / 0.6865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1807, allocations: 7.984 kB / 0.6865 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.1807, allocations: 4.031 kB / 0.6865 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.1807, allocations: 4 kB / 0.6865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.982e-05/0.1808, allocations: 79.28 kB / 0.6866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1808, allocations: 7.938 kB / 0.6866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.181, allocations: 11.98 kB / 0.6866 GB, free: 1.957 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.0001414/0.1812, allocations: 115.2 kB / 0.6867 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.1815, allocations: 67.86 kB / 0.6868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1815, allocations: 0 / 0.6868 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.1816, allocations: 31.91 kB / 0.6868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1818, allocations: 13.25 kB / 0.6868 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.1822, allocations: 126.8 kB / 0.687 GB, free: 1.574 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1825, allocations: 0.6768 MB / 0.6876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.092e-05/0.1826, allocations: 4 kB / 0.6876 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.1826, allocations: 19.42 kB / 0.6876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1826, allocations: 4 kB / 0.6877 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of Templates: time 0.002681/0.1853, allocations: 0.7846 MB / 0.6884 GB, free: 68 kB / 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)