Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.182/2.182, allocations: 248.5 MB / 261 MB, free: 6.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 190 kB / 320.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.2 MB / 0.5711 GB, free: 11.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 101.4 kB / 0.6754 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.872e-05/3.89e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2022, allocations: 106.3 MB / 0.8907 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8452/1.047, allocations: 131.7 MB / 1.019 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/1.048, allocations: 85.98 kB / 1.019 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008295/1.056, allocations: 1.836 MB / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/1.056, allocations: 0 / 1.021 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.672e-06/1.056, allocations: 0 / 1.021 GB, free: 1.598 MB / 0.6355 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.0003832/1.057, allocations: 337.1 kB / 1.021 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.057, allocations: 12.03 kB / 1.021 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/1.057, allocations: 30.56 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/1.057, allocations: 15.94 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/1.057, allocations: 167 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/1.057, allocations: 2.062 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/1.057, allocations: 0 / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/1.057, allocations: 48.56 kB / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.057, allocations: 0 / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/1.057, allocations: 0 / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.057, allocations: 0 / 1.022 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/1.057, allocations: 11.5 kB / 1.022 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000194/1.058, allocations: 172.6 kB / 1.022 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/1.058, allocations: 47.19 kB / 1.022 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/1.058, allocations: 19.42 kB / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/1.058, allocations: 0 / 1.022 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/1.058, allocations: 42.48 kB / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/1.058, allocations: 0 / 1.022 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.00324/1.061, allocations: 481.2 kB / 1.022 GB, free: 104 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/1.061, allocations: 51.41 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/1.061, allocations: 88.94 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.061, allocations: 29.7 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/1.061, allocations: 83.7 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/1.061, allocations: 31.42 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-06/1.061, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.062, allocations: 318.8 kB / 1.023 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/1.062, allocations: 26.56 kB / 1.023 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/1.062, allocations: 18.94 kB / 1.023 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.597e-05/1.062, allocations: 25.98 kB / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.062, allocations: 0 / 1.023 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002353/1.062, allocations: 90.75 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.062, allocations: 4 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/1.062, allocations: 4 kB / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/1.062, allocations: 0 / 1.023 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/1.062, allocations: 23.17 kB / 1.023 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.062, allocations: 0 / 1.023 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/1.063, allocations: 0 / 1.023 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/1.063, allocations: 4 kB / 1.023 GB, free: 15.33 MB / 0.6511 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 () * 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 9.024e-05/1.063, allocations: 108.2 kB / 1.023 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/1.063, allocations: 11.91 kB / 1.023 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.431e-05/1.063, allocations: 14.09 kB / 1.023 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/1.063, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.063, allocations: 3.938 kB / 1.023 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.063, allocations: 288 / 1.023 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/1.063, allocations: 193 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.063, allocations: 4 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/1.063, allocations: 15.92 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/1.063, allocations: 4 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.063, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/1.063, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.063, allocations: 7.938 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003689/1.064, allocations: 141.7 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/1.064, allocations: 81.02 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/1.064, allocations: 15.52 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/1.064, allocations: 0 / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/1.064, allocations: 4 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/1.064, allocations: 4.062 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.298e-05/1.064, allocations: 79.28 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/1.064, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002532/1.064, allocations: 15.3 kB / 1.024 GB, free: 14.61 MB / 0.6511 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 () * 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.0006816/1.065, allocations: 0.6856 MB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002179/1.065, allocations: 59.88 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.065, allocations: 3.875 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.573e-05/1.065, allocations: 30.62 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/1.066, allocations: 3.188 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007945/1.066, allocations: 156.7 kB / 1.025 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/1.067, allocations: 0.6809 MB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001739/1.067, allocations: 8.188 kB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.227e-05/1.067, allocations: 11.44 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/1.067, allocations: 0 / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/1.088, allocations: 1.405 MB / 1.027 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/1.088, allocations: 211.2 kB / 1.027 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.478, allocations: 4 kB / 1.027 GB, free: 11.51 MB / 0.6511 GB