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: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001036/0.001036, allocations: 190.4 kB / 16.13 MB, free: 6.656 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.282/1.282, allocations: 205.1 MB / 222 MB, free: 4.75 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.629/1.629, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001369/0.001369, allocations: 67.83 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2054, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002364/0.2078, allocations: 1.351 MB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.2089, allocations: 0.6648 MB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.2089, allocations: 0 / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.049e-05/0.209, allocations: 0 / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.209, allocations: 7.922 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.2094, allocations: 83.7 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.108e-05/0.2094, allocations: 31.84 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.2095, allocations: 0 / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.371e-05/0.2095, allocations: 19.98 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.2096, allocations: 7.938 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.2096, allocations: 0 / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002656/0.2099, allocations: 155.7 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.2099, allocations: 3.984 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.2099, allocations: 11.94 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.2101, allocations: 100 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2101, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2101, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.2101, allocations: 0 / 0.7851 GB, free: 11.54 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.0004248/0.2106, allocations: 355.5 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2106, allocations: 8.031 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.2111, allocations: 32.8 kB / 0.7854 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2112, allocations: 164.4 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2112, allocations: 384 / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.2112, allocations: 4.375 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.2114, allocations: 62.16 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2114, allocations: 192 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2115, allocations: 7.938 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2115, allocations: 0 / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.2116, allocations: 23.97 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.2118, allocations: 177.7 kB / 0.7859 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.2121, allocations: 66.47 kB / 0.7859 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.2122, allocations: 24.94 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2122, allocations: 0 / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.2123, allocations: 38.56 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2123, allocations: 4 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003693/0.216, allocations: 0.5758 MB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.216, allocations: 55.41 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.678e-05/0.2161, allocations: 93.86 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.2161, allocations: 29.7 kB / 0.7867 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.2161, allocations: 80.14 kB / 0.7868 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.2162, allocations: 23.7 kB / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.2162, allocations: 25.7 kB / 0.7868 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2164, allocations: 314.8 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.2165, allocations: 40.08 kB / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2166, allocations: 43.91 kB / 0.7872 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.2169, allocations: 80.98 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2169, allocations: 0 / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003589/0.2173, allocations: 125.6 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2173, allocations: 7.938 kB / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2173, allocations: 0 / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.2174, allocations: 0 / 0.7874 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.2176, allocations: 27.97 kB / 0.7874 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2176, allocations: 0 / 0.7874 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.2178, allocations: 7.938 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2178, allocations: 7.984 kB / 0.7875 GB, free: 8.797 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 9.9e-05/0.2179, allocations: 110.5 kB / 0.7876 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.2179, allocations: 11.84 kB / 0.7876 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.218, allocations: 11.97 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.218, allocations: 0 / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.218, allocations: 0 / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2181, allocations: 4.047 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.2182, allocations: 183.7 kB / 0.7878 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2183, allocations: 3.938 kB / 0.7878 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2185, allocations: 27.97 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.2185, allocations: 3.938 kB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.2185, allocations: 7.984 kB / 0.7878 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2185, allocations: 4 kB / 0.7878 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2186, allocations: 0 / 0.7878 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.2191, allocations: 193 kB / 0.788 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.2191, allocations: 84.95 kB / 0.7881 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.2192, allocations: 4.031 kB / 0.7881 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2194, allocations: 7.984 kB / 0.7881 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.2194, allocations: 4 kB / 0.7881 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2194, allocations: 3.984 kB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.2195, allocations: 87.34 kB / 0.7882 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.383e-06/0.2195, allocations: 0 / 0.7882 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002404/0.2197, allocations: 35.88 kB / 0.7882 GB, free: 7.918 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.0002093/0.2199, allocations: 119.2 kB / 0.7883 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.2203, allocations: 95.95 kB / 0.7884 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2203, allocations: 0 / 0.7884 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.2205, allocations: 47.95 kB / 0.7885 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.2207, allocations: 4 kB / 0.7885 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006213/0.2213, allocations: 171.8 kB / 0.7886 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.2217, allocations: 0.6809 MB / 0.7893 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002277/0.2219, allocations: 32.2 kB / 0.7893 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.372e-05/0.222, allocations: 15.42 kB / 0.7893 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.222, allocations: 0 / 0.7893 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of Templates: time 0.003791/0.2258, allocations: 1.468 MB / 0.7908 GB, free: 5.277 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (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 & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)