Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, 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.001161/0.001161, allocations: 192.5 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.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.002035/0.002035, allocations: 275.2 kB / 290.7 MB, free: 1.973 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.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 104.8 kB / 0.5953 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.163, allocations: 86.98 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002253/0.1653, allocations: 1.277 MB / 0.6814 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1663, allocations: 0.6419 MB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.1664, allocations: 0.875 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.1664, allocations: 0 / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.944e-05/0.1664, allocations: 9.047 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.1668, allocations: 108.4 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.005e-05/0.1669, allocations: 27.86 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.167, allocations: 3.984 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.112e-05/0.167, allocations: 8.531 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.736e-05/0.1671, allocations: 15.98 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1671, allocations: 3.938 kB / 0.6822 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.1674, allocations: 151.7 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.1674, allocations: 0 / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.1674, allocations: 11.98 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1676, allocations: 96.03 kB / 0.6825 GB, free: 14.31 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1676, allocations: 4 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1676, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1676, allocations: 0 / 0.6825 GB, free: 14.3 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004601/0.1681, allocations: 351.5 kB / 0.6828 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.1681, allocations: 12.03 kB / 0.6828 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000408/0.1686, allocations: 28.91 kB / 0.6829 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1687, allocations: 164.3 kB / 0.683 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1687, allocations: 8.297 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.1687, allocations: 4.375 kB / 0.683 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1689, allocations: 62.16 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1689, allocations: 192 / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1689, allocations: 3.938 kB / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.169, allocations: 0 / 0.6831 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.1691, allocations: 31.97 kB / 0.6831 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.1693, allocations: 153.7 kB / 0.6833 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1696, allocations: 70.58 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.365e-05/0.1697, allocations: 24.94 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1697, allocations: 3.938 kB / 0.6834 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.1698, allocations: 42.55 kB / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1698, allocations: 0 / 0.6834 GB, free: 13.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003361/0.1731, allocations: 0.576 MB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.1732, allocations: 55.41 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.1733, allocations: 93.86 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1733, allocations: 25.7 kB / 0.6841 GB, free: 12.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.1733, allocations: 88.12 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.1734, allocations: 19.7 kB / 0.6842 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.1734, allocations: 25.7 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.781e-05/0.1735, allocations: 318.8 kB / 0.6846 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.1737, allocations: 40.09 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1738, allocations: 31.97 kB / 0.6846 GB, free: 11.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.1741, allocations: 84.75 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1741, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003405/0.1745, allocations: 121.6 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1745, allocations: 7.938 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1745, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1745, allocations: 4 kB / 0.6849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1747, allocations: 19.97 kB / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1747, allocations: 64 / 0.6849 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.1749, allocations: 19.98 kB / 0.6849 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.1749, allocations: 4 kB / 0.6849 GB, free: 11.57 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 (7): * Single equations (assignments): 7 * 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 8.717e-05/0.175, allocations: 111.1 kB / 0.685 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1751, allocations: 11.92 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.313e-05/0.1751, allocations: 15.91 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.1751, allocations: 4 kB / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1751, allocations: 0 / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1751, allocations: 0 / 0.685 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.1753, allocations: 191.7 kB / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1753, allocations: 0 / 0.6852 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.1755, allocations: 19.97 kB / 0.6852 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1755, allocations: 3.938 kB / 0.6852 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.1756, allocations: 11.98 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1756, allocations: 3.938 kB / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1756, allocations: 0 / 0.6853 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005336/0.1761, allocations: 193.1 kB / 0.6854 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-05/0.1762, allocations: 85.08 kB / 0.6855 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1762, allocations: 4 kB / 0.6855 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.1764, allocations: 11.98 kB / 0.6855 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.1764, allocations: 3.984 kB / 0.6855 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1764, allocations: 4 kB / 0.6855 GB, free: 10.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.1765, allocations: 79.34 kB / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1765, allocations: 0 / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1767, allocations: 39.92 kB / 0.6857 GB, free: 10.71 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0002003/0.1769, allocations: 123.2 kB / 0.6858 GB, free: 10.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.1773, allocations: 99.94 kB / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1773, allocations: 0 / 0.6859 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.1775, allocations: 47.95 kB / 0.6859 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.1777, allocations: 4.188 kB / 0.6859 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/0.1784, allocations: 170.3 kB / 0.6861 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.1786, allocations: 0.6807 MB / 0.6867 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002189/0.1788, allocations: 35.86 kB / 0.6868 GB, free: 9.492 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.1789, allocations: 15.42 kB / 0.6868 GB, free: 9.477 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1789, allocations: 0 / 0.6868 GB, free: 9.477 MB / 494.1 MB Notification: Performance of Templates: time 0.003817/0.1827, allocations: 1.5 MB / 0.6883 GB, free: 8.035 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)