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.001022/0.001022, 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.001042/0.001042, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.305/1.305, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.656/1.656, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001488/0.001488, allocations: 68.84 kB / 0.6716 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.197, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002098/0.1991, allocations: 1.247 MB / 0.7847 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004195/0.1995, allocations: 235.2 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.1996, allocations: 4 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.1996, allocations: 7.875 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.1996, allocations: 0 / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1999, allocations: 43.81 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.092e-05/0.2, allocations: 15.94 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.2, allocations: 7.984 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.181e-05/0.2, allocations: 7.984 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.2001, allocations: 15.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.2001, allocations: 4 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.2002, allocations: 39.97 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.2002, allocations: 3.984 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.2003, allocations: 8 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.2004, allocations: 48.11 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2004, allocations: 0 / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2004, allocations: 0 / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2004, allocations: 0 / 0.7851 GB, free: 11.67 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.0003217/0.2007, allocations: 331.6 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.2008, allocations: 16.03 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.95e-05/0.2008, allocations: 34.75 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.2009, allocations: 8.922 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/0.201, allocations: 164.4 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.201, allocations: 4.359 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.2011, allocations: 8.219 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2012, allocations: 50.25 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2012, allocations: 3.938 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2012, allocations: 0 / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2012, allocations: 4 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.2013, allocations: 15.98 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.2014, allocations: 153.7 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.847e-05/0.2015, allocations: 38.64 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.737e-05/0.2015, allocations: 28.91 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2015, allocations: 4 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2016, allocations: 38.5 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.2016, allocations: 0 / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.001931/0.2035, allocations: 0.498 MB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.2035, allocations: 51.41 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.806e-05/0.2036, allocations: 89.86 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2036, allocations: 25.7 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.2036, allocations: 80.14 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.2037, allocations: 27.56 kB / 0.7867 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.2037, allocations: 25.7 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.909e-05/0.2038, allocations: 314.8 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.726e-05/0.2039, allocations: 31.92 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.817e-05/0.2039, allocations: 23.94 kB / 0.7871 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.204, allocations: 56.84 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.204, allocations: 0 / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001367/0.2041, allocations: 97.56 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2042, allocations: 4 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2042, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2042, allocations: 4 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2043, allocations: 12.44 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.2043, allocations: 8.047 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.2044, allocations: 4 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.2044, allocations: 4 kB / 0.7873 GB, free: 9.164 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 6.542e-05/0.2045, allocations: 114.5 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.526e-05/0.2045, allocations: 3.938 kB / 0.7874 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.2046, allocations: 23.91 kB / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2046, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2046, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2046, allocations: 0 / 0.7874 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.2047, allocations: 175.5 kB / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2047, allocations: 0 / 0.7876 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.2049, allocations: 23.92 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2049, allocations: 4.281 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.2049, allocations: 4 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2049, allocations: 0 / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2049, allocations: 7.875 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.2051, allocations: 145 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.2052, allocations: 85.08 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2052, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.2053, allocations: 12.05 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.2053, allocations: 0 / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2053, allocations: 11.98 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.2054, allocations: 75.28 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2054, allocations: 0 / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001846/0.2056, allocations: 12 kB / 0.788 GB, free: 8.375 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.0004166/0.206, allocations: 0.6904 MB / 0.7886 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.2061, allocations: 63.97 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.2061, allocations: 0 / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.306e-05/0.2062, allocations: 31.92 kB / 0.7887 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2064, allocations: 13.5 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.2076, allocations: 1.259 MB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2078, allocations: 0.6807 MB / 0.7906 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.042e-05/0.2079, allocations: 15.98 kB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.208, allocations: 15.44 kB / 0.7907 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.208, allocations: 0 / 0.7907 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.225, allocations: 1.611 MB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.441/7.666, allocations: 12.45 kB / 0.7923 GB, free: 4.031 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --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)