Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001071/0.001071, allocations: 112.6 kB / 16.37 MB, free: 6 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.001144/0.001144, allocations: 196 kB / 17.31 MB, free: 5.613 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 288.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8932/0.8932, allocations: 169.3 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 98.19 kB / 0.5967 GB, free: 14.4 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1507, allocations: 86.98 MB / 0.6816 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002748/0.1535, allocations: 1.262 MB / 0.6829 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.1541, allocations: 227.3 kB / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.1541, allocations: 0 / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.1541, allocations: 0 / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.1543, allocations: 0 / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1546, allocations: 51.7 kB / 0.6831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.533e-05/0.1547, allocations: 19.98 kB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.1547, allocations: 3.984 kB / 0.6831 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.1548, allocations: 4 kB / 0.6831 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.1549, allocations: 11.98 kB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1549, allocations: 0 / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.155, allocations: 47.89 kB / 0.6832 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.155, allocations: 4 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.1551, allocations: 11.98 kB / 0.6832 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1552, allocations: 47.83 kB / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1552, allocations: 0 / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.251e-06/0.1552, allocations: 0 / 0.6833 GB, free: 5.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1552, allocations: 3.938 kB / 0.6833 GB, free: 5.719 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.0003973/0.1556, allocations: 327.6 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1557, allocations: 12.03 kB / 0.6836 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1558, allocations: 8.922 kB / 0.6836 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.985e-05/0.1559, allocations: 164.4 kB / 0.6838 GB, free: 5.129 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1559, allocations: 4.375 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.156, allocations: 8.375 kB / 0.6838 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1561, allocations: 42.25 kB / 0.6838 GB, free: 5.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1561, allocations: 4.188 kB / 0.6838 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1561, allocations: 3.938 kB / 0.6838 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1562, allocations: 0 / 0.6838 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.298e-05/0.1562, allocations: 15.98 kB / 0.6838 GB, free: 5.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.1564, allocations: 165.6 kB / 0.684 GB, free: 4.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.313e-05/0.1565, allocations: 46.56 kB / 0.684 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.938e-05/0.1565, allocations: 20.97 kB / 0.6841 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.1566, allocations: 4 kB / 0.6841 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1566, allocations: 30.56 kB / 0.6841 GB, free: 4.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.1566, allocations: 0 / 0.6841 GB, free: 4.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002036/0.1586, allocations: 0.498 MB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1587, allocations: 55.34 kB / 0.6846 GB, free: 4.098 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.285e-05/0.1587, allocations: 89.86 kB / 0.6847 GB, free: 4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1588, allocations: 33.64 kB / 0.6847 GB, free: 3.961 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.747e-05/0.1588, allocations: 88.05 kB / 0.6848 GB, free: 3.871 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.1588, allocations: 27.64 kB / 0.6849 GB, free: 3.844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.1589, allocations: 21.72 kB / 0.6849 GB, free: 3.816 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.159, allocations: 310.8 kB / 0.6852 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.406e-05/0.159, allocations: 23.98 kB / 0.6852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.962e-05/0.1591, allocations: 27.98 kB / 0.6852 GB, free: 3.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.564e-05/0.1592, allocations: 52.86 kB / 0.6853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1592, allocations: 0 / 0.6853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001449/0.1593, allocations: 93.53 kB / 0.6854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.1594, allocations: 14.28 kB / 0.6854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1594, allocations: 288 / 0.6854 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1594, allocations: 4 kB / 0.6854 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1595, allocations: 19.92 kB / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1596, allocations: 3.938 kB / 0.6854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.1596, allocations: 4 kB / 0.6854 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1596, allocations: 0 / 0.6854 GB, free: 3.258 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.101e-05/0.1597, allocations: 113.8 kB / 0.6855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.1597, allocations: 3.938 kB / 0.6855 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.1598, allocations: 19.97 kB / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1598, allocations: 0 / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1598, allocations: 0 / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1598, allocations: 0 / 0.6855 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.1599, allocations: 176 kB / 0.6857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.16, allocations: 0 / 0.6857 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.1601, allocations: 19.98 kB / 0.6857 GB, free: 2.871 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.1601, allocations: 7.938 kB / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1601, allocations: 0 / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1601, allocations: 0 / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1601, allocations: 0 / 0.6857 GB, free: 2.863 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.1604, allocations: 145 kB / 0.6859 GB, free: 2.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.1604, allocations: 88.98 kB / 0.686 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1604, allocations: 0 / 0.686 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1606, allocations: 11.98 kB / 0.686 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.959e-05/0.1606, allocations: 3.938 kB / 0.686 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1606, allocations: 4 kB / 0.686 GB, free: 2.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.562e-05/0.1606, allocations: 79.34 kB / 0.686 GB, free: 2.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1606, allocations: 0 / 0.686 GB, free: 2.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001867/0.1608, allocations: 16 kB / 0.6861 GB, free: 2.484 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 (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.0001288/0.161, allocations: 103.2 kB / 0.6862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1611, allocations: 59.92 kB / 0.6862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1611, allocations: 0 / 0.6862 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.1612, allocations: 39.91 kB / 0.6863 GB, free: 2.277 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.1614, allocations: 9.734 kB / 0.6863 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1619, allocations: 174.6 kB / 0.6864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.1621, allocations: 0.6807 MB / 0.6871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.573e-05/0.1622, allocations: 11.94 kB / 0.6871 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.1622, allocations: 7.438 kB / 0.6871 GB, free: 1.348 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1622, allocations: 4 kB / 0.6871 GB, free: 1.344 MB / 494.1 MB Notification: Performance of Templates: time 0.00254/0.1648, allocations: 0.6987 MB / 0.6878 GB, free: 0.6953 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)