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.001363/0.001363, allocations: 108 kB / 15.6 MB, free: 132 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.001278/0.001278, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002567/0.002567, allocations: 298.8 kB / 290.7 MB, free: 1.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.093/1.093, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002879/0.002879, allocations: 105 kB / 0.6064 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1705, allocations: 89.15 MB / 0.6935 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002459/0.173, allocations: 1.279 MB / 0.6947 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.174, allocations: 0.5759 MB / 0.6953 GB, free: 2.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.2e-05/0.174, allocations: 4 kB / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.48e-05/0.174, allocations: 0 / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.692e-05/0.1741, allocations: 3.938 kB / 0.6953 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1745, allocations: 95.56 kB / 0.6954 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.25e-05/0.1746, allocations: 19.88 kB / 0.6954 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.1746, allocations: 7.984 kB / 0.6954 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.1746, allocations: 7.938 kB / 0.6954 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.1747, allocations: 7.984 kB / 0.6954 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1747, allocations: 3.938 kB / 0.6954 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.175, allocations: 135.8 kB / 0.6956 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.175, allocations: 7.969 kB / 0.6956 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.1751, allocations: 7.938 kB / 0.6956 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.1753, allocations: 92.06 kB / 0.6957 GB, free: 2.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1753, allocations: 4 kB / 0.6957 GB, free: 2.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1753, allocations: 0 / 0.6957 GB, free: 2.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.1753, allocations: 0 / 0.6957 GB, free: 2.066 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.000486/0.1758, allocations: 343.5 kB / 0.696 GB, free: 1.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1759, allocations: 8.031 kB / 0.696 GB, free: 1.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004253/0.1763, allocations: 32.8 kB / 0.6961 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1764, allocations: 164.4 kB / 0.6962 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1765, allocations: 4.375 kB / 0.6962 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.1765, allocations: 4.312 kB / 0.6962 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1766, allocations: 50.22 kB / 0.6963 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1767, allocations: 192 / 0.6963 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1767, allocations: 3.938 kB / 0.6963 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1767, allocations: 0 / 0.6963 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1768, allocations: 23.98 kB / 0.6963 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.177, allocations: 157.6 kB / 0.6964 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.1772, allocations: 42.58 kB / 0.6965 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.1773, allocations: 24.78 kB / 0.6965 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1773, allocations: 4 kB / 0.6965 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1774, allocations: 38.56 kB / 0.6965 GB, free: 1.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1774, allocations: 0 / 0.6965 GB, free: 1.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003276/0.1777, allocations: 73.59 kB / 0.6966 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1778, allocations: 51.41 kB / 0.6967 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1779, allocations: 102 kB / 0.6968 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1779, allocations: 33.64 kB / 0.6968 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.1779, allocations: 80.14 kB / 0.6969 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.178, allocations: 7.844 kB / 0.6969 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.178, allocations: 17.72 kB / 0.6969 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1782, allocations: 314.8 kB / 0.6972 GB, free: 308 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.996e-05/0.1782, allocations: 15.92 kB / 0.6972 GB, free: 292 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.1783, allocations: 12 kB / 0.6972 GB, free: 280 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1785, allocations: 32.83 kB / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1785, allocations: 0 / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.1786, allocations: 57.67 kB / 0.6973 GB, free: 180 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1787, allocations: 8 kB / 0.6973 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.1787, allocations: 12.03 kB / 0.6973 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1787, allocations: 0 / 0.6973 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1788, allocations: 7.984 kB / 0.6973 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1788, allocations: 0 / 0.6973 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.159e-05/0.1789, allocations: 7.938 kB / 0.6973 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.1789, allocations: 0 / 0.6973 GB, free: 144 kB / 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 9.16e-05/0.179, allocations: 109.8 kB / 0.6974 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.637e-05/0.179, allocations: 8.094 kB / 0.6975 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.1791, allocations: 15.06 kB / 0.6975 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1791, allocations: 3.984 kB / 0.6975 GB, free: 0 / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1791, allocations: 0 / 0.6975 GB, free: 0 / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1791, allocations: 0 / 0.6975 GB, free: 0 / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.1793, allocations: 153.7 kB / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1793, allocations: 0 / 0.6976 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.283e-05/0.1794, allocations: 11.98 kB / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1794, allocations: 0 / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1794, allocations: 3.938 kB / 0.6976 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1794, allocations: 7.984 kB / 0.6976 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1794, allocations: 0 / 0.6976 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.1796, allocations: 85.09 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.1797, allocations: 77.11 kB / 0.6978 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1797, allocations: 15.8 kB / 0.6978 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.248e-05/0.1798, allocations: 8.031 kB / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.1798, allocations: 0 / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.1798, allocations: 3.938 kB / 0.6978 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.371e-05/0.1799, allocations: 87.27 kB / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1799, allocations: 0 / 0.6979 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002054/0.1801, allocations: 16 kB / 0.6979 GB, free: 15.45 MB / 0.4981 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.0001696/0.1803, allocations: 107.2 kB / 0.698 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.1805, allocations: 31.97 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1805, allocations: 0 / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.1805, allocations: 15.98 kB / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1808, allocations: 12.48 kB / 0.6981 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.1811, allocations: 122.8 kB / 0.6982 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.1814, allocations: 0.669 MB / 0.6989 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.353e-05/0.1815, allocations: 8 kB / 0.6989 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.1816, allocations: 15.42 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.1816, allocations: 0 / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.003257/0.1848, allocations: 0.7457 MB / 0.6996 GB, free: 13.68 MB / 0.4981 GB 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)