Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.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.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, 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.0009866/0.0009866, allocations: 198 kB / 16.54 MB, free: 6.672 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 278.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9055/0.9055, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 97.28 kB / 0.5952 GB, free: 27.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.17, allocations: 86.99 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002115/0.1721, allocations: 1.242 MB / 0.6814 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005723/0.1727, allocations: 324.2 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.856e-05/0.1728, allocations: 0 / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.269e-05/0.1728, allocations: 0.7188 kB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.454e-05/0.1728, allocations: 0 / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1731, allocations: 57.66 kB / 0.6818 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.1732, allocations: 23.86 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.1732, allocations: 0 / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.1732, allocations: 7.984 kB / 0.6818 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.1733, allocations: 12 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1733, allocations: 0 / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1735, allocations: 71.91 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.1735, allocations: 0 / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.1735, allocations: 15.92 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.1736, allocations: 40.22 kB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1737, allocations: 0 / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1737, allocations: 0 / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1737, allocations: 0 / 0.6819 GB, free: 14.88 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.0003422/0.174, allocations: 339.5 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.174, allocations: 8.031 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1742, allocations: 12.92 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.56e-05/0.1743, allocations: 164.3 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1743, allocations: 8.375 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.1743, allocations: 384 / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1744, allocations: 50.17 kB / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1745, allocations: 192 / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1745, allocations: 3.938 kB / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1745, allocations: 0 / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.1745, allocations: 16 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.1747, allocations: 153.7 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1749, allocations: 50.59 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.516e-05/0.1749, allocations: 16.86 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1749, allocations: 3.938 kB / 0.6827 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.175, allocations: 30.56 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.175, allocations: 8 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001309/0.1763, allocations: 398.2 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/0.1763, allocations: 51.41 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.659e-05/0.1764, allocations: 89.86 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1764, allocations: 29.7 kB / 0.6833 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.1764, allocations: 84.14 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1765, allocations: 27.62 kB / 0.6834 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.1765, allocations: 21.72 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.1766, allocations: 314.8 kB / 0.6837 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.1767, allocations: 19.94 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.1767, allocations: 15.98 kB / 0.6838 GB, free: 12.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.1768, allocations: 40.86 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1768, allocations: 3.938 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001288/0.1769, allocations: 81.67 kB / 0.6839 GB, free: 12.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1769, allocations: 7.938 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.177, allocations: 240 / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.177, allocations: 4 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.702e-05/0.1771, allocations: 8 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1771, allocations: 3.984 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.1771, allocations: 0 / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1772, allocations: 11.98 kB / 0.6839 GB, free: 12.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 6.583e-05/0.1772, allocations: 107.2 kB / 0.684 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/0.1772, allocations: 15.88 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.1775, allocations: 97.55 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1775, allocations: 4 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1775, allocations: 0 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1775, allocations: 4 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.1776, allocations: 165.6 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1776, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1777, allocations: 11.98 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1777, allocations: 8 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1778, allocations: 4 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1778, allocations: 0 / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1778, allocations: 0 / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.178, allocations: 129 kB / 0.6844 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.178, allocations: 77.11 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.178, allocations: 3.938 kB / 0.6845 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.525e-05/0.1781, allocations: 12.02 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.1781, allocations: 4 kB / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.1782, allocations: 0 / 0.6845 GB, free: 11.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.351e-05/0.1782, allocations: 75.28 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1782, allocations: 0 / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.1784, allocations: 12 kB / 0.6846 GB, free: 11.75 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 (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 Backend phase and start with SimCode phase: time 0.0001063/0.1785, allocations: 107.3 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1786, allocations: 51.91 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1786, allocations: 0 / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.097e-05/0.1787, allocations: 24 kB / 0.6848 GB, free: 11.56 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.1789, allocations: 11.92 kB / 0.6848 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.1792, allocations: 134.3 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1794, allocations: 0.6846 MB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.818e-05/0.1795, allocations: 7.938 kB / 0.6856 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.1795, allocations: 15.42 kB / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1795, allocations: 0 / 0.6856 GB, free: 10.66 MB / 494.1 MB Notification: Performance of Templates: time 0.002548/0.1821, allocations: 0.7369 MB / 0.6863 GB, free: 9.973 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck.pipe 2>&1)