Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 108 kB / 15.6 MB, free: 132 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.001382/0.001382, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.654/2.654, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.19 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2522, allocations: 159.1 MB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002396/0.2546, allocations: 1.285 MB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.2557, allocations: 0.6443 MB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.2557, allocations: 0 / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.2558, allocations: 4 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.2558, allocations: 3.938 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.2563, allocations: 115.5 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.2563, allocations: 27.86 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.629e-05/0.2564, allocations: 0 / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.2564, allocations: 11.98 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.2565, allocations: 11.94 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2565, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002748/0.2568, allocations: 143.8 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.2568, allocations: 3.984 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.2568, allocations: 11.94 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.257, allocations: 100.1 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.257, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2571, allocations: 0 / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2571, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 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.0004234/0.2575, allocations: 355.4 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2575, allocations: 8.031 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.2576, allocations: 34.75 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.258, allocations: 32.89 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.966e-05/0.2581, allocations: 164.3 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2581, allocations: 384 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.2582, allocations: 8.375 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.2583, allocations: 54.22 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2584, allocations: 3.938 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.2584, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2584, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.2585, allocations: 39.84 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.2587, allocations: 161.7 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.259, allocations: 62.53 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.846e-05/0.2591, allocations: 32.94 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.2592, allocations: 4 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.2592, allocations: 30.56 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2592, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.00349/0.2627, allocations: 0.58 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.2627, allocations: 55.41 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.2628, allocations: 97.84 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2628, allocations: 29.7 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.2628, allocations: 80.14 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.2629, allocations: 19.84 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.263, allocations: 29.69 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.058e-05/0.263, allocations: 310.8 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.2632, allocations: 39.97 kB / 1.068 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2633, allocations: 31.97 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.2636, allocations: 84.81 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2636, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003685/0.264, allocations: 133.6 kB / 1.068 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.264, allocations: 9.562 kB / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.264, allocations: 0 / 1.068 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2641, allocations: 4 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.2643, allocations: 23.91 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2643, allocations: 3.984 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2645, allocations: 4 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.2645, allocations: 7.984 kB / 1.068 GB, free: 9.367 MB / 0.8262 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 (7): * Single equations (assignments): 7 * 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 7.809e-05/0.2646, allocations: 117.8 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.2646, allocations: 3.938 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.2647, allocations: 11.91 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2647, allocations: 4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2647, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2647, allocations: 4 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.2648, allocations: 187.6 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2649, allocations: 4.062 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.2651, allocations: 27.84 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2651, allocations: 0 / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.2651, allocations: 7.984 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2651, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2651, allocations: 0 / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.2657, allocations: 185 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.2657, allocations: 89.06 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.2658, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.266, allocations: 12.06 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.266, allocations: 3.984 kB / 1.069 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.266, allocations: 11.98 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.2661, allocations: 75.28 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2661, allocations: 0 / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002397/0.2663, allocations: 31.94 kB / 1.069 GB, free: 8.504 MB / 0.8262 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 (6): * Single equations (assignments): 6 * 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.0008287/0.2671, allocations: 0.7573 MB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003365/0.2675, allocations: 91.92 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2675, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/0.2677, allocations: 39.97 kB / 1.07 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.2679, allocations: 17.73 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.2698, allocations: 1.353 MB / 1.071 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.27, allocations: 0.6845 MB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002255/0.2702, allocations: 31.92 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.2703, allocations: 15.42 kB / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2703, allocations: 0 / 1.072 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01898/0.2893, allocations: 2.474 MB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.676, allocations: 14.62 kB / 1.075 GB, free: 3.086 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)