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.007196/0.007196, allocations: 96.84 kB / 15.73 MB, free: 6.039 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.001878/0.001878, allocations: 204.7 kB / 16.68 MB, free: 5.961 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.474/1.474, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002387/0.002387, allocations: 282.2 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 96.62 kB / 0.6943 GB, free: 3.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5966/0.5992, allocations: 89.15 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002519/0.6018, allocations: 1.294 MB / 0.7826 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.603, allocations: 0.6365 MB / 0.7832 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.891e-05/0.603, allocations: 4 kB / 0.7833 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.6031, allocations: 1.484 kB / 0.7833 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.6031, allocations: 9.656 kB / 0.7833 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.6036, allocations: 104 kB / 0.7834 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.6037, allocations: 26.83 kB / 0.7834 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.45e-05/0.6038, allocations: 3.828 kB / 0.7834 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.848e-05/0.6038, allocations: 10.17 kB / 0.7834 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.536e-05/0.6039, allocations: 11.8 kB / 0.7834 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.6039, allocations: 5.156 kB / 0.7834 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.6042, allocations: 147.1 kB / 0.7836 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.6043, allocations: 6.297 kB / 0.7836 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.6043, allocations: 9.391 kB / 0.7836 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.6045, allocations: 99.48 kB / 0.7837 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6046, allocations: 3.938 kB / 0.7837 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6046, allocations: 0 / 0.7837 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6046, allocations: 1.281 kB / 0.7837 GB, free: 12.36 MB / 0.5606 GB 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.0005484/0.6051, allocations: 359.2 kB / 0.784 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6052, allocations: 12.69 kB / 0.784 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.6052, allocations: 36.91 kB / 0.7841 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.6056, allocations: 27.44 kB / 0.7841 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.6058, allocations: 163.1 kB / 0.7842 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.6058, allocations: 384 / 0.7842 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.6059, allocations: 7 kB / 0.7843 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.6061, allocations: 57.97 kB / 0.7843 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6061, allocations: 5.219 kB / 0.7843 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.6061, allocations: 4 kB / 0.7843 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6061, allocations: 2.406 kB / 0.7843 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.6063, allocations: 29.08 kB / 0.7843 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/0.6065, allocations: 160.6 kB / 0.7845 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.6068, allocations: 76.12 kB / 0.7846 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.6069, allocations: 24.47 kB / 0.7846 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.6069, allocations: 1.734 kB / 0.7846 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.607, allocations: 40.17 kB / 0.7846 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.607, allocations: 0 / 0.7846 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.003529/0.6105, allocations: 0.5676 MB / 0.7852 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.6106, allocations: 53.27 kB / 0.7852 GB, free: 11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.998e-05/0.6107, allocations: 97.7 kB / 0.7853 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.6107, allocations: 26.7 kB / 0.7854 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.61e-05/0.6108, allocations: 86.06 kB / 0.7854 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.6109, allocations: 19.36 kB / 0.7855 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.249e-05/0.6109, allocations: 27.08 kB / 0.7855 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.6111, allocations: 316.2 kB / 0.7858 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.6113, allocations: 39.59 kB / 0.7858 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.6114, allocations: 46.17 kB / 0.7859 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.6118, allocations: 83 kB / 0.7859 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.6118, allocations: 0 / 0.7859 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003917/0.6122, allocations: 122.3 kB / 0.7861 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.6122, allocations: 4.625 kB / 0.7861 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.6122, allocations: 1.406 kB / 0.7861 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6122, allocations: 0 / 0.7861 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.6125, allocations: 23.05 kB / 0.7861 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.6125, allocations: 8 kB / 0.7861 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.6126, allocations: 14.53 kB / 0.7861 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.6126, allocations: 4.906 kB / 0.7861 GB, free: 10.29 MB / 0.5606 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 0.0001177/0.6128, allocations: 109 kB / 0.7862 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.6128, allocations: 10.83 kB / 0.7862 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.925e-05/0.6129, allocations: 13.77 kB / 0.7862 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6129, allocations: 0 / 0.7862 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6129, allocations: 1.344 kB / 0.7862 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6129, allocations: 0.5156 kB / 0.7862 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.6132, allocations: 193.9 kB / 0.7864 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6132, allocations: 1.281 kB / 0.7864 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.6134, allocations: 26.91 kB / 0.7865 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.6134, allocations: 0 / 0.7865 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.6135, allocations: 7.219 kB / 0.7865 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.6135, allocations: 1.891 kB / 0.7865 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6135, allocations: 3.938 kB / 0.7865 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006074/0.6141, allocations: 192.6 kB / 0.7867 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.6142, allocations: 82.97 kB / 0.7867 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.6142, allocations: 4.797 kB / 0.7867 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.6144, allocations: 10.27 kB / 0.7867 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.6144, allocations: 3.766 kB / 0.7868 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.6144, allocations: 5.359 kB / 0.7868 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.6145, allocations: 81.7 kB / 0.7868 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6145, allocations: 0 / 0.7868 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000286/0.6148, allocations: 36.06 kB / 0.7869 GB, free: 9.617 MB / 0.5606 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.00115/0.6159, allocations: 0.7522 MB / 0.7876 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.6164, allocations: 84.84 kB / 0.7877 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6164, allocations: 4.062 kB / 0.7877 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.6166, allocations: 55.42 kB / 0.7877 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.6169, allocations: 9.438 kB / 0.7877 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.6196, allocations: 1.351 MB / 0.7891 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.6201, allocations: 0.6857 MB / 0.7897 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001726/0.6202, allocations: 34.12 kB / 0.7898 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.152e-05/0.6203, allocations: 16.92 kB / 0.7898 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.6203, allocations: 4 kB / 0.7898 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.6491, allocations: 2.502 MB / 0.7922 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.049/8.698, allocations: 7.688 kB / 0.7922 GB, free: 6.625 MB / 0.5606 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)