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.348/1.348, allocations: 252 MB / 268 MB, free: 10.84 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.001041/0.001041, allocations: 178.7 kB / 327.6 MB, free: 2.074 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.918/1.918, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0007142/0.0007141, allocations: 88.27 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 8.844 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2164, allocations: 106.3 MB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001304/0.2178, allocations: 1.013 MB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.2187, allocations: 0.6534 MB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.508e-05/0.2188, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.589e-05/0.2188, allocations: 0 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.2188, allocations: 3.938 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.2192, allocations: 103.6 kB / 0.9032 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.622e-05/0.2193, allocations: 23.88 kB / 0.9032 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.2193, allocations: 4 kB / 0.9032 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.494e-05/0.2194, allocations: 15.97 kB / 0.9032 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.2194, allocations: 11.92 kB / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2194, allocations: 0 / 0.9033 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.2197, allocations: 147.7 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.2197, allocations: 3.984 kB / 0.9034 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.33e-05/0.2198, allocations: 37.7 kB / 0.9034 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.2199, allocations: 68.14 kB / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.2199, allocations: 0 / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2199, allocations: 0 / 0.9035 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2199, allocations: 0 / 0.9035 GB, free: 61.36 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.0003837/0.2203, allocations: 351.5 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2204, allocations: 8.031 kB / 0.9038 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.2208, allocations: 36.89 kB / 0.9039 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.725e-05/0.2209, allocations: 164.3 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.2209, allocations: 4.375 kB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.2209, allocations: 384 / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.2211, allocations: 58.16 kB / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2211, allocations: 192 / 0.9041 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2212, allocations: 7.938 kB / 0.9041 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2212, allocations: 4 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.2213, allocations: 27.97 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.2215, allocations: 165.5 kB / 0.9043 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.2218, allocations: 78.47 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.2218, allocations: 24.94 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.2219, allocations: 0 / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.2219, allocations: 34.56 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2219, allocations: 0 / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.003224/0.2251, allocations: 0.5837 MB / 0.905 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.2252, allocations: 51.41 kB / 0.905 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.478e-05/0.2252, allocations: 93.86 kB / 0.9051 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2253, allocations: 29.64 kB / 0.9052 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.519e-05/0.2253, allocations: 88.27 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.2253, allocations: 23.64 kB / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2254, allocations: 0 / 0.9053 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.2254, allocations: 314.8 kB / 0.9056 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.2255, allocations: 35.97 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.2257, allocations: 39.91 kB / 0.9056 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.2259, allocations: 84.81 kB / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2259, allocations: 0 / 0.9057 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003103/0.2262, allocations: 129.8 kB / 0.9058 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2263, allocations: 7.938 kB / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2263, allocations: 0 / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2263, allocations: 336 / 0.9058 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2265, allocations: 23.97 kB / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2265, allocations: 0 / 0.9059 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.2267, allocations: 7.984 kB / 0.9059 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2267, allocations: 7.938 kB / 0.9059 GB, free: 58.64 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 7.529e-05/0.2268, allocations: 117.8 kB / 0.906 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.2268, allocations: 7.938 kB / 0.906 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.991e-05/0.2269, allocations: 11.95 kB / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2269, allocations: 0 / 0.906 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.2269, allocations: 4 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2269, allocations: 4 kB / 0.906 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2271, allocations: 179.5 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2271, allocations: 4 kB / 0.9062 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.2273, allocations: 19.97 kB / 0.9062 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2273, allocations: 7.875 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.2273, allocations: 11.98 kB / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2273, allocations: 0 / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2273, allocations: 0 / 0.9062 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.2279, allocations: 192.9 kB / 0.9064 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.2279, allocations: 85.08 kB / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.2279, allocations: 0 / 0.9065 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.2281, allocations: 16.05 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.2281, allocations: 7.922 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.2282, allocations: 4.125 kB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.061e-05/0.2282, allocations: 79.28 kB / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2282, allocations: 0 / 0.9066 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002244/0.2284, allocations: 31.98 kB / 0.9066 GB, free: 57.77 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.0001951/0.2286, allocations: 131.3 kB / 0.9068 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.2289, allocations: 95.84 kB / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2289, allocations: 0 / 0.9069 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.2291, allocations: 47.97 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.2293, allocations: 10.02 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.23, allocations: 200.5 kB / 0.9071 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.2301, allocations: 0.6809 MB / 0.9078 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.2302, allocations: 23.41 kB / 0.9078 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.2302, allocations: 0 / 0.9078 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of Templates: time 0.002737/0.2329, allocations: 1.562 MB / 0.9093 GB, free: 54.97 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)