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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 108 kB / 15.61 MB, free: 128 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.001553/0.001554, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 286.4 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001788, allocations: 95.77 kB / 0.5954 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1515, allocations: 86.99 MB / 0.6803 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002187/0.1537, allocations: 1.249 MB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004665/0.1542, allocations: 231.3 kB / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.617e-05/0.1542, allocations: 0 / 0.6818 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.1543, allocations: 3.938 kB / 0.6818 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.608e-05/0.1543, allocations: 7.984 kB / 0.6818 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.1546, allocations: 39.83 kB / 0.6818 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.787e-05/0.1546, allocations: 19.92 kB / 0.6818 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.1547, allocations: 4 kB / 0.6818 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.406e-05/0.1547, allocations: 7.938 kB / 0.6818 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.1548, allocations: 15.97 kB / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1548, allocations: 0 / 0.6818 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1549, allocations: 43.95 kB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.092e-05/0.1549, allocations: 0 / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.155, allocations: 15.94 kB / 0.6819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.1551, allocations: 40.17 kB / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1551, allocations: 0 / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.1551, allocations: 0 / 0.6819 GB, free: 14.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1551, allocations: 3.938 kB / 0.6819 GB, free: 14.87 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.00038/0.1555, allocations: 335.6 kB / 0.6823 GB, free: 14.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1555, allocations: 12.03 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.063e-05/0.1556, allocations: 30.75 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1557, allocations: 12.92 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.1558, allocations: 168.3 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1558, allocations: 4.375 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1558, allocations: 384 / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.156, allocations: 50.23 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.433e-06/0.156, allocations: 3.938 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.156, allocations: 0 / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.156, allocations: 0 / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.1561, allocations: 15.98 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.1562, allocations: 165.6 kB / 0.6827 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.1563, allocations: 46.56 kB / 0.6828 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.1564, allocations: 20.98 kB / 0.6828 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.1564, allocations: 7.938 kB / 0.6828 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.1564, allocations: 34.56 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1564, allocations: 0 / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.001994/0.1584, allocations: 0.4941 MB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1585, allocations: 55.41 kB / 0.6833 GB, free: 13.19 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.605e-05/0.1585, allocations: 93.86 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.1585, allocations: 25.7 kB / 0.6835 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.1586, allocations: 80.14 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.1586, allocations: 27.64 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.1586, allocations: 21.72 kB / 0.6836 GB, free: 12.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.1587, allocations: 314.8 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.622e-05/0.1588, allocations: 27.92 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.1588, allocations: 23.98 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.1589, allocations: 56.86 kB / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1589, allocations: 0 / 0.684 GB, free: 12.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001391/0.1591, allocations: 101.5 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1591, allocations: 4 kB / 0.6841 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1591, allocations: 3.938 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1591, allocations: 4 kB / 0.6841 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1593, allocations: 15.98 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1593, allocations: 288 / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.1594, allocations: 0 / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.1594, allocations: 0 / 0.6841 GB, free: 12.36 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 8.266e-05/0.1595, allocations: 126.4 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.1595, allocations: 3.938 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.1595, allocations: 15.97 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.1595, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1595, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1595, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.1597, allocations: 171.5 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1597, allocations: 0 / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.1598, allocations: 19.92 kB / 0.6844 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1598, allocations: 4 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1598, allocations: 4 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1598, allocations: 0 / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1599, allocations: 0 / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1601, allocations: 145.5 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1601, allocations: 92.98 kB / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1602, allocations: 0 / 0.6847 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.1603, allocations: 11.98 kB / 0.6847 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.1603, allocations: 4.062 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1603, allocations: 4 kB / 0.6847 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.403e-05/0.1604, allocations: 75.28 kB / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1604, allocations: 0 / 0.6848 GB, free: 11.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000191/0.1606, allocations: 16 kB / 0.6848 GB, free: 11.59 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.0004629/0.161, allocations: 0.6945 MB / 0.6855 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.1612, allocations: 59.97 kB / 0.6855 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1612, allocations: 0 / 0.6855 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.1612, allocations: 35.92 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.1614, allocations: 4 kB / 0.6855 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1627, allocations: 1.275 MB / 0.6868 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1629, allocations: 0.6806 MB / 0.6875 GB, free: 8.707 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.163, allocations: 15.98 kB / 0.6875 GB, free: 8.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.1631, allocations: 15.44 kB / 0.6875 GB, free: 8.676 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1631, allocations: 0 / 0.6875 GB, free: 8.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.1804, allocations: 1.625 MB / 0.6891 GB, free: 7.238 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.194, allocations: 10.28 kB / 0.6891 GB, free: 7.234 MB / 494.1 MB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)