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.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 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.001294/0.001294, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002375/0.002375, allocations: 294.4 kB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5073 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 101.3 kB / 0.6066 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.168, allocations: 89.15 MB / 0.6936 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002335/0.1703, allocations: 1.246 MB / 0.6948 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005095/0.1708, allocations: 241.9 kB / 0.6951 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.1709, allocations: 5.531 kB / 0.6951 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.1709, allocations: 0 / 0.6951 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.635e-05/0.171, allocations: 3.938 kB / 0.6951 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.1712, allocations: 48.41 kB / 0.6951 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.759e-05/0.1713, allocations: 20.61 kB / 0.6951 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.1713, allocations: 3.438 kB / 0.6951 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.1714, allocations: 11.94 kB / 0.6952 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.974e-05/0.1714, allocations: 7.984 kB / 0.6952 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.1714, allocations: 4 kB / 0.6952 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1716, allocations: 43.95 kB / 0.6952 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.1716, allocations: 7.984 kB / 0.6952 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.311e-05/0.1716, allocations: 7.938 kB / 0.6952 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.1717, allocations: 40.17 kB / 0.6953 GB, free: 2.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1717, allocations: 3.984 kB / 0.6953 GB, free: 2.496 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1717, allocations: 7.938 kB / 0.6953 GB, free: 2.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1718, allocations: 4 kB / 0.6953 GB, free: 2.484 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.0004037/0.1722, allocations: 327.6 kB / 0.6956 GB, free: 2.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1722, allocations: 8.031 kB / 0.6956 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.1723, allocations: 34.75 kB / 0.6956 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.1724, allocations: 12.92 kB / 0.6956 GB, free: 2.051 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1725, allocations: 160.4 kB / 0.6958 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1725, allocations: 4.375 kB / 0.6958 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1725, allocations: 4.375 kB / 0.6958 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.1727, allocations: 50.19 kB / 0.6959 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1727, allocations: 3.938 kB / 0.6959 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.1727, allocations: 0 / 0.6959 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1727, allocations: 4 kB / 0.6959 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.1728, allocations: 11.98 kB / 0.6959 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.1729, allocations: 161.6 kB / 0.696 GB, free: 1.566 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.1731, allocations: 50.61 kB / 0.6961 GB, free: 1.508 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.1731, allocations: 24.98 kB / 0.6961 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.095e-05/0.1731, allocations: 0 / 0.6961 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1731, allocations: 34.5 kB / 0.6961 GB, free: 1.438 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1732, allocations: 4 kB / 0.6961 GB, free: 1.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002031/0.1752, allocations: 0.4941 MB / 0.6966 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1752, allocations: 55.41 kB / 0.6967 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.328e-05/0.1753, allocations: 89.86 kB / 0.6968 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.1753, allocations: 25.7 kB / 0.6968 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.1754, allocations: 80.14 kB / 0.6969 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.1754, allocations: 35.55 kB / 0.6969 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-05/0.1755, allocations: 25.66 kB / 0.6969 GB, free: 0.543 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1756, allocations: 310.8 kB / 0.6972 GB, free: 236 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.1757, allocations: 23.98 kB / 0.6972 GB, free: 212 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.276e-05/0.1757, allocations: 23.98 kB / 0.6973 GB, free: 188 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1758, allocations: 64.78 kB / 0.6973 GB, free: 120 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1758, allocations: 0 / 0.6973 GB, free: 120 kB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001526/0.176, allocations: 97.56 kB / 0.6974 GB, free: 16 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.176, allocations: 7.938 kB / 0.6974 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.176, allocations: 4 kB / 0.6974 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.176, allocations: 0 / 0.6974 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1762, allocations: 15.98 kB / 0.6974 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1762, allocations: 0 / 0.6974 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.1763, allocations: 4 kB / 0.6974 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1763, allocations: 4 kB / 0.6974 GB, free: 15.98 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 (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.98e-05/0.1764, allocations: 109.8 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.1764, allocations: 3.938 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.1765, allocations: 15.97 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1765, allocations: 4 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.1765, allocations: 4 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1765, allocations: 3.984 kB / 0.6976 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1766, allocations: 163.5 kB / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1767, allocations: 288 / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1768, allocations: 23.86 kB / 0.6978 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1768, allocations: 0 / 0.6978 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1768, allocations: 7.938 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1768, allocations: 4 kB / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1768, allocations: 448 / 0.6978 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1771, allocations: 149 kB / 0.6979 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.1771, allocations: 81.05 kB / 0.698 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.1772, allocations: 3.984 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1773, allocations: 8.031 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.1773, allocations: 8 kB / 0.698 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.1773, allocations: 4 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.565e-05/0.1773, allocations: 79.22 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1774, allocations: 4.062 kB / 0.6981 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001841/0.1775, allocations: 8 kB / 0.6981 GB, free: 15.21 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.0005154/0.1781, allocations: 0.6828 MB / 0.6988 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001479/0.1782, allocations: 59.92 kB / 0.6988 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1782, allocations: 64 / 0.6988 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.459e-05/0.1783, allocations: 39.92 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.1785, allocations: 9.75 kB / 0.6989 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.1799, allocations: 1.271 MB / 0.7001 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1802, allocations: 0.6845 MB / 0.7008 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.017e-05/0.1803, allocations: 8 kB / 0.7008 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.1803, allocations: 15.44 kB / 0.7008 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1803, allocations: 4 kB / 0.7008 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.2038, allocations: 1.628 MB / 0.7024 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.488/7.692, allocations: 12.5 kB / 0.7024 GB, free: 10.85 MB / 0.4981 GB (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)