Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001112/0.001112, 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.001251/0.001252, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.432/1.432, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.05/1.05, allocations: 143 MB / 433.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 72.02 kB / 0.5143 GB, free: 11.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1711, allocations: 82.04 MB / 0.5944 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002717/0.1739, allocations: 1.252 MB / 0.5956 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000519/0.1744, allocations: 235.2 kB / 0.5959 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.1745, allocations: 4 kB / 0.5959 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.674e-05/0.1745, allocations: 0 / 0.5959 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.1746, allocations: 7.922 kB / 0.5959 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1749, allocations: 43.81 kB / 0.5959 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.354e-05/0.1749, allocations: 8 kB / 0.5959 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.175, allocations: 4 kB / 0.5959 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.175, allocations: 15.98 kB / 0.5959 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.848e-05/0.1751, allocations: 7.938 kB / 0.5959 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1751, allocations: 0 / 0.5959 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.1752, allocations: 51.95 kB / 0.596 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.1753, allocations: 7.969 kB / 0.596 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.465e-05/0.1753, allocations: 7.938 kB / 0.596 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1754, allocations: 40.17 kB / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1754, allocations: 0 / 0.596 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.086e-06/0.1754, allocations: 4 kB / 0.596 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.1754, allocations: 0 / 0.596 GB, free: 7.828 MB / 0.4981 GB 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.0004273/0.1759, allocations: 342.8 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1759, allocations: 8.031 kB / 0.5964 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.176, allocations: 34.73 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1761, allocations: 8.938 kB / 0.5964 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1762, allocations: 164.4 kB / 0.5966 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1763, allocations: 8.312 kB / 0.5966 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.1763, allocations: 4.375 kB / 0.5966 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1764, allocations: 46.25 kB / 0.5966 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1764, allocations: 3.938 kB / 0.5966 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1765, allocations: 3.938 kB / 0.5966 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1765, allocations: 4 kB / 0.5966 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.1765, allocations: 19.92 kB / 0.5967 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.1767, allocations: 157.7 kB / 0.5968 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1768, allocations: 42.56 kB / 0.5969 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1769, allocations: 24.97 kB / 0.5969 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.517e-06/0.1769, allocations: 0 / 0.5969 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1769, allocations: 30.56 kB / 0.5969 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.1769, allocations: 4 kB / 0.5969 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002085/0.179, allocations: 0.4905 MB / 0.5974 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.1791, allocations: 59.39 kB / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.293e-05/0.1791, allocations: 89.86 kB / 0.5975 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.1792, allocations: 29.7 kB / 0.5976 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/0.1792, allocations: 80.14 kB / 0.5976 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.1792, allocations: 31.55 kB / 0.5977 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.1793, allocations: 25.7 kB / 0.5977 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1794, allocations: 310.8 kB / 0.598 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.881e-05/0.1795, allocations: 24.11 kB / 0.598 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.1795, allocations: 28 kB / 0.598 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001097/0.1797, allocations: 64.78 kB / 0.5981 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1797, allocations: 0 / 0.5981 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001621/0.1798, allocations: 93.75 kB / 0.5982 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1799, allocations: 6.656 kB / 0.5982 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1799, allocations: 0 / 0.5982 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1799, allocations: 7.984 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1801, allocations: 15.94 kB / 0.5982 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.1801, allocations: 0 / 0.5982 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.1801, allocations: 8 kB / 0.5982 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1802, allocations: 0 / 0.5982 GB, free: 5.316 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 8.394e-05/0.1802, allocations: 117.8 kB / 0.5983 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.1803, allocations: 3.938 kB / 0.5983 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.061e-05/0.1803, allocations: 11.97 kB / 0.5984 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.1803, allocations: 4 kB / 0.5984 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1804, allocations: 4 kB / 0.5984 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.1804, allocations: 0 / 0.5984 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1805, allocations: 175.5 kB / 0.5985 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1805, allocations: 0 / 0.5985 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.1807, allocations: 15.94 kB / 0.5985 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1807, allocations: 0 / 0.5985 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1807, allocations: 3.984 kB / 0.5986 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1807, allocations: 7.938 kB / 0.5986 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1807, allocations: 0 / 0.5986 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.181, allocations: 149 kB / 0.5987 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.181, allocations: 81.05 kB / 0.5988 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.1811, allocations: 4.031 kB / 0.5988 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1812, allocations: 4 kB / 0.5988 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.1812, allocations: 7.984 kB / 0.5988 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-06/0.1812, allocations: 4 kB / 0.5988 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.042e-05/0.1813, allocations: 75.28 kB / 0.5989 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1813, allocations: 0 / 0.5989 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001958/0.1815, allocations: 12 kB / 0.5989 GB, free: 4.547 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.0005526/0.182, allocations: 0.6828 MB / 0.5995 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1822, allocations: 67.94 kB / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1822, allocations: 0 / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.1823, allocations: 35.98 kB / 0.5996 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1826, allocations: 8.062 kB / 0.5997 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.184, allocations: 1.267 MB / 0.6009 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.1842, allocations: 0.6845 MB / 0.6016 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.347e-05/0.1843, allocations: 11.98 kB / 0.6016 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.667e-05/0.1843, allocations: 7.438 kB / 0.6016 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1844, allocations: 0 / 0.6016 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01997/0.2043, allocations: 1.626 MB / 0.6032 GB, free: 204 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.768, allocations: 12.05 kB / 0.6032 GB, free: 196 kB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)