Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 108.2 kB / 16.37 MB, free: 5.984 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.00153/0.00153, allocations: 194 kB / 17.31 MB, free: 5.602 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 292 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.9275/0.9275, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 94.83 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1708, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002517/0.1733, allocations: 1.422 MB / 0.683 GB, free: 6.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.1738, allocations: 195.4 kB / 0.6832 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.001e-05/0.1738, allocations: 4 kB / 0.6832 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.1738, allocations: 0 / 0.6832 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.1739, allocations: 7.938 kB / 0.6832 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.1741, allocations: 27.89 kB / 0.6832 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.248e-05/0.1742, allocations: 23.88 kB / 0.6832 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.1743, allocations: 7.984 kB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.537e-05/0.1743, allocations: 4 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.1744, allocations: 15.92 kB / 0.6833 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.1744, allocations: 4 kB / 0.6833 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.1745, allocations: 27.97 kB / 0.6833 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1745, allocations: 4 kB / 0.6833 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.1745, allocations: 15.92 kB / 0.6833 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1747, allocations: 39.84 kB / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1747, allocations: 0 / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1747, allocations: 0 / 0.6833 GB, free: 5.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1747, allocations: 0 / 0.6833 GB, free: 5.676 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.0003943/0.1751, allocations: 335.6 kB / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.1751, allocations: 11.97 kB / 0.6837 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1753, allocations: 8.844 kB / 0.6837 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1754, allocations: 172.3 kB / 0.6838 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1754, allocations: 8.359 kB / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.1754, allocations: 384 / 0.6839 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1756, allocations: 50.23 kB / 0.6839 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1756, allocations: 4.188 kB / 0.6839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.1756, allocations: 3.938 kB / 0.6839 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1756, allocations: 0 / 0.6839 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1758, allocations: 31.97 kB / 0.6839 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.1761, allocations: 256.8 kB / 0.6842 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1762, allocations: 38.5 kB / 0.6842 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.1763, allocations: 20.91 kB / 0.6842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1763, allocations: 4 kB / 0.6842 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.1763, allocations: 34.56 kB / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1763, allocations: 0 / 0.6843 GB, free: 4.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000326/0.1767, allocations: 85.58 kB / 0.6844 GB, free: 4.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.1767, allocations: 51.41 kB / 0.6844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.847e-05/0.1768, allocations: 101.8 kB / 0.6845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1768, allocations: 25.7 kB / 0.6845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.1769, allocations: 92.17 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.1769, allocations: 4 kB / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.1769, allocations: 13.7 kB / 0.6846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.177, allocations: 314.8 kB / 0.6849 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.883e-05/0.1771, allocations: 15.98 kB / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.1772, allocations: 15.98 kB / 0.685 GB, free: 3.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.1773, allocations: 48.81 kB / 0.685 GB, free: 3.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1773, allocations: 0 / 0.685 GB, free: 3.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001868/0.1775, allocations: 73.45 kB / 0.6851 GB, free: 3.664 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.1775, allocations: 7.984 kB / 0.6851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1775, allocations: 0 / 0.6851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1775, allocations: 0 / 0.6851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.908e-05/0.1776, allocations: 12.03 kB / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1776, allocations: 0 / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.1777, allocations: 7.984 kB / 0.6851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.1777, allocations: 0 / 0.6851 GB, free: 3.637 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.633e-05/0.1778, allocations: 117.8 kB / 0.6852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1778, allocations: 4 kB / 0.6852 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.178, allocations: 84.7 kB / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.178, allocations: 0 / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1781, allocations: 0 / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1781, allocations: 0 / 0.6853 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1782, allocations: 161.6 kB / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1782, allocations: 0 / 0.6855 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-05/0.1783, allocations: 8 kB / 0.6855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1783, allocations: 3.984 kB / 0.6855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1783, allocations: 0 / 0.6855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1783, allocations: 4 kB / 0.6855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1783, allocations: 4 kB / 0.6855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.1785, allocations: 163.5 kB / 0.6856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.1786, allocations: 81.02 kB / 0.6857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.1786, allocations: 4 kB / 0.6857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.684e-05/0.1787, allocations: 15.92 kB / 0.6857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.1787, allocations: 7.938 kB / 0.6857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1787, allocations: 4 kB / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.455e-05/0.1788, allocations: 83.27 kB / 0.6858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1788, allocations: 0 / 0.6858 GB, free: 2.805 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.179, allocations: 7.938 kB / 0.6858 GB, free: 2.797 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 (3): * Single equations (assignments): 3 * 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 8.272e-05/0.1791, allocations: 99.25 kB / 0.6859 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.1793, allocations: 39.95 kB / 0.686 GB, free: 2.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1793, allocations: 4.062 kB / 0.686 GB, free: 2.645 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.1794, allocations: 15.98 kB / 0.686 GB, free: 2.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1796, allocations: 15.88 kB / 0.686 GB, free: 2.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.1799, allocations: 110.7 kB / 0.6861 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.1801, allocations: 0.6768 MB / 0.6868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.445e-05/0.1801, allocations: 8 kB / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.1801, allocations: 7.438 kB / 0.6868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1801, allocations: 0 / 0.6868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of Templates: time 0.002229/0.1824, allocations: 0.4965 MB / 0.6873 GB, free: 1.277 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)