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.0008613/0.0008612, allocations: 86.8 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.001057/0.001057, 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.319/1.319, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 265.6 kB / 291.3 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9296/0.9296, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004349, allocations: 16.75 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1734, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.00168/0.1751, allocations: 1.116 MB / 0.6856 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.1761, allocations: 0.5577 MB / 0.6861 GB, free: 13.78 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.1761, allocations: 6.562 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1762, allocations: 0 / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.1762, allocations: 7.922 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1766, allocations: 79.7 kB / 0.6862 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.578e-05/0.1766, allocations: 15.94 kB / 0.6862 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.1767, allocations: 8.984 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.1768, allocations: 15.92 kB / 0.6862 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.573e-05/0.1768, allocations: 9.641 kB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1768, allocations: 0 / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.1771, allocations: 143.7 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.1771, allocations: 4.875 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1771, allocations: 29.7 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.1773, allocations: 80.05 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1773, allocations: 1 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1773, allocations: 0 / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1773, allocations: 0 / 0.6865 GB, free: 13.38 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.0004157/0.1777, allocations: 361.7 kB / 0.6868 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1778, allocations: 12.03 kB / 0.6869 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003594/0.1781, allocations: 33.02 kB / 0.6869 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1783, allocations: 168.7 kB / 0.687 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1783, allocations: 0 / 0.687 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1783, allocations: 7.984 kB / 0.6871 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1785, allocations: 72.83 kB / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1785, allocations: 0 / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1786, allocations: 0 / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1786, allocations: 0 / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1788, allocations: 74.3 kB / 0.6872 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1792, allocations: 262.5 kB / 0.6874 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.1794, allocations: 65.22 kB / 0.6875 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.1795, allocations: 48.89 kB / 0.6876 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1796, allocations: 0 / 0.6876 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.1796, allocations: 30.56 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1796, allocations: 0 / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004386/0.18, allocations: 133.5 kB / 0.6877 GB, free: 11.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1801, allocations: 55.53 kB / 0.6878 GB, free: 11.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.1801, allocations: 105.8 kB / 0.6879 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1802, allocations: 25.7 kB / 0.6879 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.1802, allocations: 80.14 kB / 0.688 GB, free: 11.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.1802, allocations: 7.906 kB / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/0.1802, allocations: 0 / 0.688 GB, free: 11.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.1803, allocations: 314.8 kB / 0.6883 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1805, allocations: 31.97 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1806, allocations: 35.91 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.1807, allocations: 36.03 kB / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1807, allocations: 0 / 0.6884 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002565/0.181, allocations: 97.58 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.181, allocations: 7.984 kB / 0.6885 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.181, allocations: 4 kB / 0.6885 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.181, allocations: 7.891 kB / 0.6885 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1811, allocations: 15.98 kB / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1811, allocations: 0 / 0.6885 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.1812, allocations: 15.89 kB / 0.6885 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1812, allocations: 8.031 kB / 0.6885 GB, free: 11.11 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.343e-05/0.1813, allocations: 106.5 kB / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.1813, allocations: 0 / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.1814, allocations: 15.11 kB / 0.6886 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1814, allocations: 3.953 kB / 0.6886 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1814, allocations: 0 / 0.6886 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1814, allocations: 0 / 0.6886 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1816, allocations: 161.7 kB / 0.6888 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1816, allocations: 4 kB / 0.6888 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1817, allocations: 11.98 kB / 0.6888 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1817, allocations: 0 / 0.6888 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1817, allocations: 7.984 kB / 0.6888 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1817, allocations: 0 / 0.6888 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1817, allocations: 3.953 kB / 0.6888 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.182, allocations: 191.4 kB / 0.689 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.182, allocations: 81.11 kB / 0.6891 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.1821, allocations: 3.984 kB / 0.6891 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1822, allocations: 12.03 kB / 0.6891 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.1822, allocations: 7.938 kB / 0.6891 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.1822, allocations: 0 / 0.6891 GB, free: 10.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.158e-05/0.1823, allocations: 87.45 kB / 0.6892 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1823, allocations: 0 / 0.6892 GB, free: 10.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1825, allocations: 12 kB / 0.6892 GB, free: 10.32 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.000146/0.1826, allocations: 119.2 kB / 0.6893 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002695/0.1829, allocations: 67.88 kB / 0.6894 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1829, allocations: 4.062 kB / 0.6894 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.183, allocations: 35.95 kB / 0.6894 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1833, allocations: 11.94 kB / 0.6894 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.1837, allocations: 148.5 kB / 0.6896 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1839, allocations: 0.6731 MB / 0.6902 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.366e-05/0.184, allocations: 8 kB / 0.6902 GB, free: 9.195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.184, allocations: 11.42 kB / 0.6902 GB, free: 9.184 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.184, allocations: 0 / 0.6902 GB, free: 9.184 MB / 494.1 MB Notification: Performance of Templates: time 0.002584/0.1866, allocations: 0.7013 MB / 0.6909 GB, free: 8.488 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)