Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_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.001124/0.001124, allocations: 108 kB / 15.61 MB, free: 148 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.00136/0.00136, allocations: 195 kB / 16.53 MB, free: 6.691 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.617/1.617, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.671/1.671, 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.001446/0.001446, allocations: 71.61 kB / 0.6716 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2369, allocations: 114.5 MB / 0.7835 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00223/0.2392, allocations: 1.294 MB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009486/0.2401, allocations: 0.6364 MB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.107e-05/0.2402, allocations: 4 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.2402, allocations: 0 / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.2403, allocations: 11.92 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.2407, allocations: 111.5 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.05e-05/0.2408, allocations: 27.91 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.2408, allocations: 0 / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.2409, allocations: 11.98 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.241, allocations: 11.94 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.241, allocations: 4 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002787/0.2413, allocations: 143.8 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.2413, allocations: 3.984 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.2413, allocations: 7.938 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.2415, allocations: 108 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.2416, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2416, allocations: 0 / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.2416, allocations: 0 / 0.7858 GB, free: 10.95 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005268/0.2421, allocations: 359.4 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2422, allocations: 12.03 kB / 0.7862 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.742e-05/0.2422, allocations: 34.75 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004302/0.2426, allocations: 28.89 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2428, allocations: 160.4 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2428, allocations: 384 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.2428, allocations: 4.375 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.243, allocations: 62.22 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.243, allocations: 7.875 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.243, allocations: 3.984 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.2431, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.2432, allocations: 31.91 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.2434, allocations: 161.7 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.2437, allocations: 66.53 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.71e-05/0.2438, allocations: 24.94 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.2439, allocations: 4 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.2439, allocations: 38.5 kB / 0.7868 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2439, allocations: 4 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003332/0.2472, allocations: 0.5652 MB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.2473, allocations: 55.41 kB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.36e-05/0.2474, allocations: 97.84 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.2474, allocations: 29.7 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.2475, allocations: 92.06 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.2475, allocations: 15.72 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.2476, allocations: 29.69 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2477, allocations: 310.8 kB / 0.7879 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.2479, allocations: 40.09 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.248, allocations: 35.97 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.2483, allocations: 84.75 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2483, allocations: 0 / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003669/0.2487, allocations: 133.6 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2487, allocations: 4.938 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2487, allocations: 0 / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2488, allocations: 4 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002272/0.249, allocations: 23.95 kB / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.249, allocations: 0 / 0.7882 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.2492, allocations: 12.06 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.2492, allocations: 7.984 kB / 0.7882 GB, free: 8.16 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 (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 8.548e-05/0.2493, allocations: 114.4 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.2493, allocations: 7.938 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.269e-05/0.2494, allocations: 15.91 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2494, allocations: 4 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2494, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2494, allocations: 0 / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.2496, allocations: 183.7 kB / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2496, allocations: 0 / 0.7886 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.2498, allocations: 27.91 kB / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2498, allocations: 0 / 0.7886 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.2498, allocations: 11.98 kB / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2499, allocations: 0 / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2499, allocations: 0 / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.2505, allocations: 189 kB / 0.7888 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.328e-05/0.2505, allocations: 88.98 kB / 0.7889 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.2506, allocations: 4.266 kB / 0.7889 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.2509, allocations: 11.98 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.2509, allocations: 0 / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.2509, allocations: 11.92 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.04e-05/0.251, allocations: 79.28 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.251, allocations: 4.156 kB / 0.789 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002593/0.2513, allocations: 31.94 kB / 0.789 GB, free: 7.285 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 (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.0008742/0.2522, allocations: 0.7491 MB / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.2525, allocations: 87.86 kB / 0.7898 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2525, allocations: 4.062 kB / 0.7898 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.2527, allocations: 43.95 kB / 0.7899 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.2529, allocations: 19.28 kB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.255, allocations: 1.356 MB / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2552, allocations: 0.6846 MB / 0.7919 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.2554, allocations: 23.98 kB / 0.7919 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.2555, allocations: 19.42 kB / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2555, allocations: 0 / 0.7919 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.28, allocations: 2.459 MB / 0.7943 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.144/7.424, allocations: 0.875 kB / 0.7943 GB, free: 1.879 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)