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.005662/0.005662, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001231/0.001231, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 271 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001732, allocations: 91.86 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1723, allocations: 86.97 MB / 0.7664 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002919/0.1753, allocations: 1.415 MB / 0.7677 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1764, allocations: 0.5933 MB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.077e-05/0.1765, allocations: 0 / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.1765, allocations: 0 / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.1766, allocations: 7.922 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.1772, allocations: 91.58 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.518e-05/0.1773, allocations: 27.91 kB / 0.7684 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1774, allocations: 12 kB / 0.7685 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.1774, allocations: 11.92 kB / 0.7685 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.1775, allocations: 7.984 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.1775, allocations: 11.88 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.1778, allocations: 143.8 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1779, allocations: 7.984 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.1779, allocations: 7.938 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1781, allocations: 95.83 kB / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1781, allocations: 0 / 0.7687 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.016e-06/0.1781, allocations: 4 kB / 0.7687 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1781, allocations: 3.938 kB / 0.7687 GB, free: 6.031 MB / 0.5606 GB 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.00046/0.1786, allocations: 359.4 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1786, allocations: 8.031 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004188/0.1791, allocations: 24.91 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1792, allocations: 184.1 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1792, allocations: 8.375 kB / 0.7693 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1793, allocations: 384 / 0.7693 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.1795, allocations: 66.2 kB / 0.7694 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1795, allocations: 192 / 0.7694 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1795, allocations: 3.938 kB / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1795, allocations: 0 / 0.7694 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.1798, allocations: 55.94 kB / 0.7694 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004488/0.1803, allocations: 268.9 kB / 0.7697 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.1805, allocations: 62.42 kB / 0.7697 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.1806, allocations: 32.89 kB / 0.7698 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1807, allocations: 3.984 kB / 0.7698 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1807, allocations: 34.55 kB / 0.7698 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1807, allocations: 4 kB / 0.7698 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000519/0.1812, allocations: 109.6 kB / 0.7699 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1813, allocations: 59.34 kB / 0.77 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.1814, allocations: 93.86 kB / 0.7701 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.1814, allocations: 29.69 kB / 0.7701 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.1814, allocations: 88.14 kB / 0.7702 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1815, allocations: 8.031 kB / 0.7702 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.1815, allocations: 13.72 kB / 0.7702 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1816, allocations: 318.8 kB / 0.7705 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1818, allocations: 23.97 kB / 0.7705 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.1819, allocations: 27.97 kB / 0.7705 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.1822, allocations: 60.81 kB / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1822, allocations: 0 / 0.7706 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003027/0.1825, allocations: 97.69 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1825, allocations: 4 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1825, allocations: 0 / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1825, allocations: 3.984 kB / 0.7707 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1827, allocations: 11.98 kB / 0.7707 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1827, allocations: 4 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.943e-05/0.1828, allocations: 7.984 kB / 0.7707 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1828, allocations: 0 / 0.7707 GB, free: 3.77 MB / 0.5606 GB 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.589e-05/0.1829, allocations: 122.5 kB / 0.7708 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.1829, allocations: 7.891 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.1829, allocations: 3.125 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.183, allocations: 0 / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.183, allocations: 0 / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.183, allocations: 3.938 kB / 0.7709 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1831, allocations: 169.6 kB / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1831, allocations: 0 / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1833, allocations: 15.98 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1833, allocations: 0 / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1833, allocations: 3.984 kB / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.394e-05/0.1833, allocations: 4 kB / 0.771 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1833, allocations: 0 / 0.771 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.1837, allocations: 187.4 kB / 0.7712 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.1837, allocations: 85.09 kB / 0.7713 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.1837, allocations: 0 / 0.7713 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1838, allocations: 11.98 kB / 0.7713 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.1839, allocations: 0 / 0.7713 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1839, allocations: 0 / 0.7713 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.436e-05/0.1839, allocations: 83.28 kB / 0.7714 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1839, allocations: 4.031 kB / 0.7714 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002414/0.1842, allocations: 19.98 kB / 0.7714 GB, free: 2.973 MB / 0.5606 GB 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.0001549/0.1843, allocations: 107.2 kB / 0.7715 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1847, allocations: 59.92 kB / 0.7716 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1847, allocations: 8 kB / 0.7716 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1848, allocations: 31.91 kB / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1851, allocations: 9.812 kB / 0.7716 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.1855, allocations: 130.6 kB / 0.7717 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.1857, allocations: 0.6768 MB / 0.7724 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.1858, allocations: 7.938 kB / 0.7724 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1859, allocations: 15.42 kB / 0.7724 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1859, allocations: 0 / 0.7724 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of Templates: time 0.002954/0.1888, allocations: 0.7938 MB / 0.7732 GB, free: 1.078 MB / 0.5606 GB 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)