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.001032/0.001032, allocations: 107.9 kB / 16.37 MB, free: 6.477 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.001147/0.001147, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002145/0.002145, allocations: 286.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8932/0.8932, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 88.58 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1615, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002238/0.1638, allocations: 1.274 MB / 0.6829 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009185/0.1647, allocations: 0.5654 MB / 0.6834 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.1648, allocations: 0 / 0.6834 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.1648, allocations: 7.938 kB / 0.6834 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.1648, allocations: 11.92 kB / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.1652, allocations: 91.56 kB / 0.6835 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.1654, allocations: 15.88 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1654, allocations: 4 kB / 0.6835 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.1654, allocations: 7.984 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.1655, allocations: 7.938 kB / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.1655, allocations: 0 / 0.6836 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002502/0.1658, allocations: 151.8 kB / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.1658, allocations: 0 / 0.6837 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.1658, allocations: 4 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.166, allocations: 95.77 kB / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.166, allocations: 0 / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.566e-06/0.166, allocations: 0 / 0.6838 GB, free: 5.191 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.166, allocations: 3.938 kB / 0.6838 GB, free: 5.188 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.0003516/0.1664, allocations: 351.5 kB / 0.6841 GB, free: 4.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.1664, allocations: 8.031 kB / 0.6841 GB, free: 4.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.1668, allocations: 28.91 kB / 0.6842 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1669, allocations: 164.3 kB / 0.6843 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.167, allocations: 384 / 0.6843 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.167, allocations: 4.375 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1671, allocations: 50.22 kB / 0.6844 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1671, allocations: 192 / 0.6844 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1672, allocations: 3.938 kB / 0.6844 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1672, allocations: 7.938 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1673, allocations: 23.97 kB / 0.6844 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.1674, allocations: 157.7 kB / 0.6846 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.1676, allocations: 38.53 kB / 0.6846 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.054e-05/0.1677, allocations: 24.91 kB / 0.6846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1677, allocations: 0 / 0.6846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.1677, allocations: 30.56 kB / 0.6847 GB, free: 4.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1677, allocations: 4 kB / 0.6847 GB, free: 4.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002734/0.168, allocations: 77.62 kB / 0.6847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.168, allocations: 55.34 kB / 0.6848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.1681, allocations: 97.84 kB / 0.6849 GB, free: 3.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1681, allocations: 29.7 kB / 0.6849 GB, free: 3.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.1682, allocations: 84.14 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.1682, allocations: 7.844 kB / 0.685 GB, free: 3.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1682, allocations: 17.7 kB / 0.685 GB, free: 3.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1683, allocations: 314.8 kB / 0.6853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.1684, allocations: 12.02 kB / 0.6853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.387e-05/0.1685, allocations: 15.98 kB / 0.6853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1686, allocations: 24.84 kB / 0.6854 GB, free: 3.367 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1686, allocations: 0 / 0.6854 GB, free: 3.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.1688, allocations: 69.67 kB / 0.6854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.1688, allocations: 4 kB / 0.6854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1688, allocations: 3.938 kB / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1688, allocations: 0 / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.1689, allocations: 11.98 kB / 0.6854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.1689, allocations: 0 / 0.6854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.169, allocations: 0 / 0.6854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.169, allocations: 7.984 kB / 0.6855 GB, free: 3.266 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 7.127e-05/0.1691, allocations: 109.9 kB / 0.6856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.1691, allocations: 0 / 0.6856 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.1692, allocations: 11.06 kB / 0.6856 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1692, allocations: 0 / 0.6856 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1692, allocations: 4 kB / 0.6856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1692, allocations: 0 / 0.6856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1693, allocations: 157.6 kB / 0.6857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1693, allocations: 4.188 kB / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/0.1694, allocations: 7.984 kB / 0.6857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1694, allocations: 0 / 0.6857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.1694, allocations: 15.91 kB / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1694, allocations: 0 / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1694, allocations: 0 / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.1696, allocations: 92.95 kB / 0.6858 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.1697, allocations: 85.09 kB / 0.6859 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1697, allocations: 3.938 kB / 0.6859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.871e-05/0.1698, allocations: 4 kB / 0.6859 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.1698, allocations: 0 / 0.6859 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1698, allocations: 3.984 kB / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.077e-05/0.1698, allocations: 79.28 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1699, allocations: 3.938 kB / 0.686 GB, free: 2.598 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001895/0.17, allocations: 8 kB / 0.686 GB, free: 2.59 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.0001474/0.1702, allocations: 119.3 kB / 0.6861 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1704, allocations: 31.97 kB / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1704, allocations: 0 / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.754e-05/0.1704, allocations: 15.92 kB / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.1706, allocations: 19.72 kB / 0.6862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.1709, allocations: 110.7 kB / 0.6863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.1712, allocations: 0.6768 MB / 0.687 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.056e-05/0.1712, allocations: 12 kB / 0.687 GB, free: 1.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.1713, allocations: 7.438 kB / 0.687 GB, free: 1.543 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1713, allocations: 0 / 0.687 GB, free: 1.543 MB / 494.1 MB Notification: Performance of Templates: time 0.002761/0.174, allocations: 0.7485 MB / 0.6877 GB, free: 0.8125 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)