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.001729/0.001729, allocations: 108 kB / 15.61 MB, free: 152 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.001338/0.001337, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.444/1.444, 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/IDEAS 3.0.0-master/package.mo): time 0.9775/0.9775, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 72.16 kB / 0.5054 GB, free: 5.293 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 80.92 MB / 0.5844 GB, free: 4.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002508/0.1583, allocations: 1.247 MB / 0.5856 GB, free: 3.258 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005045/0.1588, allocations: 235.2 kB / 0.5858 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.1588, allocations: 4 kB / 0.5858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.1588, allocations: 0 / 0.5858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.1589, allocations: 0 / 0.5858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1592, allocations: 43.77 kB / 0.5859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.1593, allocations: 23.97 kB / 0.5859 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.1593, allocations: 0 / 0.5859 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.1594, allocations: 4 kB / 0.5859 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.1594, allocations: 19.86 kB / 0.5859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1595, allocations: 0 / 0.5859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1596, allocations: 47.95 kB / 0.586 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.1596, allocations: 8 kB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.1596, allocations: 11.97 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1597, allocations: 35.91 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1598, allocations: 3.938 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1598, allocations: 0 / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1598, allocations: 0 / 0.586 GB, free: 2.828 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.000364/0.1601, allocations: 333.9 kB / 0.5863 GB, free: 2.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.1602, allocations: 12.03 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.1603, allocations: 12.92 kB / 0.5864 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/0.1604, allocations: 164.4 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1604, allocations: 4.375 kB / 0.5865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1605, allocations: 4.281 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1606, allocations: 42.25 kB / 0.5866 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1606, allocations: 4.188 kB / 0.5866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1606, allocations: 3.938 kB / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.1606, allocations: 3.984 kB / 0.5866 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.1607, allocations: 15.94 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1608, allocations: 161.7 kB / 0.5868 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.688e-05/0.1609, allocations: 46.56 kB / 0.5868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.161, allocations: 16.98 kB / 0.5868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.161, allocations: 4 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.161, allocations: 34.56 kB / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.161, allocations: 0 / 0.5869 GB, free: 1.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002041/0.1631, allocations: 0.4941 MB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1631, allocations: 59.34 kB / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.497e-05/0.1632, allocations: 93.86 kB / 0.5875 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.1632, allocations: 25.7 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.1632, allocations: 80.14 kB / 0.5876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.1633, allocations: 31.55 kB / 0.5876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1633, allocations: 17.72 kB / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1634, allocations: 318.8 kB / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.1635, allocations: 23.98 kB / 0.588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.868e-05/0.1635, allocations: 23.98 kB / 0.588 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.643e-05/0.1636, allocations: 60.98 kB / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1636, allocations: 0 / 0.588 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001387/0.1638, allocations: 93.62 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1638, allocations: 7.938 kB / 0.5881 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1638, allocations: 0 / 0.5881 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1638, allocations: 4 kB / 0.5881 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.164, allocations: 19.92 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.164, allocations: 0 / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.588e-05/0.1641, allocations: 448 / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.1641, allocations: 0 / 0.5882 GB, free: 384 kB / 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.247e-05/0.1642, allocations: 117.8 kB / 0.5883 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.1642, allocations: 3.938 kB / 0.5883 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/0.1642, allocations: 15.97 kB / 0.5883 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.1642, allocations: 3.984 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1643, allocations: 4 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1643, allocations: 3.984 kB / 0.5883 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1644, allocations: 171.5 kB / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1644, allocations: 0 / 0.5885 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.1646, allocations: 15.98 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.1646, allocations: 15.88 kB / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.1646, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1646, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1646, allocations: 0 / 0.5885 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1648, allocations: 145 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.385e-05/0.1649, allocations: 89.08 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.1649, allocations: 3.984 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.165, allocations: 4.094 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.1651, allocations: 8 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1651, allocations: 4 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.558e-05/0.1651, allocations: 76.94 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1651, allocations: 0 / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001918/0.1653, allocations: 12 kB / 0.5888 GB, free: 15.59 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 (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.0001097/0.1654, allocations: 107.2 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.1656, allocations: 67.91 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1656, allocations: 4 kB / 0.589 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.424e-05/0.1657, allocations: 40.08 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1659, allocations: 4.156 kB / 0.589 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005315/0.1664, allocations: 178.7 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1667, allocations: 0.6807 MB / 0.5899 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.706e-05/0.1668, allocations: 15.92 kB / 0.5899 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.1668, allocations: 11.44 kB / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1668, allocations: 0 / 0.5899 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.002678/0.1695, allocations: 0.6826 MB / 0.5906 GB, free: 13.8 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)