Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.334/1.334, allocations: 251.5 MB / 267.4 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 169.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205 MB / 0.5766 GB, free: 20.92 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008283/0.0008282, allocations: 90.3 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003471, allocations: 13.88 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2077, allocations: 105.4 MB / 0.8968 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001295/0.209, allocations: 1.018 MB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.21, allocations: 0.6654 MB / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.532e-05/0.21, allocations: 0 / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.21, allocations: 0 / 0.8984 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.2101, allocations: 7.922 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.2104, allocations: 87.7 kB / 0.8985 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.663e-05/0.2105, allocations: 31.84 kB / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.2105, allocations: 0 / 0.8985 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.428e-05/0.2105, allocations: 15.94 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.2106, allocations: 7.984 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.2106, allocations: 0 / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.2109, allocations: 151.8 kB / 0.8987 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.2109, allocations: 11.86 kB / 0.8987 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.2109, allocations: 12 kB / 0.8987 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.211, allocations: 67.86 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.211, allocations: 0 / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2111, allocations: 3.938 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.2111, allocations: 0 / 0.8988 GB, free: 66.08 MB / 0.6042 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.0003363/0.2114, allocations: 347.5 kB / 0.8991 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.2114, allocations: 8.031 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.2118, allocations: 36.84 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.927e-05/0.2119, allocations: 164.4 kB / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2119, allocations: 384 / 0.8993 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.2119, allocations: 4.375 kB / 0.8993 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.2121, allocations: 50.22 kB / 0.8994 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.2121, allocations: 4.188 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2121, allocations: 7.938 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2121, allocations: 7.984 kB / 0.8994 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.2122, allocations: 31.91 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.2124, allocations: 169.4 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.2126, allocations: 70.58 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.86e-05/0.2127, allocations: 24.94 kB / 0.8997 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2127, allocations: 7.969 kB / 0.8997 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.272e-05/0.2127, allocations: 34.56 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2127, allocations: 0 / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.003389/0.2161, allocations: 0.572 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.2162, allocations: 55.41 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.237e-05/0.2162, allocations: 89.86 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.2162, allocations: 25.7 kB / 0.9004 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.544e-05/0.2163, allocations: 96.25 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2163, allocations: 15.66 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.2163, allocations: 17.72 kB / 0.9005 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.2164, allocations: 314.8 kB / 0.9008 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2165, allocations: 39.97 kB / 0.9009 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.2166, allocations: 31.97 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.2169, allocations: 92.73 kB / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2169, allocations: 0 / 0.901 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002994/0.2172, allocations: 125.6 kB / 0.9011 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2172, allocations: 7.938 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2172, allocations: 0 / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2172, allocations: 3.938 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.2174, allocations: 23.97 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.2174, allocations: 0 / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.2176, allocations: 4 kB / 0.9012 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.2176, allocations: 7.984 kB / 0.9012 GB, free: 63.35 MB / 0.6042 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 5.446e-05/0.2177, allocations: 113.8 kB / 0.9013 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.2177, allocations: 7.938 kB / 0.9013 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.2178, allocations: 7.969 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2178, allocations: 3.984 kB / 0.9013 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2178, allocations: 8 kB / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2178, allocations: 0 / 0.9013 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.2179, allocations: 183.5 kB / 0.9015 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2179, allocations: 4 kB / 0.9015 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.2181, allocations: 23.91 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2181, allocations: 3.938 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.2182, allocations: 4 kB / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2182, allocations: 0 / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2182, allocations: 0 / 0.9015 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.2186, allocations: 193.2 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.2187, allocations: 81.05 kB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.2187, allocations: 4.031 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2189, allocations: 20.17 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.2189, allocations: 0 / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.2189, allocations: 12.31 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.104e-05/0.2189, allocations: 75.28 kB / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.219, allocations: 0 / 0.9019 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002382/0.2192, allocations: 32 kB / 0.9019 GB, free: 62.49 MB / 0.6042 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.000175/0.2194, allocations: 143.2 kB / 0.9021 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.2197, allocations: 87.92 kB / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2197, allocations: 0 / 0.9021 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2198, allocations: 51.89 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.22, allocations: 11.98 kB / 0.9022 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.2206, allocations: 189.7 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.2207, allocations: 0.6873 MB / 0.903 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.2208, allocations: 19.41 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2208, allocations: 0 / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of Templates: time 0.002442/0.2233, allocations: 1.562 MB / 0.9046 GB, free: 59.68 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)