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.001564/0.001563, allocations: 101.4 kB / 15.7 MB, free: 28 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.001963/0.001963, allocations: 200 kB / 16.64 MB, free: 6.43 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.709/1.709, 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.001389/0.001389, allocations: 68.27 kB / 0.6723 GB, free: 25.9 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2082, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002209/0.2105, allocations: 1.282 MB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009611/0.2115, allocations: 0.6403 MB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.2115, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.2115, allocations: 0 / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.2116, allocations: 7.922 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.212, allocations: 115.4 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.948e-05/0.2121, allocations: 31.84 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.771e-05/0.2121, allocations: 8 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.339e-05/0.2121, allocations: 15.92 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.2122, allocations: 7.984 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2122, allocations: 4 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.2125, allocations: 139.8 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.2125, allocations: 7.984 kB / 0.7863 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.2125, allocations: 15.88 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2127, allocations: 99.75 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2127, allocations: 4 kB / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.2127, allocations: 0 / 0.7865 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.2127, allocations: 0 / 0.7865 GB, free: 10.35 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.0004304/0.2132, allocations: 347.5 kB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.2132, allocations: 12.03 kB / 0.7868 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003945/0.2136, allocations: 32.8 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.895e-05/0.2137, allocations: 164.4 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.2137, allocations: 384 / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.2138, allocations: 8.375 kB / 0.787 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.2139, allocations: 54.22 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.214, allocations: 4.125 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.214, allocations: 3.938 kB / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.214, allocations: 0 / 0.7871 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.2141, allocations: 31.97 kB / 0.7871 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.2143, allocations: 161.7 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.2146, allocations: 66.53 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.2147, allocations: 28.94 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.2147, allocations: 7.938 kB / 0.7873 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2148, allocations: 34.5 kB / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2148, allocations: 0 / 0.7874 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003124/0.2179, allocations: 0.5799 MB / 0.7879 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.2179, allocations: 59.33 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.017e-05/0.218, allocations: 97.86 kB / 0.7881 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.218, allocations: 25.7 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.514e-05/0.2181, allocations: 80.14 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.2181, allocations: 16.78 kB / 0.7882 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.2182, allocations: 33.81 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.2183, allocations: 310.8 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.2184, allocations: 35.97 kB / 0.7886 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2185, allocations: 39.97 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.2188, allocations: 88.89 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.2188, allocations: 0 / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003394/0.2192, allocations: 117.6 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.2192, allocations: 11.94 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2192, allocations: 7.984 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2192, allocations: 0 / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.2194, allocations: 19.97 kB / 0.7888 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2194, allocations: 4 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2196, allocations: 4 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2196, allocations: 3.984 kB / 0.7889 GB, free: 7.625 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 7.848e-05/0.2197, allocations: 114.5 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.2197, allocations: 15.78 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.2198, allocations: 11.97 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2198, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2198, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2198, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.22, allocations: 187.5 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.22, allocations: 8.062 kB / 0.7892 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.2202, allocations: 23.97 kB / 0.7892 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2202, allocations: 7.938 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.2202, allocations: 3.984 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2202, allocations: 3.938 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2202, allocations: 0 / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.2208, allocations: 193 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.2208, allocations: 84.95 kB / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.2209, allocations: 0 / 0.7895 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.221, allocations: 19.98 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.2211, allocations: 0 / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.2211, allocations: 7.984 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.2211, allocations: 83.22 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2211, allocations: 0 / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002329/0.2214, allocations: 31.94 kB / 0.7896 GB, free: 6.738 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.0001872/0.2216, allocations: 125.9 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.2219, allocations: 88.02 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2219, allocations: 0 / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.2221, allocations: 51.89 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.2223, allocations: 12 kB / 0.7899 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.2229, allocations: 162.2 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.2231, allocations: 0.6807 MB / 0.7907 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001594/0.2233, allocations: 24 kB / 0.7907 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.2233, allocations: 15.42 kB / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2233, allocations: 0 / 0.7907 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.00374/0.2271, allocations: 1.512 MB / 0.7922 GB, free: 4.066 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)