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.001138/0.001138, allocations: 109.4 kB / 15.69 MB, free: 128 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.001259/0.001259, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.331/1.331, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.698/1.698, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001377/0.001377, allocations: 71.56 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2349, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002575/0.2375, allocations: 1.283 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2387, allocations: 0.6442 MB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.899e-05/0.2387, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.2387, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.537e-05/0.2388, allocations: 15.91 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.2392, allocations: 115.5 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.207e-05/0.2393, allocations: 23.91 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.2394, allocations: 4 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.703e-05/0.2394, allocations: 8 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.894e-05/0.2395, allocations: 11.92 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.2395, allocations: 0 / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.2398, allocations: 147.8 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2398, allocations: 4 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.2398, allocations: 7.938 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.24, allocations: 104 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.24, allocations: 0 / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2401, allocations: 4 kB / 0.786 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.2401, allocations: 0 / 0.786 GB, free: 10.89 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.0005144/0.2406, allocations: 355.4 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2406, allocations: 12.02 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.2407, allocations: 38.75 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.2411, allocations: 24.91 kB / 0.7864 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.2412, allocations: 164.4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.185e-06/0.2412, allocations: 384 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2413, allocations: 8.359 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.2414, allocations: 58.16 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2415, allocations: 3.938 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.2415, allocations: 4 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2415, allocations: 0 / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.2416, allocations: 31.97 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.2418, allocations: 153.7 kB / 0.7868 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.2421, allocations: 66.58 kB / 0.7868 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.691e-05/0.2422, allocations: 28.94 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.2422, allocations: 4 kB / 0.7869 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.2423, allocations: 38.48 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 2.314e-06/0.2423, allocations: 3.984 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.00323/0.2455, allocations: 0.5797 MB / 0.7875 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.2456, allocations: 55.41 kB / 0.7875 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.2456, allocations: 89.86 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.2457, allocations: 29.7 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2457, allocations: 84.14 kB / 0.7877 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.2457, allocations: 16.77 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.468e-05/0.2458, allocations: 29.83 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2459, allocations: 322.8 kB / 0.7881 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.2461, allocations: 35.97 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2462, allocations: 31.97 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.2465, allocations: 88.75 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.2465, allocations: 0 / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003427/0.2468, allocations: 125.5 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2469, allocations: 4 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2469, allocations: 4 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2469, allocations: 4 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2471, allocations: 19.97 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.2471, allocations: 0 / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.2473, allocations: 12.05 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.2473, allocations: 8 kB / 0.7884 GB, free: 8.117 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.719e-05/0.2474, allocations: 113.8 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.2474, allocations: 7.938 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.514e-05/0.2475, allocations: 11.95 kB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.2475, allocations: 4 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2475, allocations: 0 / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2475, allocations: 0 / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.2477, allocations: 195.5 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2477, allocations: 0 / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.2479, allocations: 23.91 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2479, allocations: 0 / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.248, allocations: 11.92 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.248, allocations: 0 / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.248, allocations: 0 / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.2485, allocations: 189 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.2486, allocations: 88.98 kB / 0.789 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.2486, allocations: 4 kB / 0.789 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.2488, allocations: 16.05 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.2488, allocations: 0 / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2488, allocations: 7.984 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.2489, allocations: 75.28 kB / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.353e-06/0.2489, allocations: 0 / 0.7891 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002594/0.2491, allocations: 43.86 kB / 0.7891 GB, free: 7.234 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.0008847/0.25, allocations: 0.7414 MB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.2504, allocations: 91.92 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2504, allocations: 0 / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.2506, allocations: 47.95 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.2508, allocations: 15.42 kB / 0.79 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.253, allocations: 1.372 MB / 0.7914 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.2533, allocations: 0.6768 MB / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.2534, allocations: 28.03 kB / 0.792 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.2535, allocations: 19.41 kB / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2535, allocations: 0 / 0.7921 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.2739, allocations: 2.48 MB / 0.7945 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/7.966, allocations: 10.94 kB / 0.7945 GB, free: 1.812 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)