Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 108 kB / 15.61 MB, free: 152 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.001304/0.001304, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 68.52 kB / 0.9083 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2837, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00215/0.2859, allocations: 1.256 MB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004415/0.2863, allocations: 231.3 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.816e-05/0.2864, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.387e-05/0.2864, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.427e-05/0.2864, allocations: 0 / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2867, allocations: 47.77 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.386e-05/0.2868, allocations: 19.92 kB / 1.065 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.2868, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.2868, allocations: 11.97 kB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.2869, allocations: 8 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.2869, allocations: 0 / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.287, allocations: 47.89 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.287, allocations: 3.938 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.2871, allocations: 11.98 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.2872, allocations: 44.17 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2872, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2872, allocations: 0 / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2872, allocations: 0 / 1.065 GB, free: 12.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003476/0.2876, allocations: 331.5 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.2876, allocations: 12.03 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.2876, allocations: 30.75 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.2878, allocations: 8.922 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.01e-05/0.2879, allocations: 176.3 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.2879, allocations: 384 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.2879, allocations: 4.359 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.288, allocations: 42.25 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.288, allocations: 7.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.288, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.288, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.2881, allocations: 12 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.2882, allocations: 157.7 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.276e-05/0.2883, allocations: 50.56 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.564e-05/0.2884, allocations: 20.98 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.2884, allocations: 7.984 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.2884, allocations: 34.56 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 2.254e-06/0.2884, allocations: 3.984 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.002003/0.2904, allocations: 0.4979 MB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/0.2905, allocations: 51.41 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.126e-05/0.2905, allocations: 89.86 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2905, allocations: 25.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.179e-05/0.2906, allocations: 84.14 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.2906, allocations: 27.64 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.2906, allocations: 25.66 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.659e-05/0.2907, allocations: 322.8 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.2908, allocations: 20 kB / 1.067 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-05/0.2908, allocations: 23.98 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.2909, allocations: 56.98 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2909, allocations: 0 / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001399/0.2911, allocations: 105.5 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2911, allocations: 7.984 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2911, allocations: 0 / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2911, allocations: 4 kB / 1.067 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.2913, allocations: 12 kB / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2913, allocations: 0 / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.2913, allocations: 0 / 1.067 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2914, allocations: 0 / 1.067 GB, free: 10.34 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 (9): * Single equations (assignments): 9 * 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 6.445e-05/0.2914, allocations: 117.8 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.2915, allocations: 11.92 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.2915, allocations: 15.97 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2915, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2915, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2915, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2916, allocations: 175.5 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2916, allocations: 0 / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.2918, allocations: 15.94 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.2918, allocations: 4 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2918, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2918, allocations: 0 / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2918, allocations: 4 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.292, allocations: 149.5 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.2921, allocations: 88.98 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.2921, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.2922, allocations: 8 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.2922, allocations: 4.078 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2923, allocations: 7.938 kB / 1.068 GB, free: 9.656 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.305e-05/0.2923, allocations: 81.02 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.283e-06/0.2923, allocations: 0 / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001891/0.2925, allocations: 19.94 kB / 1.068 GB, free: 9.559 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 (8): * Single equations (assignments): 8 * 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.0004242/0.2929, allocations: 0.6847 MB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.2931, allocations: 67.91 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2931, allocations: 4.062 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.258e-05/0.2931, allocations: 31.98 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.2933, allocations: 5.75 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2945, allocations: 1.26 MB / 1.07 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.2948, allocations: 0.6844 MB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.2949, allocations: 12 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.2949, allocations: 19.42 kB / 1.071 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.2949, allocations: 3.938 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.3109, allocations: 1.618 MB / 1.072 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.527, allocations: 15.11 kB / 1.072 GB, free: 5.199 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_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_WaterVaporPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)