Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.204/2.204, allocations: 248.5 MB / 261.1 MB, free: 6.012 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.001481/0.001481, allocations: 182.7 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.916/1.916, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001164/0.001164, allocations: 94.41 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.23e-05/4.246e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 106.2 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8515/1.094, allocations: 132.7 MB / 1.02 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.094, allocations: 89.86 kB / 1.02 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01413/1.108, allocations: 2.847 MB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.727e-06/1.108, allocations: 3.938 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.855e-06/1.108, allocations: 3.938 kB / 1.023 GB, free: 15.71 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005/1.109, allocations: 350.3 kB / 1.023 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/1.109, allocations: 8.031 kB / 1.023 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/1.109, allocations: 34.55 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/1.109, allocations: 31.92 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.11, allocations: 159.1 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/1.11, allocations: 4 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/1.11, allocations: 3.438 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/1.11, allocations: 48.47 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.11, allocations: 7.938 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/1.11, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.11, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.989e-05/1.11, allocations: 23.3 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/1.11, allocations: 169.1 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/1.111, allocations: 57.72 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/1.111, allocations: 20.69 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/1.111, allocations: 4 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/1.111, allocations: 37.44 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.684e-06/1.111, allocations: 3.938 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.005297/1.116, allocations: 0.5092 MB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/1.116, allocations: 54.72 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/1.116, allocations: 92.98 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/1.116, allocations: 25.7 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/1.116, allocations: 80.27 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/1.116, allocations: 27.03 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/1.116, allocations: 3.375 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.117, allocations: 318.8 kB / 1.025 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/1.117, allocations: 26.25 kB / 1.025 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.117, allocations: 30.61 kB / 1.025 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/1.117, allocations: 35 kB / 1.025 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/1.117, allocations: 0 / 1.025 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003843/1.117, allocations: 114 kB / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.117, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/1.117, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/1.117, allocations: 4 kB / 1.025 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/1.118, allocations: 23.95 kB / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.118, allocations: 0 / 1.025 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/1.118, allocations: 6.938 kB / 1.025 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/1.118, allocations: 7.984 kB / 1.025 GB, free: 13.3 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 (7): * Single equations (assignments): 7 * 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 0.000112/1.118, allocations: 104.9 kB / 1.025 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/1.118, allocations: 11.62 kB / 1.025 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/1.118, allocations: 6.594 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.118, allocations: 4 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.118, allocations: 0 / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/1.118, allocations: 3.984 kB / 1.026 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.119, allocations: 199.8 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.119, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003902/1.119, allocations: 23.91 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.119, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/1.119, allocations: 7.984 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.119, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.119, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/1.12, allocations: 171.3 kB / 1.026 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-05/1.12, allocations: 85.08 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/1.12, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/1.12, allocations: 15.27 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/1.12, allocations: 4 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/1.12, allocations: 3.984 kB / 1.026 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.657e-05/1.12, allocations: 79.28 kB / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.12, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003549/1.121, allocations: 39.72 kB / 1.026 GB, free: 12.52 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 (6): * Single equations (assignments): 6 * 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.001053/1.122, allocations: 0.742 MB / 1.027 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002947/1.122, allocations: 75.28 kB / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.122, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/1.122, allocations: 39.78 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/1.122, allocations: 11.25 kB / 1.027 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009568/1.123, allocations: 153.5 kB / 1.027 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/1.124, allocations: 0.6809 MB / 1.028 GB, free: 10.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004088/1.124, allocations: 30.83 kB / 1.028 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/1.124, allocations: 23.23 kB / 1.028 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/1.124, allocations: 7.875 kB / 1.028 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/1.15, allocations: 2.266 MB / 1.03 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003269/1.15, allocations: 208.8 kB / 1.03 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/3.607, allocations: 0 / 1.03 GB, free: 8.453 MB / 0.6511 GB