Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 1.709/1.709, allocations: 287.4 MB / 302.6 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001435/0.001435, allocations: 175 kB / 371.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.782/1.782, allocations: 205.4 MB / 0.6298 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008691/0.0008692, allocations: 94.28 kB / 0.7431 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 12.31 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 115.3 MB / 0.9788 GB, free: 28.06 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001193/0.2046, allocations: 0.9743 MB / 0.9797 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004105/0.2051, allocations: 223.5 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.173e-05/0.2051, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.21e-05/0.2051, allocations: 0 / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.2052, allocations: 3.938 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.2054, allocations: 39.89 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.726e-05/0.2055, allocations: 7.938 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.716e-05/0.2055, allocations: 7.984 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.2056, allocations: 8 kB / 0.98 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.2056, allocations: 15.91 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.2056, allocations: 0 / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.2057, allocations: 43.97 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.116e-05/0.2058, allocations: 3.984 kB / 0.98 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.941e-05/0.2058, allocations: 33.7 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.75e-05/0.2059, allocations: 20.2 kB / 0.9801 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2059, allocations: 4 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2059, allocations: 0 / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.2059, allocations: 4 kB / 0.9801 GB, free: 26.66 MB / 0.6198 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.0002756/0.2062, allocations: 327.6 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2062, allocations: 8.031 kB / 0.9804 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.2063, allocations: 38.73 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001175/0.2064, allocations: 4.938 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.876e-05/0.2065, allocations: 176.3 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2065, allocations: 384 / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2065, allocations: 8.281 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2066, allocations: 42.25 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2066, allocations: 3.938 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.2066, allocations: 4 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2066, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.2067, allocations: 12 kB / 0.9807 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.2068, allocations: 161.7 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.161e-05/0.2069, allocations: 50.5 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.2069, allocations: 20.97 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.207, allocations: 0 / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.207, allocations: 34.56 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.207, allocations: 3.938 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001847/0.2088, allocations: 498 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.2089, allocations: 59.39 kB / 0.9815 GB, free: 25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.055e-05/0.2089, allocations: 89.86 kB / 0.9816 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2089, allocations: 29.7 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.178e-05/0.2089, allocations: 84.14 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.209, allocations: 27.56 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.209, allocations: 3.938 kB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.407e-05/0.209, allocations: 314.8 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.2091, allocations: 23.94 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.548e-05/0.2091, allocations: 27.98 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.972e-05/0.2092, allocations: 56.86 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2092, allocations: 0 / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001247/0.2094, allocations: 93.56 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2094, allocations: 5.875 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2094, allocations: 4 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2094, allocations: 0 / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2095, allocations: 19.98 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2096, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.2096, allocations: 0 / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.2096, allocations: 4.438 kB / 0.9822 GB, free: 24.2 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.587e-05/0.2097, allocations: 117.8 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.2097, allocations: 7.938 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.2098, allocations: 15.97 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2098, allocations: 3.984 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2098, allocations: 3.984 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2098, allocations: 4 kB / 0.9824 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.461e-05/0.2099, allocations: 179.5 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2099, allocations: 288 / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.21, allocations: 15.94 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.21, allocations: 0 / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2101, allocations: 3.938 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.2101, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2101, allocations: 4 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.2103, allocations: 153 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.2103, allocations: 89.06 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.2103, allocations: 4 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2104, allocations: 4 kB / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.2105, allocations: 0 / 0.9828 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.2105, allocations: 7.984 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.029e-05/0.2105, allocations: 79.34 kB / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2105, allocations: 0 / 0.9829 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001761/0.2107, allocations: 16 kB / 0.9829 GB, free: 23.41 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003314/0.211, allocations: 0.6826 MB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.2111, allocations: 56.05 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2111, allocations: 4 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.2112, allocations: 35.92 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.2114, allocations: 5.312 kB / 0.9837 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.2121, allocations: 475 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.438e-05/0.2122, allocations: 0.6809 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.585e-05/0.2123, allocations: 12 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.2124, allocations: 15.38 kB / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.2124, allocations: 0 / 0.9848 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.2239, allocations: 1.399 MB / 0.9862 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.2242, allocations: 244.6 kB / 0.9864 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.433/1.657, allocations: 0 / 0.9864 GB, free: 19.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)