Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001362/0.001361, 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.001267/0.001267, allocations: 192.7 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002368/0.002368, allocations: 289.4 kB / 290.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5073 GB, free: 4.531 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002665/0.002665, allocations: 102.2 kB / 0.6066 GB, free: 24.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1705, allocations: 89.14 MB / 0.6936 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002438/0.173, allocations: 1.286 MB / 0.6949 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1741, allocations: 0.6462 MB / 0.6955 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.1741, allocations: 0 / 0.6955 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1742, allocations: 0 / 0.6955 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.722e-05/0.1742, allocations: 3.938 kB / 0.6955 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.1746, allocations: 103.5 kB / 0.6956 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.1747, allocations: 36.58 kB / 0.6956 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1747, allocations: 0 / 0.6956 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.918e-05/0.1748, allocations: 13.52 kB / 0.6957 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.1749, allocations: 15.97 kB / 0.6957 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.1749, allocations: 3.938 kB / 0.6957 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.1752, allocations: 139.8 kB / 0.6958 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.1752, allocations: 8.625 kB / 0.6958 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.1752, allocations: 8 kB / 0.6958 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.1754, allocations: 100 kB / 0.6959 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1754, allocations: 0 / 0.6959 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1754, allocations: 0 / 0.6959 GB, free: 1.832 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1754, allocations: 0 / 0.6959 GB, free: 1.832 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004954/0.1759, allocations: 359.4 kB / 0.6963 GB, free: 1.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.176, allocations: 8.031 kB / 0.6963 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.176, allocations: 30.75 kB / 0.6963 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/0.1764, allocations: 40.8 kB / 0.6963 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1766, allocations: 164.3 kB / 0.6965 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1766, allocations: 384 / 0.6965 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.1766, allocations: 8.375 kB / 0.6965 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.1768, allocations: 54.2 kB / 0.6966 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1768, allocations: 3.938 kB / 0.6966 GB, free: 1.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1768, allocations: 4 kB / 0.6966 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1768, allocations: 4 kB / 0.6966 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.177, allocations: 31.84 kB / 0.6966 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.1772, allocations: 165.7 kB / 0.6968 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.1775, allocations: 66.53 kB / 0.6968 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.1776, allocations: 28.94 kB / 0.6968 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1776, allocations: 0 / 0.6968 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.1777, allocations: 34.56 kB / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1777, allocations: 0 / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003394/0.1811, allocations: 0.5797 MB / 0.6974 GB, free: 44 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.1812, allocations: 51.41 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.341e-05/0.1812, allocations: 97.86 kB / 0.6976 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1813, allocations: 25.7 kB / 0.6976 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.1813, allocations: 80.27 kB / 0.6977 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.1814, allocations: 27.7 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.1814, allocations: 25.7 kB / 0.6977 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1816, allocations: 310.8 kB / 0.698 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.1817, allocations: 39.97 kB / 0.6981 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1819, allocations: 35.95 kB / 0.6981 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.1821, allocations: 84.81 kB / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1822, allocations: 0 / 0.6982 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003718/0.1825, allocations: 133.6 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1826, allocations: 7.984 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1826, allocations: 0 / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1826, allocations: 0 / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1828, allocations: 23.97 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1828, allocations: 64 / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.183, allocations: 8 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.183, allocations: 7.984 kB / 0.6984 GB, free: 15.05 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 (7): * Single equations (assignments): 7 * 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 9.349e-05/0.1831, allocations: 113.8 kB / 0.6985 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.1832, allocations: 15.78 kB / 0.6985 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.1832, allocations: 11.91 kB / 0.6985 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.1832, allocations: 0 / 0.6985 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1832, allocations: 4 kB / 0.6985 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1832, allocations: 4 kB / 0.6985 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.1834, allocations: 179.7 kB / 0.6987 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1834, allocations: 0 / 0.6987 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.1837, allocations: 32.17 kB / 0.6987 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1837, allocations: 0 / 0.6987 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1837, allocations: 7.984 kB / 0.6987 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1837, allocations: 0 / 0.6987 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1837, allocations: 0 / 0.6987 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.1843, allocations: 193 kB / 0.6989 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.189e-05/0.1843, allocations: 84.95 kB / 0.699 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1844, allocations: 4.031 kB / 0.699 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.1846, allocations: 12.05 kB / 0.699 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.1846, allocations: 8 kB / 0.699 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.1846, allocations: 7.984 kB / 0.699 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.1847, allocations: 75.28 kB / 0.6991 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1847, allocations: 0 / 0.6991 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002477/0.1849, allocations: 31.94 kB / 0.6991 GB, free: 14.18 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 (6): * Single equations (assignments): 6 * 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.0009642/0.1859, allocations: 0.7609 MB / 0.6999 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.1862, allocations: 87.86 kB / 0.6999 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1863, allocations: 0 / 0.6999 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1864, allocations: 44.08 kB / 0.7 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1867, allocations: 17.88 kB / 0.7 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.1888, allocations: 1.345 MB / 0.7013 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.1892, allocations: 0.6768 MB / 0.702 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.1894, allocations: 39.8 kB / 0.702 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.1895, allocations: 15.42 kB / 0.702 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1895, allocations: 0 / 0.702 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.2143, allocations: 2.489 MB / 0.7045 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.519/7.734, allocations: 8.625 kB / 0.7045 GB, free: 8.762 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_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_SaturationPressureDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)