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.001935/0.001935, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001284/0.001284, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00249/0.00249, allocations: 290.6 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5069 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002691/0.002691, allocations: 105 kB / 0.6059 GB, free: 24.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1626, allocations: 89.15 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.DewPointTemperatureDerivativeCheck): time 0.002347/0.165, allocations: 1.322 MB / 0.6943 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005933/0.1656, allocations: 316.9 kB / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.319e-05/0.1656, allocations: 0 / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.1657, allocations: 0 / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.1657, allocations: 1.375 kB / 0.6946 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.166, allocations: 51.83 kB / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.552e-05/0.1661, allocations: 11.94 kB / 0.6947 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.1661, allocations: 4.641 kB / 0.6947 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.107e-05/0.1661, allocations: 9.562 kB / 0.6947 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.1662, allocations: 7.984 kB / 0.6947 GB, free: 2.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.1662, allocations: 3.938 kB / 0.6947 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1664, allocations: 67.92 kB / 0.6947 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1664, allocations: 11.98 kB / 0.6948 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1664, allocations: 11.92 kB / 0.6948 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1666, allocations: 39.94 kB / 0.6948 GB, free: 2.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1666, allocations: 3.938 kB / 0.6948 GB, free: 2.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1666, allocations: 0 / 0.6948 GB, free: 2.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1666, allocations: 4 kB / 0.6948 GB, free: 2.836 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.0003825/0.167, allocations: 331.8 kB / 0.6951 GB, free: 2.461 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.167, allocations: 11.97 kB / 0.6951 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.1672, allocations: 8.922 kB / 0.6951 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.1673, allocations: 172.4 kB / 0.6953 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.1673, allocations: 384 / 0.6953 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.1673, allocations: 384 / 0.6953 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1674, allocations: 46.23 kB / 0.6954 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1674, allocations: 192 / 0.6954 GB, free: 2.184 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1675, allocations: 3.938 kB / 0.6954 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1675, allocations: 4 kB / 0.6954 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.1675, allocations: 15.92 kB / 0.6954 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.1677, allocations: 157.7 kB / 0.6955 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1679, allocations: 46.56 kB / 0.6956 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.555e-05/0.1679, allocations: 16.86 kB / 0.6956 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1679, allocations: 0 / 0.6956 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.168, allocations: 42.64 kB / 0.6956 GB, free: 1.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.168, allocations: 0 / 0.6956 GB, free: 1.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.001396/0.1694, allocations: 394.1 kB / 0.696 GB, free: 1.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1694, allocations: 59.39 kB / 0.6961 GB, free: 1.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.1695, allocations: 89.86 kB / 0.6961 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1695, allocations: 25.7 kB / 0.6962 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.1696, allocations: 80.14 kB / 0.6962 GB, free: 1.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.1696, allocations: 23.66 kB / 0.6963 GB, free: 1.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1697, allocations: 25.7 kB / 0.6963 GB, free: 1.059 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1698, allocations: 310.8 kB / 0.6966 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.1698, allocations: 16 kB / 0.6966 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.41e-05/0.1699, allocations: 15.98 kB / 0.6966 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.17, allocations: 44.84 kB / 0.6967 GB, free: 0.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.17, allocations: 4 kB / 0.6967 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001345/0.1701, allocations: 77.94 kB / 0.6967 GB, free: 0.582 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1701, allocations: 11.94 kB / 0.6968 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1702, allocations: 0 / 0.6968 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1702, allocations: 4 kB / 0.6968 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1703, allocations: 11.98 kB / 0.6968 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1703, allocations: 0 / 0.6968 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.1704, allocations: 8 kB / 0.6968 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1704, allocations: 3.938 kB / 0.6968 GB, free: 0.543 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.26e-05/0.1705, allocations: 109.8 kB / 0.6969 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.1705, allocations: 11.83 kB / 0.6969 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.1707, allocations: 101.5 kB / 0.697 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.1707, allocations: 4 kB / 0.697 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1707, allocations: 4.062 kB / 0.697 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1707, allocations: 0 / 0.697 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1709, allocations: 169.6 kB / 0.6972 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1709, allocations: 0 / 0.6972 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.171, allocations: 12 kB / 0.6972 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.171, allocations: 7.938 kB / 0.6972 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.171, allocations: 0 / 0.6972 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.171, allocations: 0 / 0.6972 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.171, allocations: 0 / 0.6972 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.1712, allocations: 125.3 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1713, allocations: 77.11 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1713, allocations: 11.92 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.1714, allocations: 8.094 kB / 0.6974 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1714, allocations: 4 kB / 0.6974 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1715, allocations: 0 / 0.6974 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.1715, allocations: 75.28 kB / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1715, allocations: 0 / 0.6975 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001865/0.1717, allocations: 12 kB / 0.6975 GB, free: 15.72 MB / 0.4981 GB 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.0001085/0.1718, allocations: 107.2 kB / 0.6976 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.1719, allocations: 43.92 kB / 0.6976 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.172, allocations: 4 kB / 0.6976 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.567e-05/0.172, allocations: 27.98 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.1722, allocations: 4.656 kB / 0.6977 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.1725, allocations: 142.3 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1728, allocations: 0.6768 MB / 0.6985 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.415e-05/0.1729, allocations: 15.98 kB / 0.6985 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.173, allocations: 19.38 kB / 0.6985 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of SimCode: time 1.983e-06/0.173, allocations: 0 / 0.6985 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.003232/0.1762, allocations: 0.7443 MB / 0.6992 GB, free: 13.93 MB / 0.4981 GB 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)