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.0009607/0.0009606, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005009/0.005009, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001703/0.001703, allocations: 285.8 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003988/0.0003988, allocations: 15.56 kB / 0.5987 GB, free: 28.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.001303/0.1746, allocations: 1.014 MB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008557/0.1755, allocations: 0.5588 MB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.566e-05/0.1755, allocations: 4 kB / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.2e-05/0.1755, allocations: 0 / 0.6867 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.524e-05/0.1756, allocations: 11.91 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1759, allocations: 80.66 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.597e-05/0.1759, allocations: 25.39 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.1759, allocations: 0 / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.176, allocations: 7.938 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.176, allocations: 11.98 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.176, allocations: 0.9375 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.1763, allocations: 143.8 kB / 0.6869 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.1764, allocations: 9.172 kB / 0.6869 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.1764, allocations: 37.58 kB / 0.687 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1766, allocations: 92.05 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1766, allocations: 0.5625 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1766, allocations: 0 / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1766, allocations: 1.406 kB / 0.6871 GB, free: 13.07 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.000358/0.177, allocations: 339.5 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.177, allocations: 8.656 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004135/0.1774, allocations: 31.55 kB / 0.6874 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1776, allocations: 168.3 kB / 0.6876 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1776, allocations: 384 / 0.6876 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1776, allocations: 384 / 0.6876 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1778, allocations: 54.91 kB / 0.6876 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.1778, allocations: 0.7812 kB / 0.6876 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1778, allocations: 6.469 kB / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.1778, allocations: 0 / 0.6877 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1779, allocations: 19.98 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1781, allocations: 153.7 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1782, allocations: 48.58 kB / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.571e-05/0.1783, allocations: 17.5 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.1783, allocations: 1.719 kB / 0.6879 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1784, allocations: 34.5 kB / 0.6879 GB, free: 12.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.274e-06/0.1784, allocations: 3.984 kB / 0.6879 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002842/0.1787, allocations: 75.81 kB / 0.688 GB, free: 11.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.1787, allocations: 51.41 kB / 0.688 GB, free: 11.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.15e-05/0.1788, allocations: 103.2 kB / 0.6881 GB, free: 11.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1788, allocations: 25.7 kB / 0.6882 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.1788, allocations: 84.8 kB / 0.6882 GB, free: 11.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.1789, allocations: 7.844 kB / 0.6883 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.1789, allocations: 21.84 kB / 0.6883 GB, free: 11.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.179, allocations: 310.8 kB / 0.6886 GB, free: 11.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1791, allocations: 7.984 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.417e-05/0.1791, allocations: 15.98 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1793, allocations: 28.84 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1793, allocations: 4 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000162/0.1794, allocations: 61.67 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1795, allocations: 7.938 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1795, allocations: 3.938 kB / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.1795, allocations: 0 / 0.6887 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.1796, allocations: 11.98 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1796, allocations: 0 / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.1796, allocations: 4.031 kB / 0.6887 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.1797, allocations: 3.984 kB / 0.6887 GB, free: 11.17 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.405e-05/0.1797, allocations: 111.2 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.1798, allocations: 0 / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.1798, allocations: 15 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1798, allocations: 4 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1798, allocations: 0 / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1798, allocations: 4 kB / 0.6888 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.1799, allocations: 153.7 kB / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1799, allocations: 3.984 kB / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.18, allocations: 8 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.18, allocations: 0 / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.18, allocations: 7.922 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1801, allocations: 4 kB / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1801, allocations: 0 / 0.689 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.1802, allocations: 85.14 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.1803, allocations: 89 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1803, allocations: 3.938 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.1804, allocations: 0 / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.1804, allocations: 4 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1804, allocations: 3.984 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.422e-05/0.1805, allocations: 91.19 kB / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1805, allocations: 0 / 0.6893 GB, free: 10.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.1807, allocations: 16 kB / 0.6893 GB, free: 10.48 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.0001528/0.1808, allocations: 111.2 kB / 0.6894 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001598/0.181, allocations: 23.97 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.181, allocations: 0 / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.1811, allocations: 20.05 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.1813, allocations: 14.41 kB / 0.6895 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.1816, allocations: 124.5 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.1819, allocations: 0.677 MB / 0.6902 GB, free: 9.461 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.1819, allocations: 16 kB / 0.6902 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.182, allocations: 11.44 kB / 0.6903 GB, free: 9.434 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.182, allocations: 0 / 0.6903 GB, free: 9.434 MB / 494.1 MB Notification: Performance of Templates: time 0.002616/0.1846, allocations: 0.7093 MB / 0.691 GB, free: 8.742 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)