Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") 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: 111.3 kB / 15.23 MB, free: 0.6406 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.001187/0.001187, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.22 kB / 0.5047 GB, free: 5.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1646, allocations: 80.93 MB / 0.5837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002753/0.1674, allocations: 1.307 MB / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.168, allocations: 248.9 kB / 0.5852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.517e-05/0.168, allocations: 0 / 0.5852 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.1681, allocations: 3.938 kB / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.343e-05/0.1681, allocations: 0 / 0.5852 GB, free: 3.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1684, allocations: 35.89 kB / 0.5853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.765e-05/0.1685, allocations: 19.92 kB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.1685, allocations: 4 kB / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.1686, allocations: 4 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.1686, allocations: 19.91 kB / 0.5853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1687, allocations: 4 kB / 0.5853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1688, allocations: 39.97 kB / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1688, allocations: 7.984 kB / 0.5854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.1688, allocations: 7.938 kB / 0.5854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.169, allocations: 39.95 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.169, allocations: 0 / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.169, allocations: 0 / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.169, allocations: 0 / 0.5854 GB, free: 3.281 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000382/0.1694, allocations: 339.8 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1694, allocations: 12.03 kB / 0.5858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.1696, allocations: 4.938 kB / 0.5858 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.1697, allocations: 168.4 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1697, allocations: 4.312 kB / 0.5859 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1697, allocations: 8.219 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.1699, allocations: 46.25 kB / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.1699, allocations: 192 / 0.586 GB, free: 2.617 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1699, allocations: 7.938 kB / 0.586 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1699, allocations: 4 kB / 0.586 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.17, allocations: 15.98 kB / 0.586 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1701, allocations: 149.7 kB / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.942e-05/0.1702, allocations: 42.62 kB / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.1703, allocations: 28.91 kB / 0.5862 GB, free: 2.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1703, allocations: 3.938 kB / 0.5862 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1704, allocations: 38.56 kB / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.1704, allocations: 0 / 0.5863 GB, free: 2.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002243/0.1726, allocations: 0.4902 MB / 0.5867 GB, free: 1.719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1727, allocations: 55.39 kB / 0.5868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.67e-05/0.1727, allocations: 89.86 kB / 0.5869 GB, free: 1.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.1727, allocations: 25.7 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.609e-05/0.1728, allocations: 80.14 kB / 0.587 GB, free: 1.441 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.1728, allocations: 31.55 kB / 0.587 GB, free: 1.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/0.1729, allocations: 25.7 kB / 0.587 GB, free: 1.379 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.269e-05/0.173, allocations: 314.8 kB / 0.5873 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/0.173, allocations: 28.42 kB / 0.5874 GB, free: 1.035 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.1731, allocations: 23.94 kB / 0.5874 GB, free: 1.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1732, allocations: 56.84 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1732, allocations: 4 kB / 0.5874 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001532/0.1733, allocations: 93.62 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1734, allocations: 7.938 kB / 0.5875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1734, allocations: 0 / 0.5875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1734, allocations: 0 / 0.5875 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1736, allocations: 12 kB / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1736, allocations: 4.281 kB / 0.5875 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.1736, allocations: 8 kB / 0.5876 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.1737, allocations: 7.969 kB / 0.5876 GB, free: 0.8125 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 (9): * Single equations (assignments): 9 * 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.784e-05/0.1737, allocations: 113.8 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.1738, allocations: 3.938 kB / 0.5877 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.1738, allocations: 27.84 kB / 0.5877 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1738, allocations: 0 / 0.5877 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1739, allocations: 0 / 0.5877 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1739, allocations: 0 / 0.5877 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.174, allocations: 167.5 kB / 0.5879 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.174, allocations: 4 kB / 0.5879 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.1742, allocations: 16 kB / 0.5879 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.1742, allocations: 7.938 kB / 0.5879 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1742, allocations: 3.984 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1742, allocations: 0 / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1742, allocations: 0 / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1745, allocations: 153 kB / 0.588 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.1745, allocations: 85.08 kB / 0.5881 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1745, allocations: 0 / 0.5881 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.1747, allocations: 8.062 kB / 0.5881 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.1747, allocations: 7.984 kB / 0.5881 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1747, allocations: 4 kB / 0.5881 GB, free: 124 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.328e-05/0.1747, allocations: 75.28 kB / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1747, allocations: 0 / 0.5882 GB, free: 48 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.175, allocations: 8 kB / 0.5882 GB, free: 40 kB / 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 (8): * Single equations (assignments): 8 * 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.0001464/0.1751, allocations: 107.3 kB / 0.5883 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.1753, allocations: 63.86 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1753, allocations: 0 / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.329e-05/0.1753, allocations: 32 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1756, allocations: 4.594 kB / 0.5884 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.1761, allocations: 192.4 kB / 0.5886 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.1764, allocations: 0.6809 MB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.1765, allocations: 12 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.1765, allocations: 7.438 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.1765, allocations: 3.938 kB / 0.5893 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002752/0.1793, allocations: 0.6678 MB / 0.5899 GB, free: 14.26 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)