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.001128/0.001128, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.808/1.808, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.0005602/0.0005605, allocations: 18.44 kB / 0.6738 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.273, allocations: 116.3 MB / 0.7874 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00218/0.2753, allocations: 1.013 MB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.2767, allocations: 0.6068 MB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.16e-05/0.2767, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.2767, allocations: 0 / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.2768, allocations: 7.922 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/0.2773, allocations: 91.62 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.665e-05/0.2774, allocations: 15.92 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.2775, allocations: 8 kB / 0.7891 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.2775, allocations: 11.88 kB / 0.7891 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.285e-05/0.2776, allocations: 15.97 kB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2776, allocations: 4 kB / 0.7892 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.278, allocations: 143.7 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.278, allocations: 11.97 kB / 0.7893 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.2781, allocations: 29.7 kB / 0.7893 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.2782, allocations: 64.16 kB / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2783, allocations: 0 / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2783, allocations: 0 / 0.7894 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.2783, allocations: 0 / 0.7894 GB, free: 9.762 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.0005171/0.2788, allocations: 351.3 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.724e-05/0.2789, allocations: 8.031 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.018e-05/0.279, allocations: 42.48 kB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004763/0.2794, allocations: 27.88 kB / 0.7898 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.2796, allocations: 167 kB / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.2797, allocations: 4 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.2797, allocations: 4 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.28, allocations: 57.64 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.28, allocations: 4 kB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.724e-05/0.28, allocations: 0 / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.28, allocations: 0 / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.2802, allocations: 27.97 kB / 0.7901 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.2805, allocations: 165.6 kB / 0.7902 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/0.2808, allocations: 70.45 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/0.2809, allocations: 28.92 kB / 0.7903 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.281, allocations: 4 kB / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.281, allocations: 38.56 kB / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.2811, allocations: 0 / 0.7903 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003114/0.2842, allocations: 0.5798 MB / 0.7909 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.2842, allocations: 55.34 kB / 0.791 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.2843, allocations: 93.86 kB / 0.7911 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.2843, allocations: 29.7 kB / 0.7911 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.2844, allocations: 80.14 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.2844, allocations: 23.7 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.2845, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2846, allocations: 314.8 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.2847, allocations: 44.09 kB / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2849, allocations: 35.97 kB / 0.7916 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.285, allocations: 35.97 kB / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.285, allocations: 0 / 0.7916 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003136/0.2853, allocations: 121.6 kB / 0.7917 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.2854, allocations: 8 kB / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.2854, allocations: 0 / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.2854, allocations: 0 / 0.7917 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.2856, allocations: 23.91 kB / 0.7917 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2856, allocations: 4 kB / 0.7917 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2858, allocations: 8 kB / 0.7917 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2858, allocations: 3.984 kB / 0.7918 GB, free: 7.066 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.188e-05/0.2859, allocations: 117.8 kB / 0.7919 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.2859, allocations: 3.906 kB / 0.7919 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.638e-05/0.286, allocations: 19.95 kB / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.286, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.286, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.286, allocations: 0 / 0.7919 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2862, allocations: 195.6 kB / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2862, allocations: 0 / 0.7921 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.2864, allocations: 19.97 kB / 0.7921 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2864, allocations: 7.938 kB / 0.7921 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.2865, allocations: 4 kB / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2865, allocations: 0 / 0.7921 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2865, allocations: 3.984 kB / 0.7921 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004823/0.287, allocations: 197 kB / 0.7923 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.287, allocations: 81.14 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.287, allocations: 0 / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2872, allocations: 11.98 kB / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.717e-05/0.2872, allocations: 0 / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.2873, allocations: 11.98 kB / 0.7924 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.2873, allocations: 75.28 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2873, allocations: 4.156 kB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002552/0.2876, allocations: 31.94 kB / 0.7925 GB, free: 6.191 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008216/0.2884, allocations: 0.7567 MB / 0.7932 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003004/0.2887, allocations: 83.92 kB / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2887, allocations: 64 / 0.7933 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.2889, allocations: 51.89 kB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.2891, allocations: 8 kB / 0.7934 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.2903, allocations: 0.5124 MB / 0.7939 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2905, allocations: 0.6887 MB / 0.7946 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.2908, allocations: 31.88 kB / 0.7946 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.2909, allocations: 23.41 kB / 0.7946 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2909, allocations: 0 / 0.7946 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01378/0.3047, allocations: 2.226 MB / 0.7968 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/0.305, allocations: 249.7 kB / 0.797 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.116, allocations: 0 / 0.797 GB, free: 1.695 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --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) Environment - environmentSimulation: