Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_8_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.001184/0.001184, 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.001295/0.001295, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 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.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 73.41 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2361, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002143/0.2383, allocations: 1.252 MB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.2388, allocations: 227.3 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.2388, allocations: 7.938 kB / 0.7849 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.2389, allocations: 3.938 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.2389, allocations: 3.984 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.2391, allocations: 39.83 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.2392, allocations: 19.92 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.2393, allocations: 4 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.2393, allocations: 7.984 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.2393, allocations: 15.92 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.2394, allocations: 4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.2395, allocations: 43.95 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.106e-05/0.2395, allocations: 3.938 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.2395, allocations: 11.98 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.2396, allocations: 48.11 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2396, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2396, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2396, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 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.0003376/0.24, allocations: 327.6 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.24, allocations: 12.03 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.2401, allocations: 38.75 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.2402, allocations: 8.922 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.781e-05/0.2403, allocations: 164.3 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2403, allocations: 8.359 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.2403, allocations: 4.281 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.2404, allocations: 46.25 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2404, allocations: 3.938 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2405, allocations: 8 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2405, allocations: 4 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.064e-05/0.2405, allocations: 12 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.2407, allocations: 153.7 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.2407, allocations: 46.56 kB / 0.7859 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.2408, allocations: 24.97 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-06/0.2408, allocations: 0 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2408, allocations: 42.55 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 7.62e-07/0.2408, allocations: 3.938 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.002006/0.2428, allocations: 498 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2429, allocations: 55.41 kB / 0.7865 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.358e-05/0.2429, allocations: 89.86 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.243, allocations: 25.7 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.243, allocations: 84.12 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.243, allocations: 31.55 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.2431, allocations: 17.72 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2432, allocations: 322.8 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.2433, allocations: 27.94 kB / 0.7871 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.2433, allocations: 23.98 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2434, allocations: 56.98 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2434, allocations: 0 / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001431/0.2436, allocations: 101.5 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2436, allocations: 4 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2436, allocations: 0 / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2436, allocations: 0 / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.2438, allocations: 12 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2438, allocations: 4 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.2439, allocations: 4 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.2439, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 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 8.219e-05/0.244, allocations: 117.8 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.244, allocations: 7.922 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.214e-05/0.244, allocations: 15.97 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.2441, allocations: 4 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2441, allocations: 0 / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2441, allocations: 0 / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.2442, allocations: 171.5 kB / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2442, allocations: 0 / 0.7876 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2444, allocations: 20.38 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2444, allocations: 0 / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2444, allocations: 8 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2444, allocations: 4 kB / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2444, allocations: 0 / 0.7876 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.2447, allocations: 156.9 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.2448, allocations: 81.05 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.2448, allocations: 4.031 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.2449, allocations: 8.062 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.2449, allocations: 3.984 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.2449, allocations: 8.094 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.245, allocations: 79.22 kB / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.245, allocations: 0 / 0.788 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001876/0.2452, allocations: 8 kB / 0.788 GB, free: 8.363 MB / 0.6075 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.0004832/0.2457, allocations: 0.6913 MB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001559/0.2458, allocations: 63.97 kB / 0.7887 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2458, allocations: 0 / 0.7887 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-05/0.2459, allocations: 31.92 kB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.2462, allocations: 14.98 kB / 0.7888 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.2474, allocations: 1.26 MB / 0.79 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.2476, allocations: 0.681 MB / 0.7906 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.237e-05/0.2477, allocations: 12 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.378e-05/0.2477, allocations: 19.42 kB / 0.7907 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2477, allocations: 0 / 0.7907 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.2656, allocations: 1.612 MB / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.015/7.281, allocations: 0.875 kB / 0.7923 GB, free: 4.023 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)