Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.569/1.569, allocations: 288.4 MB / 303.6 MB, free: 8.074 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.0009366/0.0009367, allocations: 198.8 kB / 372.3 MB, free: 10.14 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.595/1.595, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0008009/0.0008007, allocations: 94.22 kB / 0.7444 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 12.56 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00124/0.2257, allocations: 0.9706 MB / 0.9812 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004477/0.2262, allocations: 219.5 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.2262, allocations: 3.938 kB / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.2263, allocations: 0 / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.804e-05/0.2263, allocations: 0 / 0.9814 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.2266, allocations: 47.81 kB / 0.9814 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.2267, allocations: 12 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.2267, allocations: 3.984 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.261e-05/0.2268, allocations: 7.938 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.897e-05/0.2268, allocations: 15.92 kB / 0.9815 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.2269, allocations: 0 / 0.9815 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.697e-05/0.227, allocations: 39.97 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.227, allocations: 7.969 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.227, allocations: 37.64 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.996e-05/0.2271, allocations: 28.19 kB / 0.9816 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.2271, allocations: 4 kB / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2271, allocations: 0 / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2272, allocations: 0 / 0.9816 GB, free: 25.85 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.0003252/0.2275, allocations: 331.6 kB / 0.9819 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2275, allocations: 8.031 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.532e-05/0.2276, allocations: 30.75 kB / 0.9819 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.2277, allocations: 12.92 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.218e-05/0.2278, allocations: 164.4 kB / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.2278, allocations: 384 / 0.9821 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2278, allocations: 12.28 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.228, allocations: 42.25 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.228, allocations: 3.938 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.228, allocations: 0 / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.228, allocations: 0 / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.2281, allocations: 19.92 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.2282, allocations: 165.7 kB / 0.9823 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.2283, allocations: 38.58 kB / 0.9824 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.2283, allocations: 28.95 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.2284, allocations: 3.938 kB / 0.9824 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.2284, allocations: 34.56 kB / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 9.01e-07/0.2284, allocations: 0 / 0.9824 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001843/0.2302, allocations: 0.498 MB / 0.9829 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.2303, allocations: 51.41 kB / 0.983 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.734e-05/0.2303, allocations: 89.86 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2303, allocations: 33.7 kB / 0.9831 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.473e-05/0.2303, allocations: 84.14 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.2304, allocations: 31.55 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/0.2304, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.109e-05/0.2304, allocations: 310.8 kB / 0.9835 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.939e-05/0.2305, allocations: 27.98 kB / 0.9835 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.335e-05/0.2305, allocations: 23.94 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.2307, allocations: 56.8 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2307, allocations: 3.984 kB / 0.9836 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001259/0.2308, allocations: 93.62 kB / 0.9837 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.2308, allocations: 8 kB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2308, allocations: 0 / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2308, allocations: 0 / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.231, allocations: 15.94 kB / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.231, allocations: 0 / 0.9837 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.2311, allocations: 4 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.2311, allocations: 0 / 0.9837 GB, free: 23.38 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 6.41e-05/0.2312, allocations: 123.3 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.2312, allocations: 3.938 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.2312, allocations: 15.97 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2312, allocations: 4 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2312, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2312, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.753e-05/0.2313, allocations: 179.3 kB / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2314, allocations: 0 / 0.984 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.2315, allocations: 15.94 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2315, allocations: 3.938 kB / 0.984 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2315, allocations: 4 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2315, allocations: 7.922 kB / 0.984 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2315, allocations: 4 kB / 0.984 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.2317, allocations: 141.3 kB / 0.9842 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.077e-05/0.2318, allocations: 81.05 kB / 0.9843 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.2318, allocations: 7.938 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2319, allocations: 4.031 kB / 0.9843 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.2319, allocations: 7.984 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.2319, allocations: 448 / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.333e-05/0.232, allocations: 83.34 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.232, allocations: 0 / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000177/0.2321, allocations: 12 kB / 0.9844 GB, free: 22.61 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.0003625/0.2325, allocations: 0.6865 MB / 0.985 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.2326, allocations: 64.14 kB / 0.9851 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2327, allocations: 4.062 kB / 0.9851 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.2327, allocations: 31.97 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.2329, allocations: 8 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000742/0.2337, allocations: 470.7 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.2338, allocations: 0.6809 MB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.025e-05/0.2339, allocations: 12 kB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.2339, allocations: 11.44 kB / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of SimCode: time 3.01e-07/0.2339, allocations: 0 / 0.9863 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01184/0.2458, allocations: 1.408 MB / 0.9877 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.246, allocations: 254.2 kB / 0.9879 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/1.866, allocations: 0 / 0.9879 GB, free: 19.04 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)