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.001239/0.001239, allocations: 101.4 kB / 15.7 MB, free: 28 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.001252/0.001253, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.436/1.436, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.657/1.657, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001442/0.001442, allocations: 69.75 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2097, allocations: 114.6 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.002077/0.2118, allocations: 1.25 MB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004167/0.2122, allocations: 235.2 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.616e-05/0.2122, allocations: 0 / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.2123, allocations: 8 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.2123, allocations: 3.938 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.2125, allocations: 43.81 kB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.2126, allocations: 15.98 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.2126, allocations: 0 / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.2127, allocations: 8 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.2127, allocations: 15.91 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.2128, allocations: 7.938 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.2129, allocations: 43.95 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.848e-06/0.2129, allocations: 4 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.374e-05/0.2129, allocations: 11.94 kB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.213, allocations: 44.11 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.213, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.213, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.2131, allocations: 4 kB / 0.7853 GB, free: 11.57 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.0003493/0.2134, allocations: 331.6 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2134, allocations: 8.031 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.2135, allocations: 30.75 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.2136, allocations: 16.92 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.678e-05/0.2137, allocations: 160.4 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2137, allocations: 8.375 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.2137, allocations: 4.281 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2139, allocations: 46.19 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.2139, allocations: 3.938 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2139, allocations: 0 / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.2139, allocations: 7.938 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.2139, allocations: 11.98 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.2141, allocations: 169.7 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.86e-05/0.2142, allocations: 42.62 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.12e-05/0.2142, allocations: 16.98 kB / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2142, allocations: 0 / 0.7861 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2142, allocations: 34.56 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.2143, allocations: 4 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.001788/0.216, allocations: 0.4902 MB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2161, allocations: 59.41 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.926e-05/0.2161, allocations: 93.86 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2161, allocations: 25.7 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.2162, allocations: 84.12 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-05/0.2162, allocations: 31.55 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.2163, allocations: 17.72 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.2163, allocations: 314.8 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.2164, allocations: 23.98 kB / 0.7873 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.654e-05/0.2164, allocations: 23.98 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.279e-05/0.2165, allocations: 68.92 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2165, allocations: 0 / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001295/0.2167, allocations: 93.62 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2167, allocations: 4 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2167, allocations: 80 / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.2167, allocations: 3.938 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2168, allocations: 15.98 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2169, allocations: 3.984 kB / 0.7875 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.2169, allocations: 4.438 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.2169, allocations: 0 / 0.7875 GB, free: 9.066 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.283e-05/0.217, allocations: 118.5 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.217, allocations: 7.922 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.2171, allocations: 11.97 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2171, allocations: 8 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2171, allocations: 3.938 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2171, allocations: 0 / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2172, allocations: 175.3 kB / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2172, allocations: 0 / 0.7878 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2174, allocations: 23.86 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2174, allocations: 4 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2174, allocations: 0 / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2174, allocations: 4 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2174, allocations: 0 / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.2176, allocations: 145 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.2177, allocations: 85.05 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.2177, allocations: 4.031 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.2178, allocations: 4.047 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.2178, allocations: 8 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.2178, allocations: 4 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.123e-05/0.2179, allocations: 75.28 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2179, allocations: 96 / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001823/0.218, allocations: 15.94 kB / 0.7881 GB, free: 8.277 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.0004256/0.2185, allocations: 0.6943 MB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.2186, allocations: 55.92 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2186, allocations: 0 / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.917e-05/0.2187, allocations: 39.97 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.2189, allocations: 6.656 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2201, allocations: 1.263 MB / 0.7901 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.2203, allocations: 0.6807 MB / 0.7908 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.965e-05/0.2204, allocations: 12 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.2204, allocations: 15.81 kB / 0.7908 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2204, allocations: 0 / 0.7908 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01659/0.237, allocations: 1.635 MB / 0.7924 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.011/7.248, allocations: 8.875 kB / 0.7924 GB, free: 3.926 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)