Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.001467/0.001468, allocations: 105.4 kB / 15.7 MB, free: 24 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.001174/0.001174, allocations: 199.9 kB / 16.64 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.786/1.786, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001399, allocations: 72.56 kB / 0.6718 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 114.5 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002597/0.2367, allocations: 1.264 MB / 0.7849 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005029/0.2373, allocations: 231.2 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.895e-05/0.2373, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2373, allocations: 0 / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.2374, allocations: 8 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.2377, allocations: 43.77 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.137e-05/0.2377, allocations: 15.98 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.2378, allocations: 0 / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.757e-05/0.2378, allocations: 11.98 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.583e-05/0.2379, allocations: 7.922 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.2379, allocations: 4 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.238, allocations: 47.95 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.2381, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.2381, allocations: 15.94 kB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.2382, allocations: 44.16 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2382, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.327e-06/0.2382, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2383, allocations: 3.938 kB / 0.7853 GB, free: 11.56 MB / 0.6075 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.0004884/0.2388, allocations: 331.6 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.2388, allocations: 8.031 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.2389, allocations: 30.75 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.239, allocations: 16.92 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2392, allocations: 160.4 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2392, allocations: 4.375 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.2392, allocations: 8.281 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.2393, allocations: 46.19 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2394, allocations: 3.938 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2394, allocations: 3.984 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2394, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.697e-05/0.2394, allocations: 15.94 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.2396, allocations: 173.6 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.656e-05/0.2397, allocations: 42.62 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.2397, allocations: 16.98 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.2398, allocations: 0 / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2398, allocations: 34.56 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.2398, allocations: 0 / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.001939/0.2418, allocations: 0.5018 MB / 0.7866 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.2418, allocations: 51.41 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.66e-05/0.2418, allocations: 97.86 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2419, allocations: 29.7 kB / 0.7868 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.2419, allocations: 80.14 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.2419, allocations: 31.55 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.242, allocations: 17.72 kB / 0.7869 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.2421, allocations: 318.8 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.213e-05/0.2421, allocations: 20 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.115e-05/0.2422, allocations: 23.98 kB / 0.7873 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.719e-05/0.2423, allocations: 56.86 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2423, allocations: 4 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001357/0.2424, allocations: 97.56 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2425, allocations: 4 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.2425, allocations: 288 / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2425, allocations: 0 / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.2426, allocations: 20.36 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2426, allocations: 3.938 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.2427, allocations: 4 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.2427, allocations: 0 / 0.7875 GB, free: 9.059 MB / 0.6075 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.921e-05/0.2428, allocations: 118.5 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.2428, allocations: 7.938 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.2429, allocations: 11.97 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2429, allocations: 0 / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2429, allocations: 11.92 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2429, allocations: 0 / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.243, allocations: 175.3 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.243, allocations: 3.984 kB / 0.7878 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2432, allocations: 15.94 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2432, allocations: 3.984 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2432, allocations: 4 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2432, allocations: 4 kB / 0.7878 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2432, allocations: 3.938 kB / 0.7878 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.2434, allocations: 141 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.094e-05/0.2435, allocations: 81.05 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.2435, allocations: 7.984 kB / 0.788 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2436, allocations: 4.031 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.834e-05/0.2436, allocations: 8.062 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.2437, allocations: 4 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.362e-05/0.2437, allocations: 75.28 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2437, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002059/0.2439, allocations: 15.98 kB / 0.7881 GB, free: 8.27 MB / 0.6075 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.0004667/0.2444, allocations: 0.6905 MB / 0.7888 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.2445, allocations: 59.92 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2445, allocations: 0 / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.086e-05/0.2446, allocations: 35.98 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.2448, allocations: 7.984 kB / 0.7889 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2461, allocations: 1.267 MB / 0.7901 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.2463, allocations: 0.6807 MB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.883e-05/0.2464, allocations: 12 kB / 0.7908 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.2464, allocations: 19.42 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2464, allocations: 0 / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.2649, allocations: 1.638 MB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.374/7.639, allocations: 12.12 kB / 0.7925 GB, free: 3.914 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)