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.001164/0.001164, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008466/0.008466, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001696/0.001696, allocations: 267 kB / 291.7 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.5 MB / 0.5004 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004445, allocations: 19.2 kB / 0.5986 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001641/0.175, allocations: 1.136 MB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1761, allocations: 0.5879 MB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.1761, allocations: 1.188 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.821e-05/0.1761, allocations: 0 / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.1762, allocations: 5.281 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1765, allocations: 83.69 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.678e-05/0.1766, allocations: 37.95 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.1767, allocations: 0 / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.1768, allocations: 7.984 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.1768, allocations: 11.94 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1768, allocations: 0 / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.1771, allocations: 153 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.1771, allocations: 3.984 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.334e-05/0.1772, allocations: 41.58 kB / 0.6871 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1774, allocations: 96.66 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1774, allocations: 1.219 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1774, allocations: 3.938 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.1774, allocations: 0 / 0.6872 GB, free: 12.92 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.0004566/0.1779, allocations: 348.9 kB / 0.6876 GB, free: 12.53 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1779, allocations: 13.38 kB / 0.6876 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.1783, allocations: 35.91 kB / 0.6876 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.1785, allocations: 172.2 kB / 0.6878 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1785, allocations: 384 / 0.6878 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1785, allocations: 4.375 kB / 0.6878 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1788, allocations: 70.8 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.1788, allocations: 2.188 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1788, allocations: 3.938 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1788, allocations: 3.984 kB / 0.6879 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.1791, allocations: 67.72 kB / 0.6879 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.1795, allocations: 268.9 kB / 0.6882 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.1798, allocations: 69.3 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1799, allocations: 38.61 kB / 0.6883 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.18, allocations: 4.859 kB / 0.6883 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.18, allocations: 31.22 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.18, allocations: 0 / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005198/0.1805, allocations: 132.2 kB / 0.6884 GB, free: 11.53 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1806, allocations: 51.41 kB / 0.6885 GB, free: 11.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.1806, allocations: 105.8 kB / 0.6886 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1807, allocations: 25.7 kB / 0.6886 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.1807, allocations: 84.17 kB / 0.6887 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.1807, allocations: 4 kB / 0.6887 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.1808, allocations: 13.66 kB / 0.6887 GB, free: 11.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.857e-05/0.1809, allocations: 318.8 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.181, allocations: 27.97 kB / 0.689 GB, free: 10.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1812, allocations: 39.91 kB / 0.6891 GB, free: 10.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.1814, allocations: 68.86 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1814, allocations: 0 / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002999/0.1817, allocations: 101.5 kB / 0.6892 GB, free: 10.65 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1818, allocations: 9.906 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1818, allocations: 0 / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1818, allocations: 4 kB / 0.6893 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1819, allocations: 15.97 kB / 0.6893 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1819, allocations: 7.922 kB / 0.6893 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.182, allocations: 11.98 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.182, allocations: 4 kB / 0.6893 GB, free: 10.6 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.811e-05/0.1821, allocations: 119.1 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1822, allocations: 0 / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.1822, allocations: 7.125 kB / 0.6894 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1822, allocations: 0 / 0.6894 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1822, allocations: 0 / 0.6894 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1822, allocations: 3.938 kB / 0.6894 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.1824, allocations: 169.6 kB / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1824, allocations: 4 kB / 0.6896 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1825, allocations: 15.98 kB / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1825, allocations: 0 / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-06/0.1825, allocations: 0 / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1825, allocations: 4 kB / 0.6896 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.1826, allocations: 4 kB / 0.6896 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.1829, allocations: 199.4 kB / 0.6898 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.183, allocations: 85.02 kB / 0.6899 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.183, allocations: 0 / 0.6899 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1831, allocations: 16.02 kB / 0.6899 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.1832, allocations: 0 / 0.6899 GB, free: 9.895 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1832, allocations: 3.984 kB / 0.6899 GB, free: 9.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.1832, allocations: 83.28 kB / 0.69 GB, free: 9.809 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1832, allocations: 0 / 0.69 GB, free: 9.809 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1835, allocations: 16 kB / 0.69 GB, free: 9.793 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.0001707/0.1836, allocations: 111.2 kB / 0.6901 GB, free: 9.672 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003061/0.184, allocations: 71.88 kB / 0.6902 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.184, allocations: 0 / 0.6902 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1841, allocations: 36.03 kB / 0.6902 GB, free: 9.566 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1844, allocations: 14.8 kB / 0.6902 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.1848, allocations: 144.6 kB / 0.6904 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1851, allocations: 0.677 MB / 0.691 GB, free: 8.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.683e-05/0.1852, allocations: 11.94 kB / 0.691 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.1852, allocations: 11.42 kB / 0.691 GB, free: 8.664 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1852, allocations: 4 kB / 0.691 GB, free: 8.66 MB / 494.1 MB Notification: Performance of Templates: time 0.002838/0.188, allocations: 0.6927 MB / 0.6917 GB, free: 7.973 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)