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.001108/0.001108, 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.001162/0.001162, allocations: 196.6 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 290.7 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9405/0.9405, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 103.8 kB / 0.5953 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1465, allocations: 86.98 MB / 0.6802 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00234/0.1489, allocations: 1.245 MB / 0.6814 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004648/0.1494, allocations: 240.4 kB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.64e-05/0.1494, allocations: 2.062 kB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.1494, allocations: 3.938 kB / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.022e-05/0.1495, allocations: 0 / 0.6817 GB, free: 15.2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.1497, allocations: 35.83 kB / 0.6817 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.017e-05/0.1498, allocations: 22.39 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.1499, allocations: 4 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.1499, allocations: 7.938 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.996e-05/0.1499, allocations: 15.97 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.15, allocations: 0 / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1501, allocations: 47.95 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.105e-05/0.1501, allocations: 0 / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.1501, allocations: 12.81 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1502, allocations: 44.16 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1502, allocations: 4.469 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1502, allocations: 1.125 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1503, allocations: 0 / 0.6818 GB, free: 15.02 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.0003461/0.1506, allocations: 332.5 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.1506, allocations: 8.031 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1508, allocations: 16.92 kB / 0.6822 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.1509, allocations: 160.4 kB / 0.6823 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1509, allocations: 4.375 kB / 0.6823 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1509, allocations: 8.312 kB / 0.6823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.151, allocations: 42.25 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.151, allocations: 192 / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1511, allocations: 7.922 kB / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1511, allocations: 0 / 0.6824 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.1511, allocations: 15.98 kB / 0.6824 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.1513, allocations: 165.7 kB / 0.6826 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.1514, allocations: 42.62 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.1514, allocations: 20.92 kB / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.1514, allocations: 0 / 0.6826 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.1514, allocations: 34.56 kB / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 7.51e-07/0.1515, allocations: 0 / 0.6827 GB, free: 14.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001949/0.1534, allocations: 0.5018 MB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.1535, allocations: 55.41 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.278e-05/0.1535, allocations: 97.86 kB / 0.6833 GB, free: 13.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1535, allocations: 25.7 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.1536, allocations: 80.14 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1536, allocations: 27.64 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.1536, allocations: 17.72 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1538, allocations: 314.8 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-05/0.1538, allocations: 23.98 kB / 0.6838 GB, free: 12.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.1539, allocations: 27.92 kB / 0.6838 GB, free: 12.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.154, allocations: 60.86 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.154, allocations: 0 / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001469/0.1541, allocations: 97.53 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1541, allocations: 11.88 kB / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1541, allocations: 448 / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.1542, allocations: 0 / 0.684 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1543, allocations: 15.98 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1543, allocations: 0 / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/0.1544, allocations: 8 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1544, allocations: 0 / 0.684 GB, free: 12.55 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.063e-05/0.1545, allocations: 119.2 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.1545, allocations: 4.219 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1545, allocations: 15.91 kB / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1545, allocations: 0 / 0.6841 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1546, allocations: 7.938 kB / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1546, allocations: 0 / 0.6841 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.1547, allocations: 171.5 kB / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1547, allocations: 0 / 0.6843 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.1548, allocations: 15.98 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1548, allocations: 3.938 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1549, allocations: 4 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1549, allocations: 4 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1549, allocations: 0 / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1551, allocations: 149.1 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.1551, allocations: 84.95 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.1552, allocations: 4 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1553, allocations: 8.016 kB / 0.6845 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.1553, allocations: 8.062 kB / 0.6846 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1553, allocations: 4 kB / 0.6846 GB, free: 11.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.221e-05/0.1554, allocations: 75.28 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1554, allocations: 0 / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000187/0.1556, allocations: 12 kB / 0.6846 GB, free: 11.79 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 9.811e-05/0.1557, allocations: 103.2 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1558, allocations: 63.92 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1558, allocations: 4 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.1559, allocations: 35.98 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1561, allocations: 4 kB / 0.6848 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.1566, allocations: 182.5 kB / 0.685 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1568, allocations: 0.6807 MB / 0.6857 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.073e-05/0.1569, allocations: 11.94 kB / 0.6857 GB, free: 10.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.157, allocations: 11.44 kB / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.157, allocations: 0 / 0.6857 GB, free: 10.64 MB / 494.1 MB Notification: Performance of Templates: time 0.002533/0.1595, allocations: 0.7061 MB / 0.6864 GB, free: 9.98 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)