Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.007073/0.007073, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001811/0.001811, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9456/0.9456, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.2 kB / 0.5053 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.147, allocations: 80.92 MB / 0.5844 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002398/0.1494, allocations: 1.34 MB / 0.5857 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1505, allocations: 0.6568 MB / 0.5863 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.1505, allocations: 0 / 0.5863 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.1506, allocations: 0 / 0.5863 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.1506, allocations: 7.969 kB / 0.5863 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.151, allocations: 99.62 kB / 0.5864 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.975e-05/0.151, allocations: 19.88 kB / 0.5864 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.1511, allocations: 11.92 kB / 0.5864 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.948e-05/0.1511, allocations: 8 kB / 0.5865 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.1512, allocations: 7.984 kB / 0.5865 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1512, allocations: 0 / 0.5865 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.1515, allocations: 147.8 kB / 0.5866 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.1515, allocations: 7.938 kB / 0.5866 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.1515, allocations: 7.984 kB / 0.5866 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001407/0.1517, allocations: 68.09 kB / 0.5867 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1517, allocations: 7.984 kB / 0.5867 GB, free: 2.582 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.1517, allocations: 0 / 0.5867 GB, free: 2.582 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1517, allocations: 3.938 kB / 0.5867 GB, free: 2.578 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.0004808/0.1522, allocations: 359.4 kB / 0.587 GB, free: 2.176 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1522, allocations: 8.031 kB / 0.587 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004482/0.1527, allocations: 28.91 kB / 0.5871 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1528, allocations: 164.4 kB / 0.5872 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1528, allocations: 4.375 kB / 0.5872 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1529, allocations: 384 / 0.5872 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.153, allocations: 62.19 kB / 0.5873 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1531, allocations: 192 / 0.5873 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.1531, allocations: 3.938 kB / 0.5873 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1531, allocations: 4 kB / 0.5873 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.1532, allocations: 31.97 kB / 0.5873 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.1534, allocations: 169.6 kB / 0.5875 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.1537, allocations: 62.58 kB / 0.5876 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.1539, allocations: 32.94 kB / 0.5876 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.1539, allocations: 0 / 0.5876 GB, free: 1.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1539, allocations: 30.56 kB / 0.5876 GB, free: 1.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1539, allocations: 0 / 0.5876 GB, free: 1.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003813/0.1577, allocations: 0.5797 MB / 0.5882 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1578, allocations: 51.41 kB / 0.5882 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.1579, allocations: 97.86 kB / 0.5883 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1579, allocations: 25.7 kB / 0.5883 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.1579, allocations: 80.14 kB / 0.5884 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.158, allocations: 23.7 kB / 0.5884 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.158, allocations: 29.77 kB / 0.5885 GB, free: 0.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1582, allocations: 318.8 kB / 0.5888 GB, free: 184 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1583, allocations: 39.95 kB / 0.5888 GB, free: 144 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1585, allocations: 35.97 kB / 0.5888 GB, free: 108 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.1588, allocations: 88.95 kB / 0.5889 GB, free: 16 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1588, allocations: 0 / 0.5889 GB, free: 16 kB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003807/0.1592, allocations: 121.6 kB / 0.589 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1592, allocations: 11.94 kB / 0.5891 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1592, allocations: 0 / 0.5891 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1592, allocations: 0 / 0.5891 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.1595, allocations: 23.97 kB / 0.5891 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1595, allocations: 0 / 0.5891 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1597, allocations: 7.984 kB / 0.5891 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1597, allocations: 8 kB / 0.5891 GB, free: 15.84 MB / 0.4981 GB 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.615e-05/0.1598, allocations: 105.8 kB / 0.5892 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.1598, allocations: 15.91 kB / 0.5892 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.209e-05/0.1599, allocations: 15.95 kB / 0.5892 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.1599, allocations: 0 / 0.5892 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1599, allocations: 0 / 0.5892 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1599, allocations: 0 / 0.5892 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.1601, allocations: 187.7 kB / 0.5894 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1601, allocations: 0 / 0.5894 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/0.1604, allocations: 27.91 kB / 0.5894 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1604, allocations: 3.938 kB / 0.5894 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1604, allocations: 336 / 0.5894 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1604, allocations: 7.922 kB / 0.5894 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1604, allocations: 4 kB / 0.5895 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.161, allocations: 189 kB / 0.5896 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1611, allocations: 88.94 kB / 0.5897 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1611, allocations: 0 / 0.5897 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.1613, allocations: 20.08 kB / 0.5897 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.1614, allocations: 4 kB / 0.5897 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1614, allocations: 3.984 kB / 0.5897 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.308e-05/0.1614, allocations: 79.28 kB / 0.5898 GB, free: 15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1614, allocations: 3.938 kB / 0.5898 GB, free: 15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002534/0.1617, allocations: 31.94 kB / 0.5899 GB, free: 14.96 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 (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.000238/0.1619, allocations: 135.2 kB / 0.59 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003411/0.1623, allocations: 83.92 kB / 0.5901 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1623, allocations: 0 / 0.5901 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.1625, allocations: 39.97 kB / 0.5901 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1627, allocations: 16.59 kB / 0.5901 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007057/0.1634, allocations: 197.6 kB / 0.5903 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1637, allocations: 0.6792 MB / 0.591 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1638, allocations: 23.41 kB / 0.591 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1638, allocations: 4 kB / 0.591 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.003588/0.1674, allocations: 1.56 MB / 0.5925 GB, free: 12.19 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)