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.00519/0.005191, allocations: 102.8 kB / 15.74 MB, free: 5.551 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.001218/0.001218, allocations: 195.6 kB / 16.67 MB, free: 5.48 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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 0.9568/0.9568, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002364, allocations: 65.22 kB / 0.5951 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1796/0.182, allocations: 82.04 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002418/0.1845, allocations: 1.257 MB / 0.6764 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0005784/0.1851, allocations: 235.6 kB / 0.6766 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.1851, allocations: 4 kB / 0.6766 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1852, allocations: 0 / 0.6766 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.1852, allocations: 7.922 kB / 0.6767 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1856, allocations: 47.75 kB / 0.6767 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.1857, allocations: 12 kB / 0.6767 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.1857, allocations: 7.984 kB / 0.6767 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.1858, allocations: 8 kB / 0.6767 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.346e-05/0.1858, allocations: 7.984 kB / 0.6767 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.1859, allocations: 7.938 kB / 0.6767 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.186, allocations: 39.97 kB / 0.6768 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.186, allocations: 7.969 kB / 0.6768 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.186, allocations: 8 kB / 0.6768 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1862, allocations: 40.11 kB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1862, allocations: 0 / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.166e-06/0.1862, allocations: 4 kB / 0.6768 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.1862, allocations: 3.938 kB / 0.6768 GB, free: 9.145 MB / 0.5137 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.0004304/0.1867, allocations: 343.4 kB / 0.6772 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1867, allocations: 11.97 kB / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1868, allocations: 30.75 kB / 0.6772 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1869, allocations: 12.92 kB / 0.6772 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.187, allocations: 164.4 kB / 0.6774 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1871, allocations: 4.375 kB / 0.6774 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.1871, allocations: 384 / 0.6774 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.1872, allocations: 46.25 kB / 0.6774 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1873, allocations: 3.938 kB / 0.6774 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1873, allocations: 4 kB / 0.6774 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.1873, allocations: 4 kB / 0.6774 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.1e-05/0.1873, allocations: 19.92 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.1875, allocations: 157.6 kB / 0.6776 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.447e-05/0.1876, allocations: 38.64 kB / 0.6776 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.229e-05/0.1877, allocations: 24.97 kB / 0.6777 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1877, allocations: 4 kB / 0.6777 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1877, allocations: 34.56 kB / 0.6777 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1877, allocations: 0 / 0.6777 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.002139/0.1899, allocations: 0.4942 MB / 0.6782 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1899, allocations: 59.34 kB / 0.6782 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.104e-05/0.19, allocations: 89.86 kB / 0.6783 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.19, allocations: 25.7 kB / 0.6784 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.19, allocations: 80.14 kB / 0.6784 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.1901, allocations: 31.73 kB / 0.6785 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1901, allocations: 25.7 kB / 0.6785 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1902, allocations: 318.8 kB / 0.6788 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.568e-05/0.1903, allocations: 19.98 kB / 0.6788 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.1903, allocations: 20 kB / 0.6788 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.1905, allocations: 61.03 kB / 0.6789 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1905, allocations: 3.938 kB / 0.6789 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000149/0.1906, allocations: 101.5 kB / 0.679 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1906, allocations: 4 kB / 0.679 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1906, allocations: 0 / 0.679 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1907, allocations: 4 kB / 0.679 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1908, allocations: 19.92 kB / 0.679 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1908, allocations: 0 / 0.679 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.1909, allocations: 4 kB / 0.679 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1909, allocations: 0 / 0.679 GB, free: 6.633 MB / 0.5137 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.955e-05/0.191, allocations: 114.5 kB / 0.6791 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.191, allocations: 3.938 kB / 0.6791 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.1911, allocations: 11.97 kB / 0.6791 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1911, allocations: 4 kB / 0.6791 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1911, allocations: 4 kB / 0.6791 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1911, allocations: 3.984 kB / 0.6791 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.1913, allocations: 175.5 kB / 0.6793 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1913, allocations: 0 / 0.6793 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.1914, allocations: 19.92 kB / 0.6793 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1914, allocations: 0 / 0.6793 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1914, allocations: 8 kB / 0.6793 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1915, allocations: 0 / 0.6793 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1915, allocations: 3.938 kB / 0.6793 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1917, allocations: 153.1 kB / 0.6795 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.1918, allocations: 81.05 kB / 0.6796 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.1918, allocations: 7.969 kB / 0.6796 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1919, allocations: 8.422 kB / 0.6796 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.793e-05/0.1919, allocations: 0 / 0.6796 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.192, allocations: 4 kB / 0.6796 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.192, allocations: 79.28 kB / 0.6797 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.192, allocations: 0 / 0.6797 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002082/0.1922, allocations: 12.06 kB / 0.6797 GB, free: 5.855 MB / 0.5137 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.0005253/0.1927, allocations: 0.6905 MB / 0.6804 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1929, allocations: 55.92 kB / 0.6804 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1929, allocations: 0 / 0.6804 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.374e-05/0.193, allocations: 35.98 kB / 0.6804 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1933, allocations: 12.06 kB / 0.6804 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.1949, allocations: 1.275 MB / 0.6817 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1952, allocations: 0.6807 MB / 0.6824 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.007e-05/0.1953, allocations: 4 kB / 0.6824 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.1954, allocations: 15.44 kB / 0.6824 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.1954, allocations: 0 / 0.6824 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.2168, allocations: 1.657 MB / 0.684 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.885, allocations: 7.219 kB / 0.684 GB, free: 1.5 MB / 0.5137 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)